llvm.org GIT mirror llvm / 31b5f00
Add support for the X86 'l' constraint. Fixes PR10149 and rdar://9738585 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134648 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Christopher 8 years ago
2 changed file(s) with 8 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
1259112591 case 'y':
1259212592 case 'x':
1259312593 case 'Y':
12594 case 'l':
1259412595 return C_RegisterClass;
1259512596 case 'a':
1259612597 case 'b':
2222 tail call void asm sideeffect "bork $0", "J"(i32 37) nounwind
2323 ret void
2424 }
25
26 ; rdar://9738585
27 define i32 @test5() nounwind {
28 entry:
29 %0 = tail call i32 asm "test", "=l,~{dirflag},~{fpsr},~{flags}"() nounwind
30 ret i32 0
31 }