Skip to content

Commit 046d119

Browse files
committed
Fixup after rebase
1 parent 23886bd commit 046d119

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/CodeGen/SelectOptimize.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -652,8 +652,8 @@ void SelectOptimizeImpl::convertProfitableSIGroups(SelectGroups &ProfSIGroups) {
652652
// Iterate over all instructions in between SI and LastSI, not including
653653
// SI itself. These are all the variable assignments that happen "in the
654654
// middle" of the select group.
655-
auto R = make_range(std::next(SI->getIterator()),
656-
std::next(LastSI->getIterator()));
655+
auto R = make_range(std::next(SI.getI()->getIterator()),
656+
std::next(LastSI.getI()->getIterator()));
657657
llvm::for_each(R, TransferDPValues);
658658

659659
// These are the new basic blocks for the conditional branch.

0 commit comments

Comments
 (0)