[llvm] [RISCV] Enable expansion mul expansion to shNadd x, (slli x, c) (PR #87105)
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 29 12:05:14 PDT 2024
================
@@ -879,12 +880,31 @@ define i64 @mulneg3000_sub8990_c(i64 %x) {
define i1 @pr53831(i32 %x) {
; RV32IMB-LABEL: pr53831:
; RV32IMB: # %bb.0:
-; RV32IMB-NEXT: li a0, 0
+; RV32IMB-NEXT: addi a1, a0, 1
----------------
preames wrote:
This test is checking for an infinite combine loop, but this result is the missed optimization I mentioned in the review summary.
https://github.com/llvm/llvm-project/pull/87105
More information about the llvm-commits
mailing list