[PATCH] D148210: [InstCombine] Reassociate (C * X) * Y in foldICmpMulConstant
Noah Goldstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 25 16:34:43 PDT 2023
goldstein.w.n added inline comments.
================
Comment at: llvm/test/Transforms/InstCombine/icmp.ll:4970
define i1 @mul_mul_sge_zero(i8 %a, i8 %b) {
; CHECK-LABEL: @mul_mul_sge_zero(
+; CHECK-NEXT: [[TMP1:%.*]] = mul nsw i8 [[A:%.*]], [[B:%.*]]
----------------
I don't see any tests with `nuw` or for the comination of the flags.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148210/new/
https://reviews.llvm.org/D148210
More information about the llvm-commits
mailing list