diff options
author | Chris Lattner <sabre@nondot.org> | 2005-05-15 05:52:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-05-15 05:52:51 +0000 |
commit | 6e3decb6eada226d58a32ffebbefddc253c14e5c (patch) | |
tree | d18a7398f1dae7a54ad0ea8cc09645d10a4c2de9 | |
parent | 97e3b656521a6dafd9425243d4acbf1ad9dcde5e (diff) | |
download | llvm-6e3decb6eada226d58a32ffebbefddc253c14e5c.zip llvm-6e3decb6eada226d58a32ffebbefddc253c14e5c.tar.gz llvm-6e3decb6eada226d58a32ffebbefddc253c14e5c.tar.bz2 |
add test to check for tail calls
llvm-svn: 22048
-rw-r--r-- | llvm/test/Regression/CodeGen/X86/fast-cc-tail-call.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/Regression/CodeGen/X86/fast-cc-tail-call.ll b/llvm/test/Regression/CodeGen/X86/fast-cc-tail-call.ll new file mode 100644 index 0000000..5a7d88d --- /dev/null +++ b/llvm/test/Regression/CodeGen/X86/fast-cc-tail-call.ll @@ -0,0 +1,7 @@ +; RUN: llvm-as < %s | llc -x86-asm-syntax=intel -enable-x86-fastcc | not grep call + +fastcc int %bar(int %X, int(double, int) *%FP) { + %Y = tail call fastcc int %FP(double 0.0, int %X) + ret int %Y +} + |