[PATCH] D149001: [InstSimplify] sdiv a (1 srem b) --> a

Jun Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 22 19:39:41 PDT 2023


junaire added inline comments.


================
Comment at: llvm/test/Transforms/InstSimplify/div.ll:437
 !0 = !{i32 0, i32 3}
+
+define i32 @sdiv_one_srem_divisor(i32 %a, i32 %b) {
----------------
split the tests into a separate revision so we can see the diff more clearly. (You can add a parent revision 


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

https://reviews.llvm.org/D149001



More information about the llvm-commits mailing list