summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/EarlyIfConversion.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-05-29 02:59:59 +0000
committerMatthias Braun <matze@braunis.de>2015-05-29 02:59:59 +0000
commit27a6cfd8230a65dd9b512024e602d34549dffc3d (patch)
tree3a8fd6ca359678e430c5910634a3eadca74e4543 /llvm/lib/CodeGen/EarlyIfConversion.cpp
parente41e146c16c58722307876910b8b9c9e3748c52c (diff)
downloadbcm5719-llvm-27a6cfd8230a65dd9b512024e602d34549dffc3d.tar.gz
bcm5719-llvm-27a6cfd8230a65dd9b512024e602d34549dffc3d.zip
This should have been a reference
llvm-svn: 238540
Diffstat (limited to 'llvm/lib/CodeGen/EarlyIfConversion.cpp')
-rw-r--r--llvm/lib/CodeGen/EarlyIfConversion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/EarlyIfConversion.cpp b/llvm/lib/CodeGen/EarlyIfConversion.cpp
index 99509513761..d3687b98b34 100644
--- a/llvm/lib/CodeGen/EarlyIfConversion.cpp
+++ b/llvm/lib/CodeGen/EarlyIfConversion.cpp
@@ -226,7 +226,7 @@ bool SSAIfConv::canSpeculateInstrs(MachineBasicBlock *MBB) {
}
// Check for any dependencies on Head instructions.
- for (const MachineOperand MO : I->operands()) {
+ for (const MachineOperand &MO : I->operands()) {
if (MO.isRegMask()) {
DEBUG(dbgs() << "Won't speculate regmask: " << *I);
return false;
OpenPOWER on IntegriCloud