llvm-project
c4f723a7 - [LV] Strip unmaintainable MinBWs assert (#136858)

Commit
327 days ago
[LV] Strip unmaintainable MinBWs assert (#136858) tryToWiden attempts to replace an Instruction with a Constant from SCEV, but forgets to erase the Instruction from the MinBWs map, leading to an assert in VPlanTransforms::truncateToMinimalBitwidths. Going forward, the assertion in truncateToMinimalBitwidths is unmaintainable, as LV could simplify the expression at any point: fix the bug by stripping the unmaintable assertion. Fixes #125278.
Author
Parents
Loading