Enable TTIImpl::getUserCost to handle FNeg so that getInstructionThroughput can call that instead. This means we can remove the code in the AMDGPU backend too.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D81635
[NFCI][CostModel] Unify FNeg cost ClosedPublic Authored by samparker on Jun 11 2020, 2:00 AM.
Details
Summary Enable TTIImpl::getUserCost to handle FNeg so that getInstructionThroughput can call that instead. This means we can remove the code in the AMDGPU backend too.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 14 2020, 6:23 PM Closed by commit rG321ebfd1753a: [NFCI][CostModel] Unify FNeg cost (authored by samparker). · Explain WhyJun 15 2020, 1:03 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 270675 llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
llvm/lib/Analysis/TargetTransformInfo.cpp
llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
|