From: Matthias Braun Date: Fri, 29 May 2015 02:59:59 +0000 (+0000) Subject: This should have been a reference X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2ec7970df433844cb9b132f9ba74add307f67f38;p=llvm This should have been a reference git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238540 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/EarlyIfConversion.cpp b/lib/CodeGen/EarlyIfConversion.cpp index 99509513761..d3687b98b34 100644 --- a/lib/CodeGen/EarlyIfConversion.cpp +++ b/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;