aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen
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
commit280ea1a7466751c6d27ff343072c65e59a950053 (patch)
tree0e34572eb68616124c6cfc322fd93d89a024f0b8 /test/CodeGen
parent8901e6ff3da1c1a68ee5c1c24f21e8572ceb57b6 (diff)
downloadexternal_llvm-280ea1a7466751c6d27ff343072c65e59a950053.zip
external_llvm-280ea1a7466751c6d27ff343072c65e59a950053.tar.gz
external_llvm-280ea1a7466751c6d27ff343072c65e59a950053.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128645 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/Blackfin/2009-08-04-LowerExtract-Live.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGen/Blackfin/2009-08-04-LowerExtract-Live.ll b/test/CodeGen/Blackfin/2009-08-04-LowerExtract-Live.ll
index 3ee5e8d..50fccb4 100644
--- a/test/CodeGen/Blackfin/2009-08-04-LowerExtract-Live.ll
+++ b/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.