[PATCH] D82065: [AMDGPU][CostModel] Add fneg cost estimation
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 17 18:22:49 PDT 2020
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp:553
+ case ISD::FNEG:
+ return TLI->isFNegFree(SLT) ? 0 : LT.first * NElts;
default:
----------------
If you're putting in in target code, might as well just return 0
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82065/new/
https://reviews.llvm.org/D82065
More information about the llvm-commits
mailing list