2014-01-11 12:06:47 +00:00
|
|
|
; RUN: opt -disable-output -debug-pass-manager \
|
|
|
|
; RUN: -passes=no-op-module,no-op-module %s 2>&1 \
|
|
|
|
; RUN: | FileCheck %s --check-prefix=CHECK-TWO-NOOP-MP
|
2015-01-13 11:13:56 +00:00
|
|
|
; CHECK-TWO-NOOP-MP: Starting pass manager
|
|
|
|
; CHECK-TWO-NOOP-MP: Running pass: NoOpModulePass
|
|
|
|
; CHECK-TWO-NOOP-MP: Running pass: NoOpModulePass
|
|
|
|
; CHECK-TWO-NOOP-MP: Finished pass manager
|
2014-01-11 12:06:47 +00:00
|
|
|
|
|
|
|
; RUN: opt -disable-output -debug-pass-manager \
|
|
|
|
; RUN: -passes='module(no-op-module,no-op-module)' %s 2>&1 \
|
|
|
|
; RUN: | FileCheck %s --check-prefix=CHECK-NESTED-TWO-NOOP-MP
|
2015-01-13 11:13:56 +00:00
|
|
|
; CHECK-NESTED-TWO-NOOP-MP: Starting pass manager
|
|
|
|
; CHECK-NESTED-TWO-NOOP-MP: Starting pass manager
|
|
|
|
; CHECK-NESTED-TWO-NOOP-MP: Running pass: NoOpModulePass
|
|
|
|
; CHECK-NESTED-TWO-NOOP-MP: Running pass: NoOpModulePass
|
|
|
|
; CHECK-NESTED-TWO-NOOP-MP: Finished pass manager
|
|
|
|
; CHECK-NESTED-TWO-NOOP-MP: Finished pass manager
|
2014-01-12 09:34:22 +00:00
|
|
|
|
|
|
|
; RUN: opt -disable-output -debug-pass-manager \
|
|
|
|
; RUN: -passes=no-op-function,no-op-function %s 2>&1 \
|
|
|
|
; RUN: | FileCheck %s --check-prefix=CHECK-TWO-NOOP-FP
|
2015-01-13 11:13:56 +00:00
|
|
|
; CHECK-TWO-NOOP-FP: Starting pass manager
|
|
|
|
; CHECK-TWO-NOOP-FP: Running pass: ModuleToFunctionPassAdaptor
|
|
|
|
; CHECK-TWO-NOOP-FP: Starting pass manager
|
|
|
|
; CHECK-TWO-NOOP-FP: Running pass: NoOpFunctionPass
|
|
|
|
; CHECK-TWO-NOOP-FP: Running pass: NoOpFunctionPass
|
|
|
|
; CHECK-TWO-NOOP-FP: Finished pass manager
|
|
|
|
; CHECK-TWO-NOOP-FP: Finished pass manager
|
2014-01-12 09:34:22 +00:00
|
|
|
|
|
|
|
; RUN: opt -disable-output -debug-pass-manager \
|
|
|
|
; RUN: -passes='function(no-op-function,no-op-function)' %s 2>&1 \
|
|
|
|
; RUN: | FileCheck %s --check-prefix=CHECK-NESTED-TWO-NOOP-FP
|
2015-01-13 11:13:56 +00:00
|
|
|
; CHECK-NESTED-TWO-NOOP-FP: Starting pass manager
|
|
|
|
; CHECK-NESTED-TWO-NOOP-FP: Running pass: ModuleToFunctionPassAdaptor
|
|
|
|
; CHECK-NESTED-TWO-NOOP-FP: Starting pass manager
|
|
|
|
; CHECK-NESTED-TWO-NOOP-FP: Running pass: NoOpFunctionPass
|
|
|
|
; CHECK-NESTED-TWO-NOOP-FP: Running pass: NoOpFunctionPass
|
|
|
|
; CHECK-NESTED-TWO-NOOP-FP: Finished pass manager
|
|
|
|
; CHECK-NESTED-TWO-NOOP-FP: Finished pass manager
|
2014-01-12 09:34:22 +00:00
|
|
|
|
|
|
|
; RUN: opt -disable-output -debug-pass-manager \
|
|
|
|
; RUN: -passes='no-op-module,function(no-op-function,no-op-function),no-op-module' %s 2>&1 \
|
|
|
|
; RUN: | FileCheck %s --check-prefix=CHECK-MIXED-FP-AND-MP
|
2015-01-13 11:13:56 +00:00
|
|
|
; CHECK-MIXED-FP-AND-MP: Starting pass manager
|
|
|
|
; CHECK-MIXED-FP-AND-MP: Running pass: NoOpModulePass
|
|
|
|
; CHECK-MIXED-FP-AND-MP: Running pass: ModuleToFunctionPassAdaptor
|
|
|
|
; CHECK-MIXED-FP-AND-MP: Starting pass manager
|
|
|
|
; CHECK-MIXED-FP-AND-MP: Running pass: NoOpFunctionPass
|
|
|
|
; CHECK-MIXED-FP-AND-MP: Running pass: NoOpFunctionPass
|
|
|
|
; CHECK-MIXED-FP-AND-MP: Finished pass manager
|
|
|
|
; CHECK-MIXED-FP-AND-MP: Running pass: NoOpModulePass
|
|
|
|
; CHECK-MIXED-FP-AND-MP: Finished pass manager
|
2014-01-12 09:34:22 +00:00
|
|
|
|
2014-01-12 10:02:02 +00:00
|
|
|
; RUN: not opt -disable-output -debug-pass-manager \
|
|
|
|
; RUN: -passes='no-op-module)' %s 2>&1 \
|
|
|
|
; RUN: | FileCheck %s --check-prefix=CHECK-UNBALANCED1
|
|
|
|
; CHECK-UNBALANCED1: unable to parse pass pipeline description
|
|
|
|
|
|
|
|
; RUN: not opt -disable-output -debug-pass-manager \
|
|
|
|
; RUN: -passes='module(no-op-module))' %s 2>&1 \
|
|
|
|
; RUN: | FileCheck %s --check-prefix=CHECK-UNBALANCED2
|
|
|
|
; CHECK-UNBALANCED2: unable to parse pass pipeline description
|
|
|
|
|
|
|
|
; RUN: not opt -disable-output -debug-pass-manager \
|
|
|
|
; RUN: -passes='module(no-op-module' %s 2>&1 \
|
|
|
|
; RUN: | FileCheck %s --check-prefix=CHECK-UNBALANCED3
|
|
|
|
; CHECK-UNBALANCED3: unable to parse pass pipeline description
|
|
|
|
|
|
|
|
; RUN: not opt -disable-output -debug-pass-manager \
|
|
|
|
; RUN: -passes='no-op-function)' %s 2>&1 \
|
|
|
|
; RUN: | FileCheck %s --check-prefix=CHECK-UNBALANCED4
|
|
|
|
; CHECK-UNBALANCED4: unable to parse pass pipeline description
|
|
|
|
|
|
|
|
; RUN: not opt -disable-output -debug-pass-manager \
|
|
|
|
; RUN: -passes='function(no-op-function))' %s 2>&1 \
|
|
|
|
; RUN: | FileCheck %s --check-prefix=CHECK-UNBALANCED5
|
|
|
|
; CHECK-UNBALANCED5: unable to parse pass pipeline description
|
|
|
|
|
|
|
|
; RUN: not opt -disable-output -debug-pass-manager \
|
|
|
|
; RUN: -passes='function(function(no-op-function)))' %s 2>&1 \
|
|
|
|
; RUN: | FileCheck %s --check-prefix=CHECK-UNBALANCED6
|
|
|
|
; CHECK-UNBALANCED6: unable to parse pass pipeline description
|
|
|
|
|
|
|
|
; RUN: not opt -disable-output -debug-pass-manager \
|
|
|
|
; RUN: -passes='function(no-op-function' %s 2>&1 \
|
|
|
|
; RUN: | FileCheck %s --check-prefix=CHECK-UNBALANCED7
|
|
|
|
; CHECK-UNBALANCED7: unable to parse pass pipeline description
|
|
|
|
|
|
|
|
; RUN: not opt -disable-output -debug-pass-manager \
|
|
|
|
; RUN: -passes='function(function(no-op-function)' %s 2>&1 \
|
|
|
|
; RUN: | FileCheck %s --check-prefix=CHECK-UNBALANCED8
|
|
|
|
; CHECK-UNBALANCED8: unable to parse pass pipeline description
|
|
|
|
|
|
|
|
; RUN: not opt -disable-output -debug-pass-manager \
|
|
|
|
; RUN: -passes='no-op-module,)' %s 2>&1 \
|
|
|
|
; RUN: | FileCheck %s --check-prefix=CHECK-UNBALANCED9
|
|
|
|
; CHECK-UNBALANCED9: unable to parse pass pipeline description
|
|
|
|
|
|
|
|
; RUN: not opt -disable-output -debug-pass-manager \
|
|
|
|
; RUN: -passes='no-op-function,)' %s 2>&1 \
|
|
|
|
; RUN: | FileCheck %s --check-prefix=CHECK-UNBALANCED10
|
|
|
|
; CHECK-UNBALANCED10: unable to parse pass pipeline description
|
|
|
|
|
2014-04-21 11:12:00 +00:00
|
|
|
; RUN: opt -disable-output -debug-pass-manager -debug-cgscc-pass-manager \
|
|
|
|
; RUN: -passes=no-op-cgscc,no-op-cgscc %s 2>&1 \
|
|
|
|
; RUN: | FileCheck %s --check-prefix=CHECK-TWO-NOOP-CG
|
2015-01-13 11:13:56 +00:00
|
|
|
; CHECK-TWO-NOOP-CG: Starting pass manager
|
|
|
|
; CHECK-TWO-NOOP-CG: Running pass: ModuleToPostOrderCGSCCPassAdaptor
|
|
|
|
; CHECK-TWO-NOOP-CG: Starting pass manager
|
|
|
|
; CHECK-TWO-NOOP-CG: Running pass: NoOpCGSCCPass
|
|
|
|
; CHECK-TWO-NOOP-CG: Running pass: NoOpCGSCCPass
|
|
|
|
; CHECK-TWO-NOOP-CG: Finished pass manager
|
|
|
|
; CHECK-TWO-NOOP-CG: Finished pass manager
|
2014-04-21 11:12:00 +00:00
|
|
|
|
|
|
|
; RUN: opt -disable-output -debug-pass-manager -debug-cgscc-pass-manager \
|
|
|
|
; RUN: -passes='module(function(no-op-function),cgscc(no-op-cgscc,function(no-op-function),no-op-cgscc),function(no-op-function))' %s 2>&1 \
|
|
|
|
; RUN: | FileCheck %s --check-prefix=CHECK-NESTED-MP-CG-FP
|
2015-01-13 11:13:56 +00:00
|
|
|
; CHECK-NESTED-MP-CG-FP: Starting pass manager
|
|
|
|
; CHECK-NESTED-MP-CG-FP: Starting pass manager
|
|
|
|
; CHECK-NESTED-MP-CG-FP: Running pass: ModuleToFunctionPassAdaptor
|
|
|
|
; CHECK-NESTED-MP-CG-FP: Starting pass manager
|
|
|
|
; CHECK-NESTED-MP-CG-FP: Running pass: NoOpFunctionPass
|
|
|
|
; CHECK-NESTED-MP-CG-FP: Finished pass manager
|
|
|
|
; CHECK-NESTED-MP-CG-FP: Running pass: ModuleToPostOrderCGSCCPassAdaptor
|
|
|
|
; CHECK-NESTED-MP-CG-FP: Starting pass manager
|
|
|
|
; CHECK-NESTED-MP-CG-FP: Running pass: NoOpCGSCCPass
|
|
|
|
; CHECK-NESTED-MP-CG-FP: Running pass: CGSCCToFunctionPassAdaptor
|
|
|
|
; CHECK-NESTED-MP-CG-FP: Starting pass manager
|
|
|
|
; CHECK-NESTED-MP-CG-FP: Running pass: NoOpFunctionPass
|
|
|
|
; CHECK-NESTED-MP-CG-FP: Finished pass manager
|
|
|
|
; CHECK-NESTED-MP-CG-FP: Running pass: NoOpCGSCCPass
|
|
|
|
; CHECK-NESTED-MP-CG-FP: Finished pass manager
|
|
|
|
; CHECK-NESTED-MP-CG-FP: Running pass: ModuleToFunctionPassAdaptor
|
|
|
|
; CHECK-NESTED-MP-CG-FP: Starting pass manager
|
|
|
|
; CHECK-NESTED-MP-CG-FP: Running pass: NoOpFunctionPass
|
|
|
|
; CHECK-NESTED-MP-CG-FP: Finished pass manager
|
|
|
|
; CHECK-NESTED-MP-CG-FP: Finished pass manager
|
|
|
|
; CHECK-NESTED-MP-CG-FP: Finished pass manager
|
2014-04-21 11:12:00 +00:00
|
|
|
|
2014-01-12 09:34:22 +00:00
|
|
|
define void @f() {
|
|
|
|
ret void
|
|
|
|
}
|