[llvm] r238540 - This should have been a reference
Matthias Braun
matze at braunis.de
Thu May 28 19:59:59 PDT 2015
Author: matze
Date: Thu May 28 21:59:59 2015
New Revision: 238540
URL: http://llvm.org/viewvc/llvm-project?rev=238540&view=rev
Log:
This should have been a reference
Modified:
llvm/trunk/lib/CodeGen/EarlyIfConversion.cpp
Modified: llvm/trunk/lib/CodeGen/EarlyIfConversion.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/EarlyIfConversion.cpp?rev=238540&r1=238539&r2=238540&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/EarlyIfConversion.cpp (original)
+++ llvm/trunk/lib/CodeGen/EarlyIfConversion.cpp Thu May 28 21:59:59 2015
@@ -226,7 +226,7 @@ bool SSAIfConv::canSpeculateInstrs(Machi
}
// 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;
More information about the llvm-commits
mailing list