summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/PHIElimination.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-02-10 18:45:23 +0000
committerDan Gohman <gohman@apple.com>2008-02-10 18:45:23 +0000
commit3a4be0fdefc64931e6ae95165c529a916e4dd32d (patch)
tree9ffd3d1f95550f841f32371fb7ec29de8d2e0ed5 /llvm/lib/CodeGen/PHIElimination.cpp
parent60fb1d80fe7d72057737e9b81049efbc78244207 (diff)
downloadbcm5719-llvm-3a4be0fdefc64931e6ae95165c529a916e4dd32d.tar.gz
bcm5719-llvm-3a4be0fdefc64931e6ae95165c529a916e4dd32d.zip
Rename MRegisterInfo to TargetRegisterInfo.
llvm-svn: 46930
Diffstat (limited to 'llvm/lib/CodeGen/PHIElimination.cpp')
-rw-r--r--llvm/lib/CodeGen/PHIElimination.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/PHIElimination.cpp b/llvm/lib/CodeGen/PHIElimination.cpp
index 45f1c5da5de..845b1c11d64 100644
--- a/llvm/lib/CodeGen/PHIElimination.cpp
+++ b/llvm/lib/CodeGen/PHIElimination.cpp
@@ -181,7 +181,7 @@ void PNE::LowerAtomicPHINode(MachineBasicBlock &MBB,
std::set<MachineBasicBlock*> MBBsInsertedInto;
for (int i = MPhi->getNumOperands() - 1; i >= 2; i-=2) {
unsigned SrcReg = MPhi->getOperand(i-1).getReg();
- assert(MRegisterInfo::isVirtualRegister(SrcReg) &&
+ assert(TargetRegisterInfo::isVirtualRegister(SrcReg) &&
"Machine PHI Operands must all be virtual registers!");
// Get the MachineBasicBlock equivalent of the BasicBlock that is the
OpenPOWER on IntegriCloud