CellSPU: Adjust spacing/tabulation
authorScott Michel <scottm@aero.org>
Thu, 20 Nov 2008 04:26:21 +0000 (04:26 +0000)
committerScott Michel <scottm@aero.org>
Thu, 20 Nov 2008 04:26:21 +0000 (04:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59703 91177308-0d34-0410-b5e6-96231b3b80d8

autoconf/AutoRegen.sh
lib/Target/CellSPU/SPUISelLowering.cpp

index 3dca38673718189085f0fbd64940f3a91dc30c93..fdf12b0a1101e98e68417e89c9e0af687cd0a39e 100755 (executable)
@@ -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"
index 4b2a909b8f77dea2874b3b3a800d8656bd4a6355..002ef3f66126870ad60f25ae77e4212969ce5a4f 100644 (file)
@@ -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);