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 23886bd commit 046d119Copy full SHA for 046d119
llvm/lib/CodeGen/SelectOptimize.cpp
@@ -652,8 +652,8 @@ void SelectOptimizeImpl::convertProfitableSIGroups(SelectGroups &ProfSIGroups) {
652
// Iterate over all instructions in between SI and LastSI, not including
653
// SI itself. These are all the variable assignments that happen "in the
654
// middle" of the select group.
655
- auto R = make_range(std::next(SI->getIterator()),
656
- std::next(LastSI->getIterator()));
+ auto R = make_range(std::next(SI.getI()->getIterator()),
+ std::next(LastSI.getI()->getIterator()));
657
llvm::for_each(R, TransferDPValues);
658
659
// These are the new basic blocks for the conditional branch.
0 commit comments