From a0e5769166d5eef0c2452f43a64cd007c7a55880 Mon Sep 17 00:00:00 2001 From: Scott Michel Date: Thu, 20 Nov 2008 04:26:21 +0000 Subject: [PATCH] CellSPU: Adjust spacing/tabulation git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59703 91177308-0d34-0410-b5e6-96231b3b80d8 --- autoconf/AutoRegen.sh | 4 ++-- lib/Target/CellSPU/SPUISelLowering.cpp | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/autoconf/AutoRegen.sh b/autoconf/AutoRegen.sh index 3dca3867371..fdf12b0a110 100755 --- a/autoconf/AutoRegen.sh +++ b/autoconf/AutoRegen.sh @@ -7,7 +7,7 @@ die () { ### NOTE: ############################################################" ### The below two variables specify the auto* versions ### periods should be escaped with backslash, for use by grep -want_autoconf_version='2\.60' +want_autoconf_version='2\.6[01]' want_autoheader_version=$want_autoconf_version ### END NOTE #########################################################" @@ -22,7 +22,7 @@ test -d autoconf && test -f autoconf/$configfile && cd autoconf test -f $configfile || die "Can't find 'autoconf' dir; please cd into it first" autoconf --version | grep $want_autoconf_version > /dev/null test $? -eq 0 || die "Your autoconf was not detected as being $want_autoconf_version_clean" -aclocal --version | grep '^aclocal.*1\.9\.6' > /dev/null +aclocal --version | grep '^aclocal.*\(1\.9\.6\|1\.10\)' > /dev/null test $? -eq 0 || die "Your aclocal was not detected as being 1.9.6" autoheader --version | grep '^autoheader.*'$want_autoheader_version > /dev/null test $? -eq 0 || die "Your autoheader was not detected as being $want_autoheader_version_clean" diff --git a/lib/Target/CellSPU/SPUISelLowering.cpp b/lib/Target/CellSPU/SPUISelLowering.cpp index 4b2a909b8f7..002ef3f6612 100644 --- a/lib/Target/CellSPU/SPUISelLowering.cpp +++ b/lib/Target/CellSPU/SPUISelLowering.cpp @@ -135,19 +135,19 @@ SPUTargetLowering::SPUTargetLowering(SPUTargetMachine &TM) setLoadExtAction(ISD::SEXTLOAD, MVT::i1, Promote); setLoadExtAction(ISD::ZEXTLOAD, MVT::i1, Promote); setTruncStoreAction(MVT::i8, MVT::i1, Promote); - setTruncStoreAction(MVT::i16 , MVT::i1, Custom); - setTruncStoreAction(MVT::i32 , MVT::i1, Custom); - setTruncStoreAction(MVT::i64 , MVT::i1, Custom); + setTruncStoreAction(MVT::i16, MVT::i1, Custom); + setTruncStoreAction(MVT::i32, MVT::i1, Custom); + setTruncStoreAction(MVT::i64, MVT::i1, Custom); setTruncStoreAction(MVT::i128, MVT::i1, Custom); setLoadExtAction(ISD::EXTLOAD, MVT::i8, Custom); setLoadExtAction(ISD::SEXTLOAD, MVT::i8, Custom); setLoadExtAction(ISD::ZEXTLOAD, MVT::i8, Custom); - setTruncStoreAction(MVT::i8 , MVT::i8, Custom); - setTruncStoreAction(MVT::i16 , MVT::i8, Custom); - setTruncStoreAction(MVT::i32 , MVT::i8, Custom); - setTruncStoreAction(MVT::i64 , MVT::i8, Custom); - setTruncStoreAction(MVT::i128, MVT::i8, Custom); + setTruncStoreAction(MVT::i8, MVT::i8, Custom); + setTruncStoreAction(MVT::i16, MVT::i8, Custom); + setTruncStoreAction(MVT::i32, MVT::i8, Custom); + setTruncStoreAction(MVT::i64, MVT::i8, Custom); + setTruncStoreAction(MVT::i128, MVT::i8, Custom); setLoadExtAction(ISD::EXTLOAD, MVT::i16, Custom); setLoadExtAction(ISD::SEXTLOAD, MVT::i16, Custom); -- 2.11.0