1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 00:12:50 +01:00
llvm-mirror/test/CodeGen/X86/2007-03-24-InlineAsmMultiRegConstraint.ll

12 lines
362 B
LLVM
Raw Normal View History

; RUN: llc < %s -march=x86
2007-03-25 04:17:58 +02:00
define i32 @test(i16 %tmp40414244) {
%tmp48 = call i32 asm sideeffect "inl ${1:w}, $0", "={ax},N{dx},~{dirflag},~{fpsr},~{flags}"( i16 %tmp40414244 )
ret i32 %tmp48
}
define i32 @test2(i16 %tmp40414244) {
%tmp48 = call i32 asm sideeffect "inl ${1:w}, $0", "={ax},N{dx},~{dirflag},~{fpsr},~{flags}"( i16 14 )
ret i32 %tmp48
}