[llvm] [DAGCombine] Remove oneuse restrictions for RISCV in folding (shl (add_nsw x, c1)), c2) and folding (shl(sext(add x, c1)), c2) in some scenarios (PR #101294)

via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 4 20:29:50 PST 2024


================
@@ -17923,6 +17931,7 @@ AArch64TargetLowering::isDesirableToCommuteWithShift(const SDNode *N,
       }
     }
   }
+
----------------
LiqinWeng wrote:

removed

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


More information about the llvm-commits mailing list