Add an optimization that looks for a specific pair-wise add pattern and generates...
authorTanya Lattner <tonic@nondot.org>
Tue, 14 Jun 2011 23:48:48 +0000 (23:48 +0000)
committerTanya Lattner <tonic@nondot.org>
Tue, 14 Jun 2011 23:48:48 +0000 (23:48 +0000)
commit189531f317d0b3a082f78cc2da44128e4ff8e17d
tree7615494269345cd271399deab7df1cc67f4a10e9
parenta6ad8236757f5cf37273a34c219eb465d97769dd
Add an optimization that looks for a specific pair-wise add pattern and generates a vpaddl instruction instead of scalarizing the add.
Includes a test case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133027 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/ARM/vpadd.ll