mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-17 18:24:34 +00:00
MIR Parser: Run the machine verifier after initializing machine functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243128 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -325,6 +325,10 @@ bool MIRParserImpl::initializeMachineFunction(MachineFunction &MF) {
|
||||
PFS))
|
||||
return true;
|
||||
}
|
||||
// FIXME: This is a temporary workaround until the reserved registers can be
|
||||
// serialized.
|
||||
MF.getRegInfo().freezeReservedRegs(MF);
|
||||
MF.verify();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user