diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2009-03-17 23:43:59 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2009-03-17 23:43:59 +0000 |
commit | 152932b71c488a6522c541f847eb3081cffb3793 (patch) | |
tree | 59aedfa7e60b5f3579fd7a1b142354c2d3f72a7d /test/CodeGen/X86/isel-sink2.ll | |
parent | b372c1114c1eeffbd1a3f6ddc5d33e77564bfee2 (diff) | |
download | external_llvm-152932b71c488a6522c541f847eb3081cffb3793.zip external_llvm-152932b71c488a6522c541f847eb3081cffb3793.tar.gz external_llvm-152932b71c488a6522c541f847eb3081cffb3793.tar.bz2 |
Don't force promotion of return arguments on the callee.
Some architectures (like x86) don't require it.
This fixes bug 3779.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67132 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/isel-sink2.ll')
-rw-r--r-- | test/CodeGen/X86/isel-sink2.ll | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CodeGen/X86/isel-sink2.ll b/test/CodeGen/X86/isel-sink2.ll index d8e27e9..9d9c747 100644 --- a/test/CodeGen/X86/isel-sink2.ll +++ b/test/CodeGen/X86/isel-sink2.ll @@ -1,5 +1,6 @@ -; RUN: llvm-as < %s | llc -march=x86 | grep {movzbl.7(%...)} -; RUN: llvm-as < %s | llc -march=x86 | not grep leal +; RUN: llvm-as < %s | llc -march=x86 > %t +; RUN: grep {movb.7(%...)} %t +; RUN: not grep leal %t define i8 @test(i32 *%P) nounwind { %Q = getelementptr i32* %P, i32 1 |