[PATCH] D27903: AMDGPU: Form more FMAs if fusion is allowed

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 18 13:50:14 PST 2016


arsenm created this revision.
arsenm added a reviewer: nhaehnle.
arsenm added a subscriber: llvm-commits.
Herald added a reviewer: tstellarAMD.
Herald added subscribers: tony-tye, yaxunl, wdng, kzhuravl.

Extend the existing fadd/fsub->fmad combines to produce
FMA if allowed.


https://reviews.llvm.org/D27903

Files:
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/SIISelLowering.h
  test/CodeGen/AMDGPU/fmuladd.f16.ll
  test/CodeGen/AMDGPU/fmuladd.f32.ll
  test/CodeGen/AMDGPU/fmuladd.f64.ll
  test/CodeGen/AMDGPU/fmuladd.ll
  test/CodeGen/AMDGPU/mad-sub.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27903.81890.patch
Type: text/x-patch
Size: 97205 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161218/2908142b/attachment.bin>


More information about the llvm-commits mailing list