[PATCH] D143766: [InstCombine][WIP] Fix InstCombinerImpl::foldICmpMulConstant for nsw and nuw mul with unsigned compare.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 10 12:41:03 PST 2023


craig.topper added inline comments.


================
Comment at: llvm/test/Transforms/InstCombine/icmp-mul.ll:137
 ; Same as above, but with nsw flag too.
 ; FIXME: This should be optimized like above.
 define i1 @ult_rem_zero_nsw(i8 %x) {
----------------
Forgot to remove the FIXMEs. Will fix.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143766/new/

https://reviews.llvm.org/D143766



More information about the llvm-commits mailing list