llvm-project/llvm/test/Analysis/CostModel
Craig Topper 765348298c [CostModel] Update default cost model for sadd/ssub overflow to match TargetLowering
The expansion for these was updated in https://reviews.llvm.org/D47927 but the cost model was not adjusted.

I believe the cost model was also incorrect for the old expansion.
The expansion prior to D47927 used 3 icmps using LHS, RHS, and Result
to calculate theirs signs. Then 2 icmps to compare the signs. Followed
by an And. The previous cost model was using 3 icmps and 2 selects.
Digging back through git blame, those 2 selects in the cost model used to
be 2 icmps, but were changed in https://reviews.llvm.org/D90681

Differential Revision: https://reviews.llvm.org/D110739
2021-09-30 09:41:14 -07:00
..
AArch64 [CostModel] Update default cost model for sadd/ssub overflow to match TargetLowering 2021-09-30 09:41:14 -07:00
AMDGPU [NFC][AMDGPU] Improve cost model tests coverage. 2021-09-30 18:13:17 +03:00
ARM [CostModel] Update default cost model for sadd/ssub overflow to match TargetLowering 2021-09-30 09:41:14 -07:00
PowerPC Recommit "[Matrix] Overload stride arg in matrix.columnwise.load/store." 2021-08-12 18:31:57 +01:00
RISCV [RISCV] Expand unaligned fixed-length vector memory accesses 2021-06-02 09:27:44 +01:00
SystemZ Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02:00
X86 [CostModel] Update default cost model for sadd/ssub overflow to match TargetLowering 2021-09-30 09:41:14 -07:00
free-intrinsics-datalayout.ll [Tests] Fix incorrect noalias metadata 2021-09-18 20:51:00 +02:00
free-intrinsics-no_info.ll [Tests] Fix incorrect noalias metadata 2021-09-18 20:51:00 +02:00
no_info.ll