diff options
Diffstat (limited to 'llvm/test/TableGen/GlobalISelEmitter.td')
-rw-r--r-- | llvm/test/TableGen/GlobalISelEmitter.td | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/TableGen/GlobalISelEmitter.td b/llvm/test/TableGen/GlobalISelEmitter.td index 636fd012fb3..a11e8d34c53 100644 --- a/llvm/test/TableGen/GlobalISelEmitter.td +++ b/llvm/test/TableGen/GlobalISelEmitter.td @@ -21,7 +21,8 @@ class I<dag OOps, dag IOps, list<dag> Pat> //===- Test the function definition boilerplate. --------------------------===// // CHECK: bool MyTargetInstructionSelector::selectImpl(MachineInstr &I) const { -// CHECK: const MachineRegisterInfo &MRI = I.getParent()->getParent()->getRegInfo(); +// CHECK: MachineFunction &MF = *I.getParent()->getParent(); +// CHECK: const MachineRegisterInfo &MRI = MF.getRegInfo(); //===- Test a simple pattern with regclass operands. ----------------------===// |