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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D78973
[X86][CostModel] Correct the costs for truncate to a mask register with avx512 ClosedPublic Authored by craig.topper on Apr 27 2020, 5:23 PM.
Details Summary 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.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 28 2020, 3:49 AM Closed by commit rGd42192c50f7b: [X86][CostModel] Correct the costs for truncate to a mask register with avx512 (authored by craig.topper). · Explain WhyApr 28 2020, 10:45 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 260699 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
|