1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

[MIR-Canon] Fixing warnings in Non-assert builds.

llvm-svn: 329258
This commit is contained in:
Puyan Lotfi 2018-04-05 06:56:44 +00:00
parent af30cac9f9
commit c1b8b371a8

View File

@ -484,7 +484,7 @@ GetVRegRenameMap(const std::vector<TypedVReg> &VRegs,
// (especially when comparing SelectionDAG to GlobalISel generated MIR)
// that in the other file we are just getting an incoming vreg that comes
// from a copy from a frame index. So it's safe to skip by one.
unsigned LastRenameReg = NVC.incrementVirtualVReg();
unsigned LastRenameReg = NVC.incrementVirtualVReg(); (void)LastRenameReg;
DEBUG(dbgs() << "Skipping rename for FI " << LastRenameReg << "\n";);
continue;
} else if (vreg.isCandidate()) {
@ -500,7 +500,7 @@ GetVRegRenameMap(const std::vector<TypedVReg> &VRegs,
FirstCandidate = false;
continue;
} else if (!TargetRegisterInfo::isVirtualRegister(vreg.getReg())) {
unsigned LastRenameReg = NVC.incrementVirtualVReg();
unsigned LastRenameReg = NVC.incrementVirtualVReg(); (void)LastRenameReg;
DEBUG({
dbgs() << "Skipping rename for Phys Reg " << LastRenameReg << "\n";
});