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

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 28 21:56:31 PDT 2023


goldstein.w.n added inline comments.


================
Comment at: llvm/test/Transforms/InstCombine/and-add-shl.ll:40
+  ret i8 %r
+}
----------------
You only have test for the first case (need 1 for `not` case). Also can you precommit the tests?


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

https://reviews.llvm.org/D154953



More information about the llvm-commits mailing list