Skip to content

Commit d6fdd3d

Browse files
committed
Fix nit.
1 parent 4d014b8 commit d6fdd3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21413,7 +21413,7 @@ void BoUpSLP::BlockScheduling::initScheduleData(Instruction *FromI,
2141321413
SD->init(SchedulingRegionID, I);
2141421414

2141521415
auto CanIgnoreLoad = [](const Instruction *I) {
21416-
const LoadInst *LI = dyn_cast<LoadInst>(I);
21416+
const auto *LI = dyn_cast<LoadInst>(I);
2141721417
// If there is a simple load marked as invariant, we can ignore it.
2141821418
// But, in the (unlikely) case of non-simple invariant load,
2141921419
// we should not ignore it.

0 commit comments

Comments
 (0)