[llvm] [RISCV][GISel] Remove s32 support for G_CTPOP/CTLZ/CTTZ on RV64. (PR #115101)
Min-Yih Hsu via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 7 09:59:30 PST 2024
================
@@ -794,6 +792,8 @@ define signext i32 @ctpop_i32_load(ptr %p) nounwind {
; RV64ZBB-LABEL: ctpop_i32_load:
; RV64ZBB: # %bb.0:
; RV64ZBB-NEXT: lw a0, 0(a0)
+; RV64ZBB-NEXT: slli a0, a0, 32
----------------
mshockwave wrote:
I think this is a fallout from making i32 illegal
https://github.com/llvm/llvm-project/pull/115101
More information about the llvm-commits
mailing list