diff options
author | Gor Nishanov <GorNishanov@gmail.com> | 2016-08-05 16:27:33 +0000 |
---|---|---|
committer | Gor Nishanov <GorNishanov@gmail.com> | 2016-08-05 16:27:33 +0000 |
commit | f3bb3617506e0e73c94f5928b805922cf021911a (patch) | |
tree | fd908b0d06941de5d85c1858f4f3cd46e5669465 /llvm/test | |
parent | b4022f9782cd980e856147ea090ef142c238d2e5 (diff) | |
download | bcm5719-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.ll | 1 |
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 |