summaryrefslogtreecommitdiffstats
path: root/llvm/test/FrontendC++
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-04-29 00:15:41 +0000
committerBill Wendling <isanbard@gmail.com>2009-04-29 00:15:41 +0000
commit084669a1c94ec215e8366ec827ffec21d5a4afeb (patch)
tree2e42e4bcd5ed3fc32d36f4b0db1bcaa6a800dc4b /llvm/test/FrontendC++
parentd4eb8424044bf1c1d2b9e9a5fb4596a014765cdf (diff)
downloadbcm5719-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/FrontendC++')
-rw-r--r--llvm/test/FrontendC++/2006-11-06-StackTrace.cpp2
-rw-r--r--llvm/test/FrontendC++/2006-11-30-Pubnames.cpp2
-rw-r--r--llvm/test/FrontendC++/2009-04-21-DtorNames-dbg.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/FrontendC++/2006-11-06-StackTrace.cpp b/llvm/test/FrontendC++/2006-11-06-StackTrace.cpp
index 15c88df0d15..f6a4428e4c8 100644
--- a/llvm/test/FrontendC++/2006-11-06-StackTrace.cpp
+++ b/llvm/test/FrontendC++/2006-11-06-StackTrace.cpp
@@ -1,7 +1,7 @@
// This is a regression test on debug info to make sure that we can get a
// meaningful stack trace from a C++ program.
// RUN: %llvmgcc -S -O0 -g %s -o - | llvm-as | \
-// RUN: llc --disable-fp-elim -o %t.s -f -fast -relocation-model=pic
+// RUN: llc --disable-fp-elim -o %t.s -f -O0 -relocation-model=pic
// RUN: %compile_c %t.s -o %t.o
// RUN: %link %t.o -o %t.exe
// RUN: echo {break DeepStack::deepest\nrun 17\nwhere\n} > %t.in
diff --git a/llvm/test/FrontendC++/2006-11-30-Pubnames.cpp b/llvm/test/FrontendC++/2006-11-30-Pubnames.cpp
index b53d6aa734f..8102713c39f 100644
--- a/llvm/test/FrontendC++/2006-11-30-Pubnames.cpp
+++ b/llvm/test/FrontendC++/2006-11-30-Pubnames.cpp
@@ -1,7 +1,7 @@
// This is a regression test on debug info to make sure that we can access
// qualified global names.
// RUN: %llvmgcc -S -O0 -g %s -o - | llvm-as | \
-// RUN: llc --disable-fp-elim -o %t.s -f -fast
+// RUN: llc --disable-fp-elim -o %t.s -f -O0
// RUN: %compile_c %t.s -o %t.o
// RUN: %link %t.o -o %t.exe
// RUN: %llvmdsymutil %t.exe
diff --git a/llvm/test/FrontendC++/2009-04-21-DtorNames-dbg.cpp b/llvm/test/FrontendC++/2009-04-21-DtorNames-dbg.cpp
index 4bd8e771e52..dfc607e654f 100644
--- a/llvm/test/FrontendC++/2009-04-21-DtorNames-dbg.cpp
+++ b/llvm/test/FrontendC++/2009-04-21-DtorNames-dbg.cpp
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc -c -g %s -o - | llc -fast -f -o %t.s
+// RUN: %llvmgcc -c -g %s -o - | llc -O0 -f -o %t.s
// RUN: %compile_c %t.s -o %t.o
// PR4025
OpenPOWER on IntegriCloud