[PATCH] D35722: [DAGCombine] Improve (sra (sra x, c1), c2) -> (sra x, (add c1, c2)) folding
Andrew Zhogin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 24 01:06:40 PDT 2017
andrew.zhogin added a comment.
Isn't it a little regression for scalar types?
N1.getValueType() == N0.getOperand(1).getValueType()
zeroExtendToMatch(c1, c2, 1 /* Overflow Bit */);
There is no vector analog of zeroExtendToMatch currently, right?
Btw, I don't think I have rights to accept the revision.
More information about the llvm-commits