Simon Pilgrim
4455c5cdea
[CostModel][X86] Update RUN -passes=* to double quotes to appease update scripts on windows
2022-03-18 11:44:18 +00:00
Arthur Eubanks
15ba588d6d
[test] Migrate '-analyze -cost-model' to '-passes=print<cost-model>'
2022-02-09 15:42:16 -08:00
Simon Pilgrim
5939c642ae
[CostModel][X86] Add fast math tests for float reductions
...
As noticed on D105432 we didn't have any coverage to distinguish between fast/exact float reductions
2021-07-19 13:01:28 +01:00
Simon Pilgrim
fe9403df06
[CostModel][X86] Remove unused check-prefixes
2020-11-10 12:48:35 +00:00
Amara Emerson
322d0afd87
[llvm][mlir] Promote the experimental reduction intrinsics to be first class intrinsics.
...
This change renames the intrinsics to not have "experimental" in the name.
The autoupgrader will handle legacy intrinsics.
Relevant ML thread: http://lists.llvm.org/pipermail/llvm-dev/2020-April/140729.html
Differential Revision: https://reviews.llvm.org/D88787
2020-10-07 10:36:44 -07:00
Craig Topper
5625e6ab37
[X86] Improve min/max reduction costs.
...
This is similar to what I recently did for getArithmeticReductionCost.
I'm trying to account for the narrowing from 512->256->128 as we go.
I've also added a new helper method getMinMaxCost that tries to
handle the cases where we have native min/max instructions and
fall back to cmp+select when we don't.
Differential Revision: https://reviews.llvm.org/D76634
2020-04-09 17:28:50 -07:00
Craig Topper
d74533a18b
[X86] Add sse4.1 RUNs lines to the min/max reduction cost model tests.
...
Mostly this matches the sse4.2 we already had command lines for.
Except in the i64 case since sse4.1 doesn't have pcmpgtq.
2020-03-29 16:05:35 -07:00
Craig Topper
c0aa97b632
[X86] Add cost model test cases for fmin/fmax reduction.
2020-03-28 17:12:49 -07:00