Similar to D138404, we were not guarding against extra uses of the Mul. In most cases other checks would catch the issue due to unsupported instructions in the outer loop, but certain non-canonical loop forms could still get through.
Fixes #59339
Differential D141114
[LoopFlattening] Check for extra uses on Mul dmgreen on Jan 6 2023, 1:04 AM. Authored by
Details Similar to D138404, we were not guarding against extra uses of the Mul. In most cases other checks would catch the issue due to unsupported instructions in the outer loop, but certain non-canonical loop forms could still get through. Fixes #59339
Diff Detail
Unit Tests Event TimelineComment Actions Thanks a lot for fixing this!
Comment Actions Please avoid unnamed instructions/blocks in tests, which make future updates a PITA. You can avoid this using opt -passes=instnamer. |
This comment can now be removed, or perhaps better adjusted.