aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/MBlaze
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/MBlaze
parentb78ca423844f19f4a838abb49b4b4fa7ae499707 (diff)
downloadexternal_llvm-c5eaae4e9bc75b203b3a9922b480729bc4f340e2.zip
external_llvm-c5eaae4e9bc75b203b3a9922b480729bc4f340e2.tar.gz
external_llvm-c5eaae4e9bc75b203b3a9922b480729bc4f340e2.tar.bz2
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/MBlaze')
-rw-r--r--lib/Target/MBlaze/MBlazeISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/MBlaze/MBlazeISelLowering.cpp b/lib/Target/MBlaze/MBlazeISelLowering.cpp
index 23c8e13..9ef6bb6 100644
--- a/lib/Target/MBlaze/MBlazeISelLowering.cpp
+++ b/lib/Target/MBlaze/MBlazeISelLowering.cpp
@@ -657,7 +657,7 @@ static bool CC_MBlaze_AssignReg(unsigned &ValNo, MVT &ValVT, MVT &LocVT,
CCValAssign::LocInfo &LocInfo,
ISD::ArgFlagsTy &ArgFlags,
CCState &State) {
- static const unsigned ArgRegs[] = {
+ static const uint16_t ArgRegs[] = {
MBlaze::R5, MBlaze::R6, MBlaze::R7,
MBlaze::R8, MBlaze::R9, MBlaze::R10
};