summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-31 17:55:25 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-31 17:55:25 +0000
commite6e6750670418c50b331f11240da006b1b11b615 (patch)
treeb4ff6988644451661922d0b1b6b801097023a25c /llvm/test
parent13baa0e65029c72569c6e1807a18f87c00b3e771 (diff)
downloadbcm5719-llvm-e6e6750670418c50b331f11240da006b1b11b615.tar.gz
bcm5719-llvm-e6e6750670418c50b331f11240da006b1b11b615.zip
Don't completely eliminate identity copies that also modify super register liveness.
Turn them into noop KILL instructions instead. This lets the scavenger know when super-registers are killed and defined. llvm-svn: 128645
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/Blackfin/2009-08-04-LowerExtract-Live.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/Blackfin/2009-08-04-LowerExtract-Live.ll b/llvm/test/CodeGen/Blackfin/2009-08-04-LowerExtract-Live.ll
index 3ee5e8df997..50fccb44099 100644
--- a/llvm/test/CodeGen/Blackfin/2009-08-04-LowerExtract-Live.ll
+++ b/llvm/test/CodeGen/Blackfin/2009-08-04-LowerExtract-Live.ll
@@ -1,4 +1,5 @@
; RUN: llc < %s -march=bfin -join-liveintervals=0 -verify-machineinstrs
+; RUN: llc < %s -march=bfin -join-liveintervals=0 -verify-machineinstrs -regalloc=greedy
; Provoke an error in LowerSubregsPass::LowerExtract where the live range of a
; super-register is illegally extended.
OpenPOWER on IntegriCloud