[PATCH] D62963: [DAGCombine] GetNegatedExpression - constant float vector support (PR42105)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 6 08:54:19 PDT 2019


RKSimon created this revision.
RKSimon added reviewers: arsenm, spatel, craig.topper.
Herald added subscribers: nhaehnle, wdng, jvesely.
Herald added a project: LLVM.

Add support for negation of constant build vectors - I haven't enabled handling of undefs in build vector - but can anyone think of a reason that I shouldn't?


Repository:
  rL LLVM

https://reviews.llvm.org/D62963

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/AMDGPU/fneg-fabs.f16.ll
  test/CodeGen/X86/fma_patterns.ll
  test/CodeGen/X86/fma_patterns_wide.ll
  test/CodeGen/X86/fp-fold.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62963.203381.patch
Type: text/x-patch
Size: 16319 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190606/6f956b3a/attachment.bin>


More information about the llvm-commits mailing list