diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-04-29 00:15:41 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-04-29 00:15:41 +0000 |
commit | 084669a1c94ec215e8366ec827ffec21d5a4afeb (patch) | |
tree | 2e42e4bcd5ed3fc32d36f4b0db1bcaa6a800dc4b /llvm/test/DebugInfo | |
parent | d4eb8424044bf1c1d2b9e9a5fb4596a014765cdf (diff) | |
download | bcm5719-llvm-084669a1c94ec215e8366ec827ffec21d5a4afeb.tar.gz bcm5719-llvm-084669a1c94ec215e8366ec827ffec21d5a4afeb.zip |
Second attempt:
Massive check in. This changes the "-fast" flag to "-O#" in llc. If you want to
use the old behavior, the flag is -O0. This change allows for finer-grained
control over which optimizations are run at different -O levels.
Most of this work was pretty mechanical. The majority of the fixes came from
verifying that a "fast" variable wasn't used anymore. The JIT still uses a
"Fast" flag. I'll change the JIT with a follow-up patch.
llvm-svn: 70343
Diffstat (limited to 'llvm/test/DebugInfo')
-rw-r--r-- | llvm/test/DebugInfo/2008-11-05-InlinedFuncStart.ll | 2 | ||||
-rw-r--r-- | llvm/test/DebugInfo/2009-01-30-Method.ll | 2 | ||||
-rw-r--r-- | llvm/test/DebugInfo/deaddebuglabel.ll | 2 | ||||
-rw-r--r-- | llvm/test/DebugInfo/forwardDecl.ll | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/DebugInfo/2008-11-05-InlinedFuncStart.ll b/llvm/test/DebugInfo/2008-11-05-InlinedFuncStart.ll index a35a88ebd6b..c494190b4ec 100644 --- a/llvm/test/DebugInfo/2008-11-05-InlinedFuncStart.ll +++ b/llvm/test/DebugInfo/2008-11-05-InlinedFuncStart.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as < %s | llc -; RUN: llvm-as < %s | llc -fast +; RUN: llvm-as < %s | llc -O0 %llvm.dbg.anchor.type = type { i32, i32 } %llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32 } %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8* } diff --git a/llvm/test/DebugInfo/2009-01-30-Method.ll b/llvm/test/DebugInfo/2009-01-30-Method.ll index c17dca1a920..d49076cf31a 100644 --- a/llvm/test/DebugInfo/2009-01-30-Method.ll +++ b/llvm/test/DebugInfo/2009-01-30-Method.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -fast | grep "\\"foo" | count 3 +; RUN: llvm-as < %s | llc -O0 | grep "\\"foo" | count 3 ; 1 declaration, 1 definition and 1 pubnames entry. target triple = "i386-apple-darwin*" %llvm.dbg.anchor.type = type { i32, i32 } diff --git a/llvm/test/DebugInfo/deaddebuglabel.ll b/llvm/test/DebugInfo/deaddebuglabel.ll index 5efa27a418e..edab7e84be5 100644 --- a/llvm/test/DebugInfo/deaddebuglabel.ll +++ b/llvm/test/DebugInfo/deaddebuglabel.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -fast | grep "label" | count 8 +; RUN: llvm-as < %s | llc -O0 | grep "label" | count 8 ; PR2614 ; XFAIL: * diff --git a/llvm/test/DebugInfo/forwardDecl.ll b/llvm/test/DebugInfo/forwardDecl.ll index f3e95dd5889..a3d1927bdb7 100644 --- a/llvm/test/DebugInfo/forwardDecl.ll +++ b/llvm/test/DebugInfo/forwardDecl.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -fast | %prcontext ST 1 | grep 0x1 | count 1 +; RUN: llvm-as < %s | llc -O0 | %prcontext ST 1 | grep 0x1 | count 1 target triple = "i386-apple-darwin9.6" %llvm.dbg.anchor.type = type { i32, i32 } |