[PATCH] D69842: [InstCombine] canonicalize shift+logic+shift to reduce dependency chain
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 6 07:13:13 PST 2019
spatel updated this revision to Diff 228059.
spatel marked 2 inline comments as done.
spatel added a comment.
Patch updated:
Assert that the input argument is a shift; if that's not true, we're being called from some unexpected place.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69842/new/
https://reviews.llvm.org/D69842
Files:
llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
llvm/test/Transforms/InstCombine/bswap.ll
llvm/test/Transforms/InstCombine/shift-logic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69842.228059.patch
Type: text/x-patch
Size: 9663 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191106/92e489a1/attachment.bin>
More information about the llvm-commits
mailing list