[PATCH] D20931: [X86] Reduce the width of multiplification when its operands are extended from i8 or i16
Wei Mi via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 6 10:23:46 PDT 2016
wmi updated this revision to Diff 59745.
wmi added a comment.
Addressed Eli and Michael's comments.
A major change is: The previous way to choose shrinking modes by only looking at sext and zext is incorrect. I should analyze and use the value ranges of mul operands to determine which shrinking mode should be chosen. Different shrinking modes and their allowed value ranges are described in the comment of reduceVMULWidth.
Repository:
rL LLVM
http://reviews.llvm.org/D20931
Files:
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/shrink_vmul.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20931.59745.patch
Type: text/x-patch
Size: 50367 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160606/a68e932c/attachment.bin>
More information about the llvm-commits
mailing list