summaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineInstrBundle.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-03-05 05:37:41 +0000
committerCraig Topper <craig.topper@gmail.com>2012-03-05 05:37:41 +0000
commit9ebfbf8b9fd5f982e0db9293808bd32168615ba9 (patch)
tree77ce098c0d4851df8117d3d0e669b8580911a98f /lib/CodeGen/MachineInstrBundle.cpp
parentec93b6decad4b95fd8a9531dc024b2b1881019bf (diff)
downloadllvm-9ebfbf8b9fd5f982e0db9293808bd32168615ba9.tar.gz
llvm-9ebfbf8b9fd5f982e0db9293808bd32168615ba9.tar.bz2
llvm-9ebfbf8b9fd5f982e0db9293808bd32168615ba9.tar.xz
Convert more GenRegisterInfo tables from unsigned to uint16_t to reduce static data size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152016 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineInstrBundle.cpp')
-rw-r--r--lib/CodeGen/MachineInstrBundle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineInstrBundle.cpp b/lib/CodeGen/MachineInstrBundle.cpp
index 81d2abeb1d..d1f2df94b5 100644
--- a/lib/CodeGen/MachineInstrBundle.cpp
+++ b/lib/CodeGen/MachineInstrBundle.cpp
@@ -169,7 +169,7 @@ void llvm::finalizeBundle(MachineBasicBlock &MBB,
}
if (!MO.isDead()) {
- for (const unsigned *SubRegs = TRI->getSubRegisters(Reg);
+ for (const uint16_t *SubRegs = TRI->getSubRegisters(Reg);
unsigned SubReg = *SubRegs; ++SubRegs) {
if (LocalDefSet.insert(SubReg))
LocalDefs.push_back(SubReg);