[PATCH] D47112: [CVP] Add tests for lshr width reduction
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat May 19 16:45:54 PDT 2018
lebedev.ri created this revision.
lebedev.ri added reviewers: spatel, bixia, jlebar, sanjoy, anna, davide, reames.
Counter-proposal to https://reviews.llvm.org/D46760.
I suppose, continuation of https://reviews.llvm.org/D44102.
If the second operand of `udiv`/`urem` is power-of-two,
instcombine will transform that into `lshr`/`and`,
and CVP does not handle them.
https://godbolt.org/g/hhT9bc
Repository:
rL LLVM
https://reviews.llvm.org/D47112
Files:
test/Transforms/CorrelatedValuePropagation/lshr.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47112.147686.patch
Type: text/x-patch
Size: 17137 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180519/aa891abb/attachment.bin>
More information about the llvm-commits
mailing list