[PATCH] D28846: DAG: Fold fneg into compare with constant into the constant

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 18 21:49:33 PST 2017


arsenm updated this revision to Diff 84930.
arsenm added a comment.

Add tests showing net improvement with multiple uses


https://reviews.llvm.org/D28846

Files:
  lib/CodeGen/SelectionDAG/TargetLowering.cpp
  test/CodeGen/AMDGPU/setcc-fneg-constant.ll
  test/CodeGen/SystemZ/fp-cmp-05.ll
  test/CodeGen/XCore/fneg.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28846.84930.patch
Type: text/x-patch
Size: 12354 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170119/17526f2e/attachment.bin>


More information about the llvm-commits mailing list