OSDN Git Service

[ARM] GlobalISel: Support loading from the stack
authorDiana Picus <diana.picus@linaro.org>
Mon, 19 Dec 2016 11:26:31 +0000 (11:26 +0000)
committerDiana Picus <diana.picus@linaro.org>
Mon, 19 Dec 2016 11:26:31 +0000 (11:26 +0000)
commitabc24acb9fd1209457864732eb0a772dd6d95ed6
treebd9f1c7585598c5deec87c17c13e9a8bc4ad7be4
parent0fd1a2cc65a3642d07e4da99e6547818868e64e3
[ARM] GlobalISel: Support loading from the stack

Add support for selecting simple G_LOAD and G_FRAME_INDEX instructions (32-bit
scalars only). This will be useful for functions that need to pass arguments on
the stack.

First part of https://reviews.llvm.org/D27195.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290096 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstructionSelector.cpp
lib/Target/ARM/ARMLegalizerInfo.cpp
lib/Target/ARM/ARMRegisterBankInfo.cpp
test/CodeGen/ARM/GlobalISel/arm-instruction-select.mir
test/CodeGen/ARM/GlobalISel/arm-legalizer.mir