summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2012-01-03 20:05:57 +0000
committerLang Hames <lhames@gmail.com>2012-01-03 20:05:57 +0000
commitc405ac442920cf470c625f7a7ea0729417806302 (patch)
tree27b56ef585bcd23c3b654fea5cba55421e46708b /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
parente80145932071a41e14ef738a938f76afaf5300cf (diff)
downloadbcm5719-llvm-c405ac442920cf470c625f7a7ea0729417806302.tar.gz
bcm5719-llvm-c405ac442920cf470c625f7a7ea0729417806302.zip
Clarified assert text.
llvm-svn: 147471
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveIntervalAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
index 1e58173c186..9ee7c0b537e 100644
--- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -646,7 +646,7 @@ bool LiveIntervals::shrinkToUses(LiveInterval *li,
SmallVectorImpl<MachineInstr*> *dead) {
DEBUG(dbgs() << "Shrink: " << *li << '\n');
assert(TargetRegisterInfo::isVirtualRegister(li->reg)
- && "Can't only shrink physical registers");
+ && "Can only shrink virtual registers");
// Find all the values used, including PHI kills.
SmallVector<std::pair<SlotIndex, VNInfo*>, 16> WorkList;
OpenPOWER on IntegriCloud