The cost calculation for default case on X86 target does not always
follow correct wayt because of missing 4-th argument in
BaseT::getCastInstrCost() call. Added this missing parameter.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D39687
[SLP] Fix PR35047: Fix default cost model for cast op in X86. ClosedPublic Authored by ABataev on Nov 6 2017, 7:44 AM.
Details Summary The cost calculation for default case on X86 target does not always
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 7 2017, 5:04 AM Closed by commit rL317576: [SLP] Fix PR35047: Fix default cost model for cast op in X86. (authored by ABataev). · Explain WhyNov 7 2017, 6:24 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 121884 llvm/trunk/lib/Target/X86/X86TargetTransformInfo.cpp
llvm/trunk/test/Transforms/SLPVectorizer/X86/cast.ll
llvm/trunk/test/Transforms/SLPVectorizer/X86/load-merge.ll
|