[PATCH] D113371: [X86] combinePMULH - recognise 'cheap' trunctions via PACKS/PACKUS as well as SEXT/ZEXT
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 30 10:05:55 PST 2021
RKSimon updated this revision to Diff 390751.
RKSimon added a comment.
Improved comments to explain the cheap packs/truncs which mean the mul->mulh are cost effective.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113371/new/
https://reviews.llvm.org/D113371
Files:
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/pmulh.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113371.390751.patch
Type: text/x-patch
Size: 21602 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211130/5dc20e8b/attachment.bin>
More information about the llvm-commits
mailing list