[llvm] [InstCombine] Fold binary op of reductions. (PR #121567)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 9 00:19:21 PST 2025
https://github.com/dtcxzyw approved this pull request.
LGTM. Please wait for additional approval from other reviewers.
IIRC vertical vector ops are always cheaper than horizontal ones. It is suitable to perform this transformation in InstCombine.
https://github.com/llvm/llvm-project/pull/121567
More information about the llvm-commits
mailing list