summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2009-09-11 19:49:06 +0000
committerJim Grosbach <grosbach@apple.com>2009-09-11 19:49:06 +0000
commita1072a85d6f81777e36df6c04b3ad77d10f33710 (patch)
tree1229faf5dab1e8420bf015d8fc847c5477142c2c /llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
parent7e71865ca5a876825a2e43649246119789a35c36 (diff)
downloadbcm5719-llvm-a1072a85d6f81777e36df6c04b3ad77d10f33710.tar.gz
bcm5719-llvm-a1072a85d6f81777e36df6c04b3ad77d10f33710.zip
Update register class references to use the global constant ARM::*RegisterClass names.
llvm-svn: 81556
Diffstat (limited to 'llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp b/llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
index d927dd202e6..f3a47bbc219 100644
--- a/llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
+++ b/llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
@@ -942,7 +942,7 @@ bool ARMLoadStoreOpt::LoadStoreMultipleOpti(MachineBasicBlock &MBB) {
// First advance to the instruction just before the start of the chain.
AdvanceRS(MBB, MemOps);
// Find a scratch register.
- unsigned Scratch = RS->FindUnusedReg(&ARM::GPRRegClass);
+ unsigned Scratch = RS->FindUnusedReg(ARM::GPRRegisterClass);
// Process the load / store instructions.
RS->forward(prior(MBBI));
OpenPOWER on IntegriCloud