diff options
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZCopyPhysRegs.cpp')
| -rw-r--r-- | llvm/lib/Target/SystemZ/SystemZCopyPhysRegs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZCopyPhysRegs.cpp b/llvm/lib/Target/SystemZ/SystemZCopyPhysRegs.cpp index 763aa8c0e41f..9fc6765dbbf7 100644 --- a/llvm/lib/Target/SystemZ/SystemZCopyPhysRegs.cpp +++ b/llvm/lib/Target/SystemZ/SystemZCopyPhysRegs.cpp @@ -100,7 +100,7 @@ bool SystemZCopyPhysRegs::visitMBB(MachineBasicBlock &MBB) { } bool SystemZCopyPhysRegs::runOnMachineFunction(MachineFunction &F) { - TII = static_cast<const SystemZInstrInfo *>(F.getSubtarget().getInstrInfo()); + TII = F.getSubtarget<SystemZSubtarget>().getInstrInfo(); MRI = &F.getRegInfo(); bool Modified = false; |
