[llvm] [TypePromotion] Support positive addition amounts in isSafeWrap. (PR #81690)

via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 13 16:29:29 PST 2024


AtariDreams wrote:

Given how this seems to increase the number of generated instructions, I think this should be done in cases where if OverflowConst.isNonPositive() holds false, instead of doing it to all numbers. 

https://github.com/llvm/llvm-project/pull/81690


More information about the llvm-commits mailing list