diff options
author | Chris Lattner <sabre@nondot.org> | 2006-05-26 18:41:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-05-26 18:41:26 +0000 |
commit | e812d1133b593d627449952ef6bdab7757904ecf (patch) | |
tree | 7219d7d9ac3926091d590df4554edf76095d916e /test/Assembler/2006-05-26-VarargsCallEncode.ll | |
parent | 052fb5110fd9b461cbb140364068268df8465bf4 (diff) | |
download | external_llvm-e812d1133b593d627449952ef6bdab7757904ecf.zip external_llvm-e812d1133b593d627449952ef6bdab7757904ecf.tar.gz external_llvm-e812d1133b593d627449952ef6bdab7757904ecf.tar.bz2 |
New testcase, check that the bc file correctly encodes varargs nonccc calls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28500 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler/2006-05-26-VarargsCallEncode.ll')
-rw-r--r-- | test/Assembler/2006-05-26-VarargsCallEncode.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Assembler/2006-05-26-VarargsCallEncode.ll b/test/Assembler/2006-05-26-VarargsCallEncode.ll new file mode 100644 index 0000000..c06de84 --- /dev/null +++ b/test/Assembler/2006-05-26-VarargsCallEncode.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | llvm-dis | grep 'tail call csretcc' + +declare csretcc void %foo({}*, ...) + +void %bar() { + tail call csretcc void({}*, ...)* %foo({}* null, int 0) + ret void +} |