[llvm] [RISCV][GISel] Remove s32 support for G_CTPOP/CTLZ/CTTZ on RV64. (PR #115101)
Michael Maitland via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 7 09:51:04 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
----------------
michaelmaitland wrote:
Is this needed or was this incorrect previously?
https://github.com/llvm/llvm-project/pull/115101
More information about the llvm-commits
mailing list