summaryrefslogtreecommitdiff
path: root/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
commitc5eaae4e9bc75b203b3a9922b480729bc4f340e2 (patch)
treef6bf9cd03d9a6fbae271ff2cb2b16c9454b573a0 /lib/Target/XCore/XCoreISelLowering.cpp
parentb78ca423844f19f4a838abb49b4b4fa7ae499707 (diff)
downloadllvm-c5eaae4e9bc75b203b3a9922b480729bc4f340e2.tar.gz
llvm-c5eaae4e9bc75b203b3a9922b480729bc4f340e2.tar.bz2
llvm-c5eaae4e9bc75b203b3a9922b480729bc4f340e2.tar.xz
Convert more static tables of registers used by calling convention to uint16_t to reduce space.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152538 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/XCoreISelLowering.cpp')
-rw-r--r--lib/Target/XCore/XCoreISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/XCore/XCoreISelLowering.cpp b/lib/Target/XCore/XCoreISelLowering.cpp
index c2d2a5d593..593cebcfd2 100644
--- a/lib/Target/XCore/XCoreISelLowering.cpp
+++ b/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>();