Skip to content

Commit 3971398

Browse files
Replace SelectInst with auto
Comment from Alexey Co-authored-by: Alexey Bataev <[email protected]>
1 parent 428f0ec commit 3971398

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Analysis/IVDescriptors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ RecurrenceDescriptor::isFindLastIVPattern(Loop *Loop, PHINode *OrigPhi,
701701
m_Value())))
702702
return InstDesc(false, I);
703703

704-
SelectInst *SI = cast<SelectInst>(I);
704+
auto *SI = cast<SelectInst>(I);
705705
Value *NonRdxPhi = nullptr;
706706

707707
if (OrigPhi == dyn_cast<PHINode>(SI->getTrueValue()))

0 commit comments

Comments
 (0)