[llvm] [RISCV] Enable load clustering by default (PR #73789)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 25 21:43:26 PDT 2024


================
@@ -889,170 +889,194 @@ define void @copysign_v8f16(ptr %x, ptr %y) {
 ;
 ; ZVFHMIN-ZFHIN-RV32-LABEL: copysign_v8f16:
 ; ZVFHMIN-ZFHIN-RV32:       # %bb.0:
-; ZVFHMIN-ZFHIN-RV32-NEXT:    addi sp, sp, -32
-; ZVFHMIN-ZFHIN-RV32-NEXT:    .cfi_def_cfa_offset 32
+; ZVFHMIN-ZFHIN-RV32-NEXT:    addi sp, sp, -48
+; ZVFHMIN-ZFHIN-RV32-NEXT:    .cfi_def_cfa_offset 48
+; ZVFHMIN-ZFHIN-RV32-NEXT:    sw s0, 44(sp) # 4-byte Folded Spill
+; ZVFHMIN-ZFHIN-RV32-NEXT:    sw s1, 40(sp) # 4-byte Folded Spill
+; ZVFHMIN-ZFHIN-RV32-NEXT:    sw s2, 36(sp) # 4-byte Folded Spill
+; ZVFHMIN-ZFHIN-RV32-NEXT:    sw s3, 32(sp) # 4-byte Folded Spill
----------------
wangpc-pp wrote:

Is this because the register pressure increases?

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


More information about the llvm-commits mailing list