[PATCH] D112509: [Instcombine] Add patterns to generate fneg(fabs(x)) instead of fcmp/selects

Usman Nadeem via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 25 20:42:27 PDT 2021


mnadeem created this revision.
mnadeem added reviewers: spatel, lebedev.ri, nikic, efriedma.
Herald added a subscriber: hiraditya.
mnadeem requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

https://alive2.llvm.org/ce/z/WzVqCv


https://reviews.llvm.org/D112509

Files:
  llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
  llvm/test/Transforms/InstCombine/fabs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112509.382174.patch
Type: text/x-patch
Size: 12958 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211026/cec2d81d/attachment-0001.bin>


More information about the llvm-commits mailing list