llvm-project
73e7f2ff - LoopVectorize: guard marking iv as scalar; fix bug (#88730)

Commit
1 year ago
LoopVectorize: guard marking iv as scalar; fix bug (#88730) When collecting loop scalars, LoopVectorize over-eagerly marks the induction variable and its update as scalars after vectorization, even if the induction variable update is a first-order recurrence. Guard the process with this check, fixing a crash. Fixes #72969.
Author
Parents
Loading