[llvm] [RISC-V] Only emit multiples of 16 as immediate for cm.push (PR #84935)
Nemanja Ivanovic via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 14 03:48:05 PDT 2024
================
@@ -3,7 +3,7 @@
define ptr @func(ptr %s, i32 %_c, ptr %incdec.ptr, i1 %0, i8 %conv14) #0 {
; RV32-LABEL: func:
; RV32: # %bb.0: # %entry
-; RV32-NEXT: cm.push {ra, s0-s1}, -24
+; RV32-NEXT: cm.push {ra, s0-s1}, -32
; RV32-NEXT: .cfi_def_cfa_offset 24
----------------
nemanjai wrote:
They most certainly appear to be wrong.
https://github.com/llvm/llvm-project/pull/84935
More information about the llvm-commits
mailing list