OSDN Git Service

[GlobalISel] Set and require RegBankSelected MF property.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Tue, 2 Aug 2016 16:17:18 +0000 (16:17 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Tue, 2 Aug 2016 16:17:18 +0000 (16:17 +0000)
commit7abac75bf93ca4730ecc4d99970cfe88087f4aaa
treec7247e806d8140cf24540200691895022440acbc
parent1f82c34de8c1a5feff27a8b3e6a1414fd987fa8c
[GlobalISel] Set and require RegBankSelected MF property.

The InstructionSelect pass assumes that RegBankSelect ran; set the
property on all tests (thereby verifying the test inputs) and require
it in the pass.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277477 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/GlobalISel/InstructionSelect.h
include/llvm/CodeGen/GlobalISel/RegBankSelect.h
test/CodeGen/AArch64/GlobalISel/arm64-instructionselect.mir
test/CodeGen/AArch64/GlobalISel/arm64-regbankselect.mir