[llvm] [Analysis] Optimise mul(const, (udiv %n, const)) during SCEV expansion (PR #212769)

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 30 08:16:05 PDT 2026


================
@@ -599,6 +599,24 @@ Value *SCEVExpander::visitAddExpr(SCEVUseT<const SCEVAddExpr *> S) {
 Value *SCEVExpander::visitMulExpr(SCEVUseT<const SCEVMulExpr *> S) {
   Type *Ty = S->getType();
 
+  // Specializations for 2-operand cases.
----------------
paulwalker-arm wrote:

I don't think you need this comment anymore?

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


More information about the llvm-commits mailing list