[PATCH] D44683: [SelectionDAG] Removing FABS folding from DAGCombiner

Mikhail Dvoretckii via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 20 08:28:49 PDT 2018


mike.dvoretsky created this revision.
mike.dvoretsky added reviewers: spatel, bogner.
Herald added a subscriber: llvm-commits.

Since https://reviews.llvm.org/D44550 introduced FABS pattern folding in InstCombine, this patch removes the now-redundant code that causes https://bugs.llvm.org/show_bug.cgi?id=36600.

The llc test was removed as InstCombine isn't part of the llc pipeline.


Repository:
  rL LLVM

https://reviews.llvm.org/D44683

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/X86/fabs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44683.139130.patch
Type: text/x-patch
Size: 3254 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180320/092536df/attachment.bin>


More information about the llvm-commits mailing list