[PATCH] D15545: TTI: Use 0 for cost of fabs if free

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 15 15:42:57 PST 2015


arsenm created this revision.
arsenm added a subscriber: llvm-commits.
Herald added a reviewer: tstellarAMD.

Ideally this would also happen for fneg, but that
isn't a distinct operation in the IR.

http://reviews.llvm.org/D15545

Files:
  include/llvm/CodeGen/BasicTTIImpl.h
  test/Analysis/CostModel/AMDGPU/fabs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15545.42929.patch
Type: text/x-patch
Size: 4798 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151215/92c3870c/attachment.bin>


More information about the llvm-commits mailing list