You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
18
external/llvm/test/CodeGen/X86/extend.ll
vendored
Normal file
18
external/llvm/test/CodeGen/X86/extend.ll
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
; RUN: llc < %s -mtriple=i686-- -x86-asm-syntax=intel | grep movzx | count 1
|
||||
; RUN: llc < %s -mtriple=i686-- -x86-asm-syntax=intel | grep movsx | count 1
|
||||
|
||||
@G1 = internal global i8 0 ; <i8*> [#uses=1]
|
||||
@G2 = internal global i8 0 ; <i8*> [#uses=1]
|
||||
|
||||
define i16 @test1() {
|
||||
%tmp.0 = load i8, i8* @G1 ; <i8> [#uses=1]
|
||||
%tmp.3 = zext i8 %tmp.0 to i16 ; <i16> [#uses=1]
|
||||
ret i16 %tmp.3
|
||||
}
|
||||
|
||||
define i16 @test2() {
|
||||
%tmp.0 = load i8, i8* @G2 ; <i8> [#uses=1]
|
||||
%tmp.3 = sext i8 %tmp.0 to i16 ; <i16> [#uses=1]
|
||||
ret i16 %tmp.3
|
||||
}
|
||||
|
Reference in New Issue
Block a user