summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelLowering.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-03-04 03:33:22 +0000
committerCraig Topper <craig.topper@gmail.com>2012-03-04 03:33:22 +0000
commit420525ce3b93e43c5438c7d6f958084fcb6a02cc (patch)
treeb592d2156bea63aca7c3ec4bbe7bb4d936261e11 /llvm/lib/Target/ARM/ARMISelLowering.cpp
parent6dedbae4297dc810263b7505845b94f0e59245c6 (diff)
downloadbcm5719-llvm-420525ce3b93e43c5438c7d6f958084fcb6a02cc.tar.gz
bcm5719-llvm-420525ce3b93e43c5438c7d6f958084fcb6a02cc.zip
Use uint16_t to store registers in callee saved register tables to reduce size of static data.
llvm-svn: 151996
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp
index 0ca97042d29..477b5f41709 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.cpp
+++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp
@@ -6071,7 +6071,7 @@ EmitSjLjDispatchBlock(MachineInstr *MI, MachineBasicBlock *MBB) const {
// N.B. the order the invoke BBs are processed in doesn't matter here.
const ARMBaseInstrInfo *AII = static_cast<const ARMBaseInstrInfo*>(TII);
const ARMBaseRegisterInfo &RI = AII->getRegisterInfo();
- const unsigned *SavedRegs = RI.getCalleeSavedRegs(MF);
+ const uint16_t *SavedRegs = RI.getCalleeSavedRegs(MF);
SmallVector<MachineBasicBlock*, 64> MBBLPads;
for (SmallPtrSet<MachineBasicBlock*, 64>::iterator
I = InvokeBBs.begin(), E = InvokeBBs.end(); I != E; ++I) {
OpenPOWER on IntegriCloud