[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:49:17 PDT 2024
================
@@ -11,16 +11,16 @@ define i32 @add_mul_combine_accept_a1(i32 %x) {
; RV32IMB-LABEL: add_mul_combine_accept_a1:
; RV32IMB: # %bb.0:
; RV32IMB-NEXT: sh1add a1, a0, a0
-; RV32IMB-NEXT: slli a0, a0, 5
-; RV32IMB-NEXT: sub a0, a0, a1
+; RV32IMB-NEXT: sh1add a1, a1, a0
----------------
topperc wrote:
This is a code size regression.
https://github.com/llvm/llvm-project/pull/96327
More information about the llvm-commits
mailing list