llvm.org GIT mirror llvm / release_36 test / CodeGen / X86 / 2007-03-24-InlineAsmMultiRegConstraint.ll
release_36

Tree @release_36 (Download .tar.gz)

2007-03-24-InlineAsmMultiRegConstraint.ll @release_36

36a0947
e4e2e18
 
 
 
 
 
 
 
 
 
; RUN: llc < %s -march=x86

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
}