[ARM GlobalISel] Support G_GEP for Thumb2
authorDiana Picus <diana.picus@linaro.org>
Tue, 5 Feb 2019 10:21:37 +0000 (10:21 +0000)
committerDiana Picus <diana.picus@linaro.org>
Tue, 5 Feb 2019 10:21:37 +0000 (10:21 +0000)
commite24b104a112bfa6f36d93d32a5640639c32d2d4b
treefd633df47e5e80cbd3302ccb849e5fcffab5dfc9
parentdccfaff304f014006a1649e71f682ab4d08bf0ae
[ARM GlobalISel] Support G_GEP for Thumb2

Same as ARM, but use a different opcode in the instruction selection.

llvm-svn: 353151
llvm/lib/Target/ARM/ARMInstructionSelector.cpp
llvm/lib/Target/ARM/ARMLegalizerInfo.cpp
llvm/test/CodeGen/ARM/GlobalISel/arm-legalize-load-store.mir
llvm/test/CodeGen/ARM/GlobalISel/arm-legalizer.mir
llvm/test/CodeGen/ARM/GlobalISel/thumb-select-load-store.mir