]> granicus.if.org Git - llvm/commit
[DAGCombine] GetNegatedExpression - constant float vector support (PR42105)
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 11 Jun 2019 09:44:33 +0000 (09:44 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 11 Jun 2019 09:44:33 +0000 (09:44 +0000)
commit6317ed58b0378c839ed4c1bc9bb00d7b38a372af
tree51b9cf1e792155c5f8fa78be30b1088057913b98
parent9837211609916dde5f9d64b5a74223ab7fa33601
[DAGCombine] GetNegatedExpression - constant float vector support (PR42105)

Add support for negation of constant build vectors.

Differential Revision: https://reviews.llvm.org/D62963

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363040 91177308-0d34-0410-b5e6-96231b3b80d8
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