[AArch64] Handle extract_subvector(..., 0) in ISel.
authorCharlie Turner <charlie.turner@arm.com>
Mon, 9 Nov 2015 12:45:11 +0000 (12:45 +0000)
committerCharlie Turner <charlie.turner@arm.com>
Mon, 9 Nov 2015 12:45:11 +0000 (12:45 +0000)
commite6e427c6b34415a5136db926df0597ed73e1b944
tree585938ca9c01aa4cd73bcecc374e70e18e36f327
parentf60aec48e9b727a4dc2fe2914c61baa37208f8d3
[AArch64] Handle extract_subvector(..., 0) in ISel.

Summary:
Lowering this pattern early to an `EXTRACT_SUBREG` was making it impossible to match larger patterns in tblgen that use `extract_subvector(..., 0)` as part of the their input pattern.

It seems like there will exist somewhere a better way of specifying this pattern over all relevant register value types, but I didn't manage to find it.

Reviewers: t.p.northover, jmolloy

Subscribers: aemerson, llvm-commits, rengolin

Differential Revision: http://reviews.llvm.org/D14207

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252464 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64ISelLowering.cpp
lib/Target/AArch64/AArch64InstrInfo.td