TTI: Honour cost model for estimating cost of vector-intrinsic and calls.
Update tests in correspondance with changes in cost model.
This is the fifth of 6 patches for enabling vectorization of calls.
Paths
| Differential D8096
TTI: Honour cost model for estimating cost of vector-intrinsic and calls. ClosedPublic Authored by mzolotukhin on Mar 5 2015, 7:57 PM.
Details
Summary TTI: Honour cost model for estimating cost of vector-intrinsic and calls. This is the fifth of 6 patches for enabling vectorization of calls.
Diff Detail Event Timelinemzolotukhin retitled this revision from to TTI: Honour cost model for estimating cost of vector-intrinsic and calls.. mzolotukhin updated this object.
This revision is now accepted and ready to land.Mar 8 2015, 2:53 PM
Revision Contents
Diff 21327 include/llvm/CodeGen/BasicTTIImpl.h
test/Analysis/CostModel/X86/intrinsic-cost.ll
test/Analysis/CostModel/X86/scalarize.ll
test/Transforms/LoopVectorize/X86/vect.omp.force.ll
|
Why are you changing the default cost for intrinsics from one to ten? I believe it used to be one, and that was because we made an explicit decision to make intrinsics default to something cheap.