[TTI] Move abs/smax/smin/umax/umin cost expansion to ICA getIntrinsicInstrCost variant
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 29 Jul 2020 12:32:05 +0000 (13:32 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 29 Jul 2020 12:44:38 +0000 (13:44 +0100)
commit75182104f09b0df288a8c7eec3701e3246805457
tree37aed720d5e3d5c463f37f1577b682f2ecf7d677
parent823ffef009152ba1210740c44d472d1d6e56afa3
[TTI] Move abs/smax/smin/umax/umin cost expansion to ICA getIntrinsicInstrCost variant

This will simplify target overrides, and matches what we do for most integer intrinsic costs.
llvm/include/llvm/CodeGen/BasicTTIImpl.h