We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 896009b commit eeddd6dCopy full SHA for eeddd6d
llvm/lib/Transforms/Vectorize/EVLIndVarSimplify.cpp
@@ -50,7 +50,7 @@ struct EVLIndVarSimplifyImpl {
50
OptimizationRemarkEmitter *ORE)
51
: SE(LAR.SE), ORE(ORE) {}
52
53
- // Returns true if modify the loop.
+ /// Returns true if modify the loop.
54
bool run(Loop &L);
55
};
56
} // anonymous namespace
@@ -188,7 +188,7 @@ bool EVLIndVarSimplifyImpl::run(Loop &L) {
188
auto IntrinsicMatch = m_Intrinsic<Intrinsic::experimental_get_vector_length>(
189
m_Value(RemTC), m_SpecificInt(VF),
190
/*Scalable=*/m_SpecificInt(1));
191
- for (auto &PN : BB->phis()) {
+ for (PHINode &PN : BB->phis()) {
192
if (&PN == IndVar)
193
continue;
194
0 commit comments