Re-enable usage of the ARM base pointer. r113394 fixed the known failures.
authorJim Grosbach <grosbach@apple.com>
Wed, 8 Sep 2010 20:12:02 +0000 (20:12 +0000)
committerJim Grosbach <grosbach@apple.com>
Wed, 8 Sep 2010 20:12:02 +0000 (20:12 +0000)
Re-running some nightly testers w/ it enabled to verify.

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

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

index d1f2ffd137608b7aaa673534638cf1d5d3b344dd..eceafad63f17a23607094f6220586d4e5761eaee 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(false),
+EnableBasePointer("arm-use-base-pointer", cl::Hidden, cl::init(true),
           cl::desc("Enable use of a base pointer for complex stack frames"));
 
 unsigned ARMBaseRegisterInfo::getRegisterNumbering(unsigned RegEnum,
index acfdc917ddf07de82ac29de21605554e13a353e2..5c8ad974bc0e6ceee68395be1b90458671b2b20b 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 4294967280
+; RUN: llc < %s -march=thumb | grep {mov.*r6, sp}
 
        %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* }