Temporarily Revert "[CostModel] remove cost-kind predicate for intrinsics in basic...
authorEric Christopher <echristo@gmail.com>
Fri, 20 Nov 2020 05:59:16 +0000 (21:59 -0800)
committerEric Christopher <echristo@gmail.com>
Fri, 20 Nov 2020 06:10:23 +0000 (22:10 -0800)
commit32dd5870ee31af8ff895e6e2522f46182901d1b6
treea8d493479b05e598bda022126f202cd56c3c023d
parent2583d8eb08073d3c1e06b21b1c4216d0ab7a0909
Temporarily Revert "[CostModel] remove cost-kind predicate for intrinsics in basic TTI implementation"
as it's causing crashes in the optimizer. A reduced testcase has been posted as a follow-up.

This reverts commit f7eac51b9b3f780c96ca41913293851c5acb465b.

Temporarily Revert "[CostModel] make default size cost for libcalls small (again)" as it depends upon the primary revert.

This reverts commit 8ec7ea3ddce7379e13e8dfb4a5260a6d2004aa1c.

Temporarily Revert "[CostModel] add tests for math library calls; NFC" as it depends upon the primary revert.

This reverts commit df09f825995b10da03f148133c119f52c94fd6e4.

Temporarily Revert "[LoopUnroll] add test for full unroll that is sensitive to cost-model; NFC" as it depends upon the primary revert.

This reverts commit 618d555e8d926a83161774df2035519c387269db.
llvm/include/llvm/CodeGen/BasicTTIImpl.h
llvm/test/Analysis/CostModel/ARM/arith-overflow.ll
llvm/test/Analysis/CostModel/ARM/arith-ssat.ll
llvm/test/Analysis/CostModel/ARM/arith-usat.ll
llvm/test/Analysis/CostModel/ARM/intrinsic-cost-kinds.ll
llvm/test/Analysis/CostModel/X86/fmaxnum-size-latency.ll
llvm/test/Analysis/CostModel/X86/fminnum-size-latency.ll
llvm/test/Analysis/CostModel/X86/intrinsic-cost-kinds.ll
llvm/test/Transforms/LoopUnroll/AArch64/thresholdO3-cost-model.ll [deleted file]
llvm/test/Transforms/LoopVectorize/X86/gather_scatter.ll