diff options
author | Eric Christopher <echristo@apple.com> | 2011-07-07 22:29:07 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-07-07 22:29:07 +0000 |
commit | 31b5f00c4ebd870fc2745f1bed86a7b67f802210 (patch) | |
tree | 4ba92dcc7b3b2ea242ce2f3c553b8355c84739d4 /test | |
parent | 09ad0b6894ae4eab9837970ccd4574681097eb6e (diff) | |
download | external_llvm-31b5f00c4ebd870fc2745f1bed86a7b67f802210.zip external_llvm-31b5f00c4ebd870fc2745f1bed86a7b67f802210.tar.gz external_llvm-31b5f00c4ebd870fc2745f1bed86a7b67f802210.tar.bz2 |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/X86/inline-asm.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/X86/inline-asm.ll b/test/CodeGen/X86/inline-asm.ll index c66d7a8..603be8a 100644 --- a/test/CodeGen/X86/inline-asm.ll +++ b/test/CodeGen/X86/inline-asm.ll @@ -23,3 +23,10 @@ define void @test4() nounwind { tail call void asm sideeffect "bork $0", "J"(i32 37) nounwind ret void } + +; rdar://9738585 +define i32 @test5() nounwind { +entry: + %0 = tail call i32 asm "test", "=l,~{dirflag},~{fpsr},~{flags}"() nounwind + ret i32 0 +} |