[llvm] [InstCombine] Reassociate commutative binops over select/phi/minmax (PR #187493)

Mitch Briles via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 17 01:57:47 PDT 2026


MitchBriles wrote:

@dtcxzyw I'm still not sure whether to use `OuterOp.dropUnknownNonDebugMetadata();`, `dropUBImplyingAttrsAndMetadata`, or `dropUBImplyingAttrsAndUnknownMetadata`. Also had to change tests after rebase due to a change to `!noundef`.

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


More information about the llvm-commits mailing list