summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2019-05-28 17:54:04 +0000
committerRoman Lebedev <lebedev.ri@gmail.com>2019-05-28 17:54:04 +0000
commit6a24c9b9abd0f0f46161a93aa908ce4b32190db8 (patch)
tree056473201736cc8326050d70df78166f34fdd98f /llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
parent1499f65ac1702d0858c1f7a5406929040a2e6e1e (diff)
downloadbcm5719-llvm-6a24c9b9abd0f0f46161a93aa908ce4b32190db8.tar.gz
bcm5719-llvm-6a24c9b9abd0f0f46161a93aa908ce4b32190db8.zip
[DAGCombiner][X86][AArch64] (x - C) + y -> (x + y) - C fold
Summary: Only vector tests are being affected here, since subtraction by scalar constant is rewritten as addition by negated constant. No surprising test changes. https://rise4fun.com/Alive/pbT Reviewers: RKSimon, craig.topper, spatel Reviewed By: RKSimon Subscribers: javed.absar, kristof.beyls, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D62257 llvm-svn: 361854
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud