Skip to content

Commit eeddd6d

Browse files
committed
fixup! Address review comments
1 parent 896009b commit eeddd6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Vectorize/EVLIndVarSimplify.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ struct EVLIndVarSimplifyImpl {
5050
OptimizationRemarkEmitter *ORE)
5151
: SE(LAR.SE), ORE(ORE) {}
5252

53-
// Returns true if modify the loop.
53+
/// Returns true if modify the loop.
5454
bool run(Loop &L);
5555
};
5656
} // anonymous namespace
@@ -188,7 +188,7 @@ bool EVLIndVarSimplifyImpl::run(Loop &L) {
188188
auto IntrinsicMatch = m_Intrinsic<Intrinsic::experimental_get_vector_length>(
189189
m_Value(RemTC), m_SpecificInt(VF),
190190
/*Scalable=*/m_SpecificInt(1));
191-
for (auto &PN : BB->phis()) {
191+
for (PHINode &PN : BB->phis()) {
192192
if (&PN == IndVar)
193193
continue;
194194

0 commit comments

Comments
 (0)