[llvm] [InstCombine] Support division of numbers that can be converted to a shift (PR #88220)

via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 10 12:01:55 PDT 2024


================
@@ -1638,6 +1638,30 @@ define i32 @sdiv_mul_sub_nsw(i32 %x, i32 %y) {
   ret i32 %d
 }
 
+  define i32 @mul_by_150_udiv_by_100 (i32 %0) {
----------------
AtariDreams wrote:

https://alive2.llvm.org/ce/

https://github.com/llvm/llvm-project/pull/88220


More information about the llvm-commits mailing list