[PATCH] D39282: DAG: Fold fma (fneg x), K, y -> fma x, -K, y

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 25 02:41:01 PDT 2017


arsenm created this revision.
Herald added subscribers: nhaehnle, wdng.

https://reviews.llvm.org/D39282

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/AMDGPU/fma-combine.ll
  test/CodeGen/AMDGPU/fmuladd.f16.ll
  test/CodeGen/AMDGPU/fmuladd.f32.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39282.120220.patch
Type: text/x-patch
Size: 4956 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171025/cae95a02/attachment.bin>


More information about the llvm-commits mailing list