summaryrefslogtreecommitdiffstats
path: root/llvm/test/Analysis/CostModel/X86/trunc.ll
Commit message (Collapse)AuthorAgeFilesLines
* [Cost][X86] Add more missing vector truncation costsSimon Pilgrim2019-09-221-49/+49
| | | | | | The AVX512 cases still need some work to correct recognise the PMOV truncation cases. llvm-svn: 372514
* [Cost][X86] Add v2i64 truncation costsSimon Pilgrim2019-09-221-51/+51
| | | | | | | | We are missing costs for a lot of truncation cases, I'm hoping to address all the 'zero cost' cases in trunc.ll I thought this was a vector widening side effect, but even before this we had some interesting LV decisions (notably over indvars) being made due to these zero costs. llvm-svn: 372498
* [CostModel][X86] Add truncate cost tests to cover all legal destination typesSimon Pilgrim2019-01-031-9/+137
| | | | | | We were only testing costs for legal source vector element counts llvm-svn: 350323
* [X86] Add exhaustive cost model testing for sext/zext for all vector types ↵Craig Topper2018-11-271-0/+98
| | | | | | | | | | we reasonably support. Add cost model tests for truncating to vXi1. Our sext/zext cost modeling was somewhat incomplete. And had no coverage for the fact that avx512bw v32i16/v64i8 types return a scalarization cost. Truncates are a whole different mess because isTruncateFree is returning true for vectors when it shouldn't and that's the fall back for anything not in the tables. llvm-svn: 347719
* [CostModel][X86] Split off BtVer2 cost checksSimon Pilgrim2018-04-201-1/+31
| | | | llvm-svn: 330433
* [CostModel][X86] Add some specific cpu targets to the cost modelsSimon Pilgrim2018-04-131-0/+4
| | | | | | We're mostly testing with generic isa attributes, but PR36550 will require testing of specific target's scheduler models as well. llvm-svn: 330056
* [CostModel][X86] Regenerate vector integer truncation cost tests with ↵Simon Pilgrim2018-04-071-118/+191
| | | | | | update_analyze_test_checks.py llvm-svn: 329500
* [X86] Add AVX512 check lines to the cost model truncate test.Craig Topper2017-10-031-0/+13
| | | | llvm-svn: 314758
* [CostModel][X86] Added tests for current integer trunc costsSimon Pilgrim2016-10-231-0/+141
llvm-svn: 284938
OpenPOWER on IntegriCloud