summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/XCore/XCoreISelLowering.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-03-11 07:57:25 +0000
committerCraig Topper <craig.topper@gmail.com>2012-03-11 07:57:25 +0000
commitbef78fc2eec53b455622a3757810ed996e20a362 (patch)
treebb2b12ee3b3156b686c2a6d25b2cc0d2e03cf391 /llvm/lib/Target/XCore/XCoreISelLowering.cpp
parentca658c2264c1f6934d8f24f02b9b6998c201415a (diff)
downloadbcm5719-llvm-bef78fc2eec53b455622a3757810ed996e20a362.tar.gz
bcm5719-llvm-bef78fc2eec53b455622a3757810ed996e20a362.zip
Convert more static tables of registers used by calling convention to uint16_t to reduce space.
llvm-svn: 152538
Diffstat (limited to 'llvm/lib/Target/XCore/XCoreISelLowering.cpp')
-rw-r--r--llvm/lib/Target/XCore/XCoreISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/XCore/XCoreISelLowering.cpp b/llvm/lib/Target/XCore/XCoreISelLowering.cpp
index c2d2a5d5938..593cebcfd2a 100644
--- a/llvm/lib/Target/XCore/XCoreISelLowering.cpp
+++ b/llvm/lib/Target/XCore/XCoreISelLowering.cpp
@@ -1152,7 +1152,7 @@ XCoreTargetLowering::LowerCCCArguments(SDValue Chain,
if (isVarArg) {
/* Argument registers */
- static const unsigned ArgRegs[] = {
+ static const uint16_t ArgRegs[] = {
XCore::R0, XCore::R1, XCore::R2, XCore::R3
};
XCoreFunctionInfo *XFI = MF.getInfo<XCoreFunctionInfo>();
OpenPOWER on IntegriCloud