[CostModel][X86] Add SHLD/SHRD scalar funnel shift costs
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 12 Nov 2018 17:56:59 +0000 (17:56 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 12 Nov 2018 17:56:59 +0000 (17:56 +0000)
commit49e93d2f0e9949b82e77a45ebcad075603359b4a
tree9567884054ec9b6b7da12a5c379aac32011215ed
parent970214434116e3521d91cc30827e23e6f908bb60
[CostModel][X86] Add SHLD/SHRD scalar funnel shift costs

The costs match the typical reg-reg cases - the RMW case can be a lot slower but we don't model that at this level

llvm-svn: 346683
llvm/lib/Target/X86/X86TargetTransformInfo.cpp
llvm/test/Analysis/CostModel/X86/fshl.ll
llvm/test/Analysis/CostModel/X86/fshr.ll