[llvm] [RISCV] Add 2^N + 2^M expanding pattern for mul (PR #137954)

Iris Shi via llvm-commits llvm-commits at lists.llvm.org
Thu May 8 12:07:05 PDT 2025


================
@@ -494,6 +494,36 @@ define i32 @muli32_p14(i32 %a) nounwind {
   ret i32 %1
 }
 
+define i32 @muli32_p18(i32 %a) nounwind {
----------------
el-ev wrote:

Sure, I'll commit them later this day.

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


More information about the llvm-commits mailing list