[CodeGen] ArrayRef'ize cond/pred in various TII APIs. NFC.
[oota-llvm.git] / lib / CodeGen / TargetInstrInfo.cpp
index c809087d3da4da49b1e46e0a5b7b9c17e8ac3616..20cb39617b88d5c0048fe06eb86d9fe96c073982 100644 (file)
@@ -219,9 +219,8 @@ TargetInstrInfo::isUnpredicatedTerminator(const MachineInstr *MI) const {
   return !isPredicated(MI);
 }
 
-
-bool TargetInstrInfo::PredicateInstruction(MachineInstr *MI,
-                            const SmallVectorImpl<MachineOperand> &Pred) const {
+bool TargetInstrInfo::PredicateInstruction(
+    MachineInstr *MI, ArrayRef<MachineOperand> Pred) const {
   bool MadeChange = false;
 
   assert(!MI->isBundle() &&