Skip to content

Commit 871a4f4

Browse files
Replace SelectInst with auto
Comment from Alexey Co-authored-by: Alexey Bataev <[email protected]>
1 parent 0b6c41f commit 871a4f4

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
@@ -699,7 +699,7 @@ RecurrenceDescriptor::isFindLastIVPattern(Loop *Loop, PHINode *OrigPhi,
699699
m_Value())))
700700
return InstDesc(false, I);
701701

702-
SelectInst *SI = cast<SelectInst>(I);
702+
auto *SI = cast<SelectInst>(I);
703703
Value *NonRdxPhi = nullptr;
704704

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

0 commit comments

Comments
 (0)