R600/SI: Specify SSrc operands
[oota-llvm.git] / lib / Target / Hexagon / HexagonHardwareLoops.cpp
index 3c4ca0fc813b13e83c8e42202428a198628ff767..52d5ab2fee27897ab8167de161884719f8881c18 100644 (file)
@@ -871,7 +871,7 @@ bool HexagonHardwareLoops::isInvalidLoopOperation(
 /// \brief - Return true if the loop contains an instruction that inhibits
 /// the use of the hardware loop function.
 bool HexagonHardwareLoops::containsInvalidInstruction(MachineLoop *L) const {
-  const std::vector<MachineBasicBlock*> Blocks = L->getBlocks();
+  const std::vector<MachineBasicBlock *> &Blocks = L->getBlocks();
   for (unsigned i = 0, e = Blocks.size(); i != e; ++i) {
     MachineBasicBlock *MBB = Blocks[i];
     for (MachineBasicBlock::iterator