summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-03-05 08:23:20 +0000
committerOwen Anderson <resistor@mac.com>2009-03-05 08:23:20 +0000
commit380b3838f64709ae54b11e58569445b224117799 (patch)
tree8c1702981edd67ef98c8c7dd015930267896cd5a
parentc540cc6591dbeed129940c36847bf80b999fb522 (diff)
downloadbcm5719-llvm-380b3838f64709ae54b11e58569445b224117799.tar.gz
bcm5719-llvm-380b3838f64709ae54b11e58569445b224117799.zip
(Hopefully) silence a warning.
llvm-svn: 66158
-rw-r--r--llvm/lib/CodeGen/PreAllocSplitting.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/PreAllocSplitting.cpp b/llvm/lib/CodeGen/PreAllocSplitting.cpp
index 89e8cabd751..581320a3961 100644
--- a/llvm/lib/CodeGen/PreAllocSplitting.cpp
+++ b/llvm/lib/CodeGen/PreAllocSplitting.cpp
@@ -1015,7 +1015,7 @@ MachineInstr* PreAllocSplitting::FoldRestore(unsigned vreg,
MachineBasicBlock* MBB,
int SS,
SmallPtrSet<MachineInstr*, 4>& RefsInMBB) {
- if ((int)RestoreFoldLimit != -1 && RestoreFoldLimit == NumRestoreFolds)
+ if ((int)RestoreFoldLimit != -1 && RestoreFoldLimit == (int)NumRestoreFolds)
return 0;
// Go top down if RefsInMBB is empty.
OpenPOWER on IntegriCloud