OSDN Git Service

Refactor the multiply-accumulate combines to act on
authorArtyom Skrobov <Artyom.Skrobov@arm.com>
Fri, 10 Mar 2017 12:41:33 +0000 (12:41 +0000)
committerArtyom Skrobov <Artyom.Skrobov@arm.com>
Fri, 10 Mar 2017 12:41:33 +0000 (12:41 +0000)
commit180a2008449f84cdd6d08138aa7b87b36a622d2a
treed43c4ce25fa7b271e27d5a2c7093e468f365f6e8
parenta312eded5f3c8d01458cd60b7355353e7ac01055
Refactor the multiply-accumulate combines to act on
ARMISD::ADD[CE] nodes, instead of the generic ISD::ADD[CE].

Summary:
This allows for some simplification because the combines
are no longer limited to just one go at the node before
it gets legalized into an ARM target-specific one.

Reviewers: jmolloy, rogfer01

Subscribers: aemerson, llvm-commits, rengolin

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297453 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelDAGToDAG.cpp
lib/Target/ARM/ARMISelLowering.cpp