summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Michel <scottm@aero.org>2008-11-20 04:26:21 +0000
committerScott Michel <scottm@aero.org>2008-11-20 04:26:21 +0000
commita0e5769166d5eef0c2452f43a64cd007c7a55880 (patch)
treea4a3cd53433dbc81715a066f54806f3d2e06013d
parent57bebbbd1229040ad659ef4671a34e8d1d78a6f6 (diff)
downloadllvm-a0e5769166d5eef0c2452f43a64cd007c7a55880.tar.gz
llvm-a0e5769166d5eef0c2452f43a64cd007c7a55880.tar.bz2
llvm-a0e5769166d5eef0c2452f43a64cd007c7a55880.tar.xz
CellSPU: Adjust spacing/tabulation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59703 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-xautoconf/AutoRegen.sh4
-rw-r--r--lib/Target/CellSPU/SPUISelLowering.cpp16
2 files changed, 10 insertions, 10 deletions
diff --git a/autoconf/AutoRegen.sh b/autoconf/AutoRegen.sh
index 3dca386737..fdf12b0a11 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 4b2a909b8f..002ef3f661 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);