[all-commits] [llvm/llvm-project] 0c2bb8: [DAG] Canonicalize a non-opaque constant to the RH...
Philip Reames via All-commits
all-commits at lists.llvm.org
Fri Sep 18 11:03:59 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0c2bb8a4d53282ce67190ce1071b0e649c2b98c7
https://github.com/llvm/llvm-project/commit/0c2bb8a4d53282ce67190ce1071b0e649c2b98c7
Author: Philip Reames <listmail at philipreames.com>
Date: 2026-09-18 (Fri, 18 Sep 2026)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/X86/combine-mul.ll
M llvm/test/CodeGen/X86/combine-mulo.ll
Log Message:
-----------
[DAG] Canonicalize a non-opaque constant to the RHS of MUL over an opaque one (#224685)
Fix a case noticed in #224494 where we fail to canonicalize a non-opaque
constant to the RHS when both operands are constant, but one of them is
opaque. ("opaque" means created by ConstantHoisting)
We probably have many other instances of this issue, and I do not plan
to pursue this area further.
Assisted-by: Claude Fable 5.1
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list