[PATCH] D78973: [X86][CostModel] Correct the costs for truncate to a mask register with avx512
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 27 17:48:45 PDT 2020
craig.topper created this revision.
craig.topper added reviewers: spatel, RKSimon.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
craig.topper updated this revision to Diff 260505.
craig.topper added a comment.
Upload the complete patch.
I've modified isTruncateFree to get an accurate cost for types that need to be split. I'm planning to look into fixing it for all vectors, but need more cost cleanups first.
https://reviews.llvm.org/D78973
Files:
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86TargetTransformInfo.cpp
llvm/test/Analysis/CostModel/X86/cast.ll
llvm/test/Analysis/CostModel/X86/min-legal-vector-width.ll
llvm/test/Analysis/CostModel/X86/trunc.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78973.260505.patch
Type: text/x-patch
Size: 37886 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200428/ad6276be/attachment.bin>
More information about the llvm-commits
mailing list