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 | 4606b121086e816a19e0b7c38499440f8cd0d9cb (patch) | |
| tree | 10c556ca81420448cb5c4dc6e4a85d83a722a31d /llvm/test/CodeGen/X86/sext-trunc.ll | |
| parent | 0071da951b8688a24272028ca74d4b22841c17cc (diff) | |
| download | bcm5719-llvm-4606b121086e816a19e0b7c38499440f8cd0d9cb.tar.gz bcm5719-llvm-4606b121086e816a19e0b7c38499440f8cd0d9cb.zip | |
Don't force promotion of return arguments on the callee.
Some architectures (like x86) don't require it.
This fixes bug 3779.
llvm-svn: 67132
Diffstat (limited to 'llvm/test/CodeGen/X86/sext-trunc.ll')
| -rw-r--r-- | llvm/test/CodeGen/X86/sext-trunc.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/sext-trunc.ll b/llvm/test/CodeGen/X86/sext-trunc.ll index 97b46668270..df401564c24 100644 --- a/llvm/test/CodeGen/X86/sext-trunc.ll +++ b/llvm/test/CodeGen/X86/sext-trunc.ll @@ -1,5 +1,6 @@ ; RUN: llvm-as < %s | llc -march=x86 > %t -; RUN: grep movsbl %t +; RUN: grep movb %t +; RUN: not grep movsbl %t ; RUN: not grep movz %t ; RUN: not grep and %t |

