OSDN Git Service

GlobalISel: freeze reserved regs after IRTranslator.
authorTim Northover <tnorthover@apple.com>
Tue, 12 Jul 2016 22:23:42 +0000 (22:23 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 12 Jul 2016 22:23:42 +0000 (22:23 +0000)
commit5ae8ffe4369a7ed8ca4c5b4304f7601254642a5f
tree9e4a2ded626cf781747a400c7195768da5ae5320
parent8a85be72363dd7b7a5d4315f5e6c6cab35245e51
GlobalISel: freeze reserved regs after IRTranslator.

We can freeze the registers after the MachineFrameInfo has been configured (by
telling it about calls, inline asm, ...). This doesn't happen at all yet, but
will be part of IR translation.

Fixes -verify-machineinstrs assertion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275221 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/GlobalISel/IRTranslator.cpp
test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll