Skip to content

Commit dfa355b

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

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

700-
SelectInst *SI = cast<SelectInst>(I);
700+
auto *SI = cast<SelectInst>(I);
701701
Value *NonRdxPhi = nullptr;
702702

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

0 commit comments

Comments
 (0)