aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Staszak <kubastaszak@gmail.com>2013-04-19 01:10:45 +0000
committerJakub Staszak <kubastaszak@gmail.com>2013-04-19 01:10:45 +0000
commit943baedefdc2cd57cba1df12f93e0ab8eec300fd (patch)
treeaa740ac7adf9787dce9b01aed072d2d3b366d49a
parent5bd0767a040eae0d8f153c46238849e64e166018 (diff)
Don't run expensive -O2 and -O3 in tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179825 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Transforms/GlobalDCE/complex-constantexpr.ll2
-rw-r--r--test/Transforms/PhaseOrdering/scev.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/GlobalDCE/complex-constantexpr.ll b/test/Transforms/GlobalDCE/complex-constantexpr.ll
index 4bf1aeee70..2978704ddf 100644
--- a/test/Transforms/GlobalDCE/complex-constantexpr.ll
+++ b/test/Transforms/GlobalDCE/complex-constantexpr.ll
@@ -1,4 +1,4 @@
-; RUN: opt -O2 -disable-output < %s
+; RUN: opt -globaldce -disable-output < %s
; PR15714
%struct.ham = type { i32 }
diff --git a/test/Transforms/PhaseOrdering/scev.ll b/test/Transforms/PhaseOrdering/scev.ll
index 39adb6b73d..c3b71943f8 100644
--- a/test/Transforms/PhaseOrdering/scev.ll
+++ b/test/Transforms/PhaseOrdering/scev.ll
@@ -1,4 +1,4 @@
-; RUN: opt -O3 -S -analyze -scalar-evolution < %s | FileCheck %s
+; RUN: opt -S -analyze -scalar-evolution < %s | FileCheck %s
;
; This file contains phase ordering tests for scalar evolution.
; Test that the standard passes don't obfuscate the IR so scalar evolution can't