AArch64: refactor vector list creation to be more uniform
authorTim Northover <tnorthover@apple.com>
Mon, 11 Nov 2013 03:35:43 +0000 (03:35 +0000)
committerTim Northover <tnorthover@apple.com>
Mon, 11 Nov 2013 03:35:43 +0000 (03:35 +0000)
commit65d1be119b1b5cb279815fe2e1a3b48f86606a3d
treefacaca85e4517dfe3625e51fc757be3ad5273229
parenta77da0579bc141eba62760e21a216e5d3eafd792
AArch64: refactor vector list creation to be more uniform

Instructions taking a vector list (e.g. "ld2 {v0.2d, v1.d2}, [x0]") need a
special register-class to deal with the constraints, and C++ code to support
selection. However, that C++ code can be made reasonably uniform to simplify
the selection process. Hence this patch.

No functionality change, so no tests.

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