[PATCH] D19325: DAGCombine: (shl (or x, c1), c2) -> (or (shl x, c2), c1 << c2)
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 13 11:50:38 PDT 2017
efriedma added a comment.
For reference, instcombine does the same transform in InstCombiner::tryFactorization.
I can't really check the AMDGPU tests; otherwise LGTM.
Repository:
rL LLVM
https://reviews.llvm.org/D19325
More information about the llvm-commits
mailing list