diff options
| author | Nick Lewycky <nicholas@mxc.ca> | 2013-05-23 07:46:13 +0000 |
|---|---|---|
| committer | Nick Lewycky <nicholas@mxc.ca> | 2013-05-23 07:46:13 +0000 |
| commit | 7b431030ac7183f9f689b5781488f6ba05a1b369 (patch) | |
| tree | 42234114139445cd72f5d96f722ddb543f287a73 | |
| parent | 353fbd35165360a47b310e2bbc4c15acc8d0c7e6 (diff) | |
| download | bcm5719-llvm-7b431030ac7183f9f689b5781488f6ba05a1b369.tar.gz bcm5719-llvm-7b431030ac7183f9f689b5781488f6ba05a1b369.zip | |
Add missing test from r175092.
llvm-svn: 182564
| -rw-r--r-- | llvm/test/CodeGen/X86/sibcall-6.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/sibcall-6.ll b/llvm/test/CodeGen/X86/sibcall-6.ll new file mode 100644 index 00000000000..2cdc3c4ec77 --- /dev/null +++ b/llvm/test/CodeGen/X86/sibcall-6.ll @@ -0,0 +1,13 @@ +; RUN: llc < %s -relocation-model=pic | FileCheck %s +; PR15250 + +target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32-S128" +target triple = "i386-unknown-linux-gnu" + +declare void @callee1(i32 inreg, i32 inreg, i32 inreg) +define void @test1(i32 %a, i32 %b) nounwind { +; CHECK: test1: +; CHECK: calll callee1@PLT + tail call void @callee1(i32 inreg 0, i32 inreg 0, i32 inreg 0) nounwind + ret void +} |

