[CostModel] add cl option to check size and latency costs; NFC
authorSanjay Patel <spatel@rotateright.com>
Sun, 27 Sep 2020 13:52:56 +0000 (09:52 -0400)
committerSanjay Patel <spatel@rotateright.com>
Sun, 27 Sep 2020 13:52:56 +0000 (09:52 -0400)
commit816b0a9c9f46cbfce253f49dad7cbf93867307ac
tree02b4c9de00fc48bff5d04560ad57bb594574c5c5
parent645c53a9d923c8d7f6a4b49aa02126aec23dc667
[CostModel] add cl option to check size and latency costs; NFC

This is a setting used by SimplifyCFG, LoopUnroll, and InlineCost,
but there is apparently no direct test coverage for any of those
cost model values.
llvm/lib/Analysis/CostModel.cpp
llvm/test/Analysis/CostModel/X86/fmaxnum-size-latency.ll [new file with mode: 0644]
llvm/test/Analysis/CostModel/X86/fminnum-size-latency.ll [new file with mode: 0644]