[llvm] [DAG] SimplifyMultipleUseDemandedBits - bypass ADD nodes if either operand is zero (PR #112588)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 31 10:45:12 PDT 2024
================
@@ -755,8 +755,9 @@ define i16 @sdiv16_constant_srai(i16 %a) nounwind {
; RV32IM-NEXT: lui a1, 6
; RV32IM-NEXT: addi a1, a1, 1639
; RV32IM-NEXT: mul a0, a0, a1
-; RV32IM-NEXT: srli a1, a0, 31
; RV32IM-NEXT: srai a0, a0, 17
+; RV32IM-NEXT: slli a1, a0, 16
----------------
RKSimon wrote:
yes its the same regression
https://github.com/llvm/llvm-project/pull/112588
More information about the llvm-commits
mailing list