summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegisterClassInfo.h
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/CodeGen/RegisterClassInfo.h
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/CodeGen/RegisterClassInfo.h')
-rw-r--r--llvm/lib/CodeGen/RegisterClassInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegisterClassInfo.h b/llvm/lib/CodeGen/RegisterClassInfo.h
index 2c1407096cd..400e1f48ce5 100644
--- a/llvm/lib/CodeGen/RegisterClassInfo.h
+++ b/llvm/lib/CodeGen/RegisterClassInfo.h
@@ -49,7 +49,7 @@ class RegisterClassInfo {
// Callee saved registers of last MF. Assumed to be valid until the next
// runOnFunction() call.
- const unsigned *CalleeSaved;
+ const uint16_t *CalleeSaved;
// Map register number to CalleeSaved index + 1;
SmallVector<uint8_t, 4> CSRNum;
OpenPOWER on IntegriCloud