[PATCH] D154953: [InstSimplify] Remove the remainder loop if we know the mask is always true

Allen zhong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 29 02:07:49 PDT 2023


Allen marked an inline comment as done.
Allen added inline comments.


================
Comment at: llvm/test/Transforms/InstCombine/and-add-shl.ll:40
+  ret i8 %r
+}
----------------
goldstein.w.n wrote:
> You only have test for the first case (need 1 for `not` case). Also can you precommit the tests?
add a new case **and_not_shl** for `not` case, and also precommit tests on D156591, thanks.


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

https://reviews.llvm.org/D154953



More information about the llvm-commits mailing list