summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAllocFast.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-03-08 08:22:45 +0000
committerCraig Topper <craig.topper@gmail.com>2012-03-08 08:22:45 +0000
commitfac259814923d091942b230e7bd002a8d1130bc3 (patch)
tree5a91c02628a442fe93f9cfea4686d42366fc8a90 /lib/CodeGen/RegAllocFast.cpp
parent9eddc1cf310c49c0f1f90cbde3687b2610a46689 (diff)
downloadllvm-fac259814923d091942b230e7bd002a8d1130bc3.tar.gz
llvm-fac259814923d091942b230e7bd002a8d1130bc3.tar.bz2
llvm-fac259814923d091942b230e7bd002a8d1130bc3.tar.xz
Use uint16_t to store instruction implicit uses and defs. Reduces static data.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152301 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocFast.cpp')
-rw-r--r--lib/CodeGen/RegAllocFast.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocFast.cpp b/lib/CodeGen/RegAllocFast.cpp
index c27a485397..e09b7f8d26 100644
--- a/lib/CodeGen/RegAllocFast.cpp
+++ b/lib/CodeGen/RegAllocFast.cpp
@@ -1139,7 +1139,7 @@ bool RAFast::runOnMachineFunction(MachineFunction &Fn) {
// Add the clobber lists for all the instructions we skipped earlier.
for (SmallPtrSet<const MCInstrDesc*, 4>::const_iterator
I = SkippedInstrs.begin(), E = SkippedInstrs.end(); I != E; ++I)
- if (const unsigned *Defs = (*I)->getImplicitDefs())
+ if (const uint16_t *Defs = (*I)->getImplicitDefs())
while (*Defs)
MRI->setPhysRegUsed(*Defs++);