summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineTraceMetrics.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-07 18:32:57 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-07 18:32:57 +0000
commit296448b293231f87853e350dd7094d37aa5f0495 (patch)
tree87ca595e6de32799a570455562e24055e124de3b /llvm/lib/CodeGen/MachineTraceMetrics.cpp
parenta4eeae793018c2b6853dab8a21e8582b6b3fce33 (diff)
downloadbcm5719-llvm-296448b293231f87853e350dd7094d37aa5f0495.tar.gz
bcm5719-llvm-296448b293231f87853e350dd7094d37aa5f0495.zip
Fix a couple of typos.
llvm-svn: 161437
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineTraceMetrics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineTraceMetrics.cpp b/llvm/lib/CodeGen/MachineTraceMetrics.cpp
index 09b6e9c44f5..67427dd1931 100644
--- a/llvm/lib/CodeGen/MachineTraceMetrics.cpp
+++ b/llvm/lib/CodeGen/MachineTraceMetrics.cpp
@@ -929,7 +929,7 @@ computeInstrHeights(const MachineBasicBlock *MBB) {
if (TBI.Succ) {
for (MachineBasicBlock::const_iterator
I = TBI.Succ->begin(), E = TBI.Succ->end();
- I != E && !I->isPHI(); ++I) {
+ I != E && I->isPHI(); ++I) {
const MachineInstr *PHI = I;
Deps.clear();
getPHIDeps(PHI, Deps, MBB, MTM.MRI);
OpenPOWER on IntegriCloud