[PATCH] D146928: [NaryReassociate] Transform expression (X << C1) + C2 to (X + C3) << C1,
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 30 02:01:29 PDT 2023
mkazantsev added a comment.
Do you know why at all InstCombine would want to transform `(X + const1) << 22` into `(X << 22 + const2)`? By itself it doesn't seem profitable. Does it enable any useful further transforms?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146928/new/
https://reviews.llvm.org/D146928
More information about the llvm-commits
mailing list