[llvm] [RISCV][POC] Recursive search for mul expansion (PR #96327)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 24 21:55:23 PDT 2024


================
@@ -473,23 +473,23 @@ define i32 @muli32_p14(i32 %a) nounwind {
 ;
 ; RV32IM-LABEL: muli32_p14:
 ; RV32IM:       # %bb.0:
-; RV32IM-NEXT:    slli a1, a0, 1
-; RV32IM-NEXT:    slli a0, a0, 4
-; RV32IM-NEXT:    sub a0, a0, a1
+; RV32IM-NEXT:    slli a1, a0, 3
----------------
topperc wrote:

Is this a longer critical path?

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


More information about the llvm-commits mailing list