aboutsummaryrefslogtreecommitdiff
path: root/llvm/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
commit5a4bcc749acae6b92451cc9c2aa502d25600fbce (patch)
tree455e4ecf98ac8da6999732b1fe6963dc25d41079 /llvm/lib/CodeGen/RegAllocFast.cpp
parent544637937af1cee7b301212eb396c2ff8a4b906f (diff)
downloadllvm-5a4bcc749acae6b92451cc9c2aa502d25600fbce.zip
llvm-5a4bcc749acae6b92451cc9c2aa502d25600fbce.tar.gz
llvm-5a4bcc749acae6b92451cc9c2aa502d25600fbce.tar.bz2
Use uint16_t to store instruction implicit uses and defs. Reduces static data.
llvm-svn: 152301
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocFast.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAllocFast.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocFast.cpp b/llvm/lib/CodeGen/RegAllocFast.cpp
index c27a485..e09b7f8 100644
--- a/llvm/lib/CodeGen/RegAllocFast.cpp
+++ b/llvm/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++);