From 31b5f00c4ebd870fc2745f1bed86a7b67f802210 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 7 Jul 2011 22:29:07 +0000 Subject: 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 --- test/CodeGen/X86/inline-asm.ll | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/CodeGen/X86/inline-asm.ll') diff --git a/test/CodeGen/X86/inline-asm.ll b/test/CodeGen/X86/inline-asm.ll index c66d7a8bd1..603be8aa56 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 +} -- cgit v1.2.3