diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2010-05-07 01:45:38 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2010-05-07 01:45:38 +0000 |
commit | 45f530db393d9b3735f75c59f058ed938120bbee (patch) | |
tree | 3db0ee13fb5c5a1c7ea7e5b6d1ff865fcfc4389f /llvm/test/CodeGen/X86/2010-05-06-LocalInlineAsmClobber.ll | |
parent | 90c600d6d2cc5f06eba8a7f75e4742e86de9982f (diff) | |
download | bcm5719-llvm-45f530db393d9b3735f75c59f058ed938120bbee.tar.gz bcm5719-llvm-45f530db393d9b3735f75c59f058ed938120bbee.zip |
Revert r103133 and add testcase from PR7066.
llvm-svn: 103233
Diffstat (limited to 'llvm/test/CodeGen/X86/2010-05-06-LocalInlineAsmClobber.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/2010-05-06-LocalInlineAsmClobber.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/2010-05-06-LocalInlineAsmClobber.ll b/llvm/test/CodeGen/X86/2010-05-06-LocalInlineAsmClobber.ll new file mode 100644 index 00000000000..167acdfc073 --- /dev/null +++ b/llvm/test/CodeGen/X86/2010-05-06-LocalInlineAsmClobber.ll @@ -0,0 +1,10 @@ +; RUN: llc -regalloc=local %s -o /dev/null +; PR7066 + +target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" +target triple = "x86_64-unknown-linux-gnu" + +define i32 @sys_clone(i32 (i8*)* %fn, i8* %child_stack, i32 %flags, i8* %arg, i32* %parent_tidptr, i8* %newtls, i32* %child_tidptr) nounwind { + call i64 asm sideeffect "", "={ax},0,i,i,r,{si},{di},r,{dx},imr,imr,~{sp},~{memory},~{r8},~{r10},~{r11},~{cx},~{dirflag},~{fpsr},~{flags}"(i64 4294967274, i32 56, i32 60, i32 (i8*)* undef, i8* undef, i32 undef, i8* undef, i32* undef, i8* undef, i32* undef) nounwind ; <i64> [#uses=0] + ret i32 undef +} |