We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b47af5d commit 46df454Copy full SHA for 46df454
llvm/lib/CodeGen/EarlyIfConversion.cpp
@@ -1117,7 +1117,7 @@ class PredicatorStrategy : public SSAIfConv::PredicationStrategyBase {
1117
1118
void predicateBlock(MachineBasicBlock *MBB, ArrayRef<MachineOperand> Cond,
1119
bool Reverse) override {
1120
- SmallVector<MachineOperand> Condition(Cond.begin(), Cond.end());
+ SmallVector<MachineOperand> Condition(Cond);
1121
if (Reverse) {
1122
bool CanRevCond = !TII->reverseBranchCondition(Condition);
1123
assert(CanRevCond && "Reversed predicate is not supported");
0 commit comments