disable for the moment while tracking down a few Thumb2-O0 failure that look
authorJim Grosbach <grosbach@apple.com>
Wed, 8 Sep 2010 02:00:34 +0000 (02:00 +0000)
committerJim Grosbach <grosbach@apple.com>
Wed, 8 Sep 2010 02:00:34 +0000 (02:00 +0000)
related. (attempt deux, complete w/ test update this time)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113333 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMBaseRegisterInfo.cpp
test/CodeGen/Thumb/dyn-stackalloc.ll

index be33ed64275440c1f0aa92f769f815dbccf04863..e285e013e1c18c6a811d074533f70973172dbbcc 100644 (file)
@@ -51,7 +51,7 @@ EnableLocalStackAlloc("enable-local-stack-alloc", cl::init(true), cl::Hidden,
 using namespace llvm;
 
 static cl::opt<bool>
-EnableBasePointer("arm-use-base-pointer", cl::Hidden, cl::init(true),
+EnableBasePointer("arm-use-base-pointer", cl::Hidden, cl::init(false),
           cl::desc("Enable use of a base pointer for complex stack frames"));
 
 unsigned ARMBaseRegisterInfo::getRegisterNumbering(unsigned RegEnum,
index 5c8ad974bc0e6ceee68395be1b90458671b2b20b..acfdc917ddf07de82ac29de21605554e13a353e2 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: llc < %s -march=thumb | not grep {ldr sp}
 ; RUN: llc < %s -mtriple=thumb-apple-darwin | \
 ; RUN:   not grep {sub.*r7}
-; RUN: llc < %s -march=thumb | grep {mov.*r6, sp}
+; RUN: llc < %s -march=thumb | grep 4294967280
 
        %struct.state = type { i32, %struct.info*, float**, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, i64, i64, i64, i64, i8* }
        %struct.info = type { i32, i32, i32, i32, i32, i32, i32, i8* }