[NFCI][CostModel][AMDGPU] Simplify getUserCost
authorSam Parker <sam.parker@arm.com>
Tue, 2 Jun 2020 11:29:42 +0000 (12:29 +0100)
committerSam Parker <sam.parker@arm.com>
Thu, 4 Jun 2020 07:51:28 +0000 (08:51 +0100)
commit6f24ebc4badfebce72b6bf06a4dae82ac409da35
treea91fddf46e008ac61addcfc1df03956c7c6470f1
parent62b127eef6b37a57a647050b0e123f6ac928215f
[NFCI][CostModel][AMDGPU] Simplify getUserCost

Casts and intrinsics are now handled by the default implementation
of getUserCost, so remove them from the backends switch statement.

https://reviews.llvm.org/D80994
llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp