[PATCH] D42032: [LLVM][PASSES][InstCombine] Fix (a + a + ...) / a cases
Anton Bikineev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 18 17:49:39 PST 2018
AntonBikineev updated this revision to Diff 130529.
AntonBikineev added a comment.
> Is it better to just add that to instcombine and forego adding the special-case with constant shift amount to instsimplify?
Yes, I think so. Thanks for indicating this.
https://reviews.llvm.org/D42032
Files:
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
test/Transforms/InstCombine/div-shift.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42032.130529.patch
Type: text/x-patch
Size: 4541 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180119/3dd3cca8/attachment.bin>
More information about the llvm-commits
mailing list