[ARM] Factor out base-updating VLD/VST combiner function. NFC.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Tue, 9 Dec 2014 21:30:00 +0000 (21:30 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Tue, 9 Dec 2014 21:30:00 +0000 (21:30 +0000)
commitb31fba1613d98e6f3bb4fc2a906f52effa7b631a
treec1de5a9cb34f94ea4f6f1166363262b8a7972a0d
parent2316746e40a6fdb2d79efd0838095d087d73ce65
[ARM] Factor out base-updating VLD/VST combiner function. NFC.

Move the combiner-state check into another function, add a few
small comments, and use a more general type in a cast<>.

In preparation for a future patch.

llvm-svn: 223834
llvm/lib/Target/ARM/ARMISelLowering.cpp