commit | 50d78edebf4b84589dcdbf851c705d64c17e52a7 | [log] [tgz] |
---|---|---|
author | Ramkumar Ramachandra <ram.ramachandra@arm.com> | Thu Apr 18 14:41:07 2024 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Apr 18 06:48:51 2024 -0700 |
tree | 92e98b80aa33cdeffbe33bdf9d9293524316b004 | |
parent | 81a54571b9de0068fb75bf939ce8c0b9c7ef8e45 [diff] |
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. GitOrigin-RevId: 73e7f2ff70e64defcc59f707a8d2463dd4c79be0