[PATCH] D28675: [DAGCombine] require UnsafeFPMath for re-association of addition

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 20 06:56:32 PST 2017


nhaehnle updated this revision to Diff 85133.
nhaehnle added a comment.

Added the DefaultFlags. It does fix @spatel's example for me. Anything else?


https://reviews.llvm.org/D28675

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  test/CodeGen/AMDGPU/fma-combine.ll
  test/CodeGen/AMDGPU/mad-combine.ll
  test/CodeGen/NVPTX/fma-assoc.ll
  test/CodeGen/PowerPC/fma-assoc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28675.85133.patch
Type: text/x-patch
Size: 27207 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170120/c9ddd9be/attachment.bin>


More information about the llvm-commits mailing list