llvm-project
48820293 - [ValueTracking] Enhance overflow computation for unsigned mul (#171568)

Commit
3 days ago
[ValueTracking] Enhance overflow computation for unsigned mul (#171568) Changed the range computation in computeOverflowForUnsignedMul to use computeConstantRange as well. This expands the patterns that InstCombine manages to narrow a mul that has values that come from zext, for example if a value comes from a div operation then the known bits doesn't give the narrowest possible range for that value. --------- Co-authored-by: Adar Dagan <adar.dagan@mobileye.com>
Author
Parents
Loading