diff options
author | David Green <david.green@arm.com> | 2021-06-05 19:54:42 +0100 |
---|---|---|
committer | David Green <david.green@arm.com> | 2021-06-05 19:54:42 +0100 |
commit | 12f53e5392d699dbba564de3f2dff4802680f261 (patch) | |
tree | 5a8f1473f02455956d956a155dc6bf631d3aee70 /llvm/lib/Support/BranchProbability.cpp | |
parent | be51737f59875fd8b3451fc7a8363be1283e0ca2 (diff) | |
download | llvm-12f53e5392d699dbba564de3f2dff4802680f261.zip llvm-12f53e5392d699dbba564de3f2dff4802680f261.tar.gz llvm-12f53e5392d699dbba564de3f2dff4802680f261.tar.bz2 |
[AArch64] Remove AArch64ISD::NEG
This NEG node is just a vector negation, easily represented as a SUB
zero. Removing it from the one place it is generated is essentially an
NFC, but can allow some extra folding. The updated tests are now loading
different constant literals, which have already been negated.
Differential Revision: https://reviews.llvm.org/D103703
Diffstat (limited to 'llvm/lib/Support/BranchProbability.cpp')
0 files changed, 0 insertions, 0 deletions