summaryrefslogtreecommitdiff
path: root/lib/CodeGen/StackSlotColoring.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-07-06 23:40:35 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-07-06 23:40:35 +0000
commitd3b376b4483d816367dd28a41bcbccede1cdcbf0 (patch)
tree917340ad8fb227b76dd09ce6630235d46118c702 /lib/CodeGen/StackSlotColoring.cpp
parentd491d6ecd2debd444451f07e6e947685d1e02217 (diff)
downloadllvm-d3b376b4483d816367dd28a41bcbccede1cdcbf0.tar.gz
llvm-d3b376b4483d816367dd28a41bcbccede1cdcbf0.tar.bz2
llvm-d3b376b4483d816367dd28a41bcbccede1cdcbf0.tar.xz
Remove references to INSERT_SUBREG after de-SSA
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107732 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/StackSlotColoring.cpp')
-rw-r--r--lib/CodeGen/StackSlotColoring.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/StackSlotColoring.cpp b/lib/CodeGen/StackSlotColoring.cpp
index 7f3b452f0a..5172f3a24b 100644
--- a/lib/CodeGen/StackSlotColoring.cpp
+++ b/lib/CodeGen/StackSlotColoring.cpp
@@ -508,8 +508,7 @@ bool StackSlotColoring::PropagateBackward(MachineBasicBlock::iterator MII,
// Abort the use is actually a sub-register def. We don't have enough
// information to figure out if it is really legal.
- if (MO.getSubReg() || MII->isExtractSubreg() ||
- MII->isInsertSubreg() || MII->isSubregToReg())
+ if (MO.getSubReg() || MII->isExtractSubreg() || MII->isSubregToReg())
return false;
const TargetRegisterClass *RC = TID.OpInfo[i].getRegClass(TRI);