mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Fix up an unused variable warning caused by TRI->isVirtualRegister() -> Register::isVirtualRegister()
llvm-svn: 367637
This commit is contained in:
parent
c919accf95
commit
f62b072672
@ -1016,6 +1016,8 @@ bool LinearizedRegion::hasNoDef(unsigned Reg, MachineRegisterInfo *MRI) {
|
||||
// before are no longer register kills.
|
||||
void LinearizedRegion::removeFalseRegisterKills(MachineRegisterInfo *MRI) {
|
||||
const TargetRegisterInfo *TRI = MRI->getTargetRegisterInfo();
|
||||
(void)TRI; // It's used by LLVM_DEBUG.
|
||||
|
||||
for (auto MBBI : MBBs) {
|
||||
MachineBasicBlock *MBB = MBBI;
|
||||
for (auto &II : *MBB) {
|
||||
|
Loading…
Reference in New Issue
Block a user