llvm-project
49842426 - [LV] Fix MinBWs in WidenIntrinsic case (#137005)

Commit
360 days ago
[LV] Fix MinBWs in WidenIntrinsic case (#137005) There is a bug in the computation and handling of MinBWs in the case of VPWidenIntrinsicRecipe: a crash is observed in VPlanTransforms::truncateToMinimalBitwidths due to a mismatch between the number of recipes processed and the number of entries in MinBWs. Fix handling of calls in llvm::computeMinimumValueSizes, and handle VPWidenIntrinsicRecipe in truncateToMinimalBitwidths, fixing the bug. Fixes #87407.
Author
Parents
Loading