summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorGor Nishanov <GorNishanov@gmail.com>2016-08-05 16:27:33 +0000
committerGor Nishanov <GorNishanov@gmail.com>2016-08-05 16:27:33 +0000
commitf3bb3617506e0e73c94f5928b805922cf021911a (patch)
treefd908b0d06941de5d85c1858f4f3cd46e5669465 /llvm/test
parentb4022f9782cd980e856147ea090ef142c238d2e5 (diff)
downloadbcm5719-llvm-f3bb3617506e0e73c94f5928b805922cf021911a.tar.gz
bcm5719-llvm-f3bb3617506e0e73c94f5928b805922cf021911a.zip
opt: Adding -O0 to opt tool
Summary: Having -O0 in opt allows testing that -O0 optimization pipeline is built correctly. Reviewers: majnemer Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D23208 llvm-svn: 277829
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Transforms/Coroutines/smoketest.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/Transforms/Coroutines/smoketest.ll b/llvm/test/Transforms/Coroutines/smoketest.ll
index 2ed7b80ebba..e173564a8fb 100644
--- a/llvm/test/Transforms/Coroutines/smoketest.ll
+++ b/llvm/test/Transforms/Coroutines/smoketest.ll
@@ -1,6 +1,7 @@
; Test that all coroutine passes run in the correct order at all optimization
; levels and -disable-coroutines removes coroutine passes from the pipeline.
;
+; RUN: opt < %s -disable-output -enable-coroutines -debug-pass=Arguments -O0 2>&1 | FileCheck %s
; RUN: opt < %s -disable-output -enable-coroutines -debug-pass=Arguments -O1 2>&1 | FileCheck %s
; RUN: opt < %s -disable-output -enable-coroutines -debug-pass=Arguments -O2 2>&1 | FileCheck %s
; RUN: opt < %s -disable-output -enable-coroutines -debug-pass=Arguments -O3 2>&1 | FileCheck %s
OpenPOWER on IntegriCloud