[CostModel] add tests for math library calls; NFC
authorSanjay Patel <spatel@rotateright.com>
Fri, 13 Nov 2020 23:01:39 +0000 (18:01 -0500)
committerSanjay Patel <spatel@rotateright.com>
Fri, 20 Nov 2020 13:24:49 +0000 (08:24 -0500)
commit1285781fc5a42ad4712ac4866a219c40e3c3d860
tree534b3dfe89da576393950292cc4465d4c6905a1f
parent99cf39bfed6a70b32baa0db82c3cf48973bfa0ff
[CostModel] add tests for math library calls; NFC

This is a partial un-revert of 32dd5870ee31 (originally df09f82599 ).

I'm adding back the baseline tests first, so we don't have
to back-track as much in case there are still problems.
llvm/test/Analysis/CostModel/ARM/intrinsic-cost-kinds.ll
llvm/test/Analysis/CostModel/X86/intrinsic-cost-kinds.ll