summaryrefslogtreecommitdiff
path: root/test/CodeGen
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-05-12 23:07:00 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-05-12 23:07:00 +0000
commiteca24fba3fccb08ed822827601a0da32bf1d508d (patch)
treed056c9f3fa16d2ec2e4540d2b3e74e443a68fb97 /test/CodeGen
parent3b895cfac99babcf0e4fe80af1c70e11760abb77 (diff)
downloadllvm-eca24fba3fccb08ed822827601a0da32bf1d508d.tar.gz
llvm-eca24fba3fccb08ed822827601a0da32bf1d508d.tar.bz2
llvm-eca24fba3fccb08ed822827601a0da32bf1d508d.tar.xz
Teach TransferDeadness to delete truly dead instructions if they do not produce side effects.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71606 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/X86/2007-03-01-SpillerCrash.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2007-03-01-SpillerCrash.ll b/test/CodeGen/X86/2007-03-01-SpillerCrash.ll
index 2663686d56..d4176f1d78 100644
--- a/test/CodeGen/X86/2007-03-01-SpillerCrash.ll
+++ b/test/CodeGen/X86/2007-03-01-SpillerCrash.ll
@@ -1,4 +1,5 @@
; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin8 -mattr=+sse2
+; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin8 -mattr=+sse2 | not grep movhlps
define void @test() nounwind {
test.exit: