[PATCH] D54478: [InstCombine] fold funnel shift amount based on demanded bits
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 13 11:23:27 PST 2018
spatel updated this revision to Diff 173889.
spatel marked 3 inline comments as done.
spatel added a comment.
Patch updated:
Fix the logic - for non-power-of-2 bitwidths, all bets are off.
https://reviews.llvm.org/D54478
Files:
lib/Transforms/InstCombine/InstCombineCalls.cpp
test/Transforms/InstCombine/fsh.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54478.173889.patch
Type: text/x-patch
Size: 4881 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181113/b683bf85/attachment.bin>
More information about the llvm-commits
mailing list