diff options
Diffstat (limited to 'test/CodeGen/X86')
-rw-r--r-- | test/CodeGen/X86/x86-64-ret0.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/X86/x86-64-ret0.ll b/test/CodeGen/X86/x86-64-ret0.ll new file mode 100644 index 0000000..d4252e7 --- /dev/null +++ b/test/CodeGen/X86/x86-64-ret0.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | llc -march=x86-64 | grep mov | count 1 + +define i32 @f() nounwind { + tail call void @t( i32 1 ) nounwind + ret i32 0 +} + +declare void @t(i32) |