Unbreak no-asserts testing

This commit is contained in:
David Zarzycki 2021-04-29 10:01:37 -04:00
parent 1ed6e87ab0
commit 3eb2be67b9
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
// Test that we print pass structure with new and legacy PM.
// RUN: %clang -fexperimental-new-pass-manager -fdebug-pass-structure -O3 -S -emit-llvm %s -o /dev/null 2>&1 | FileCheck %s --check-prefix=NEWPM
// RUN: %clang -flegacy-pass-manager -fdebug-pass-structure -O0 -S -emit-llvm %s -o /dev/null 2>&1 | FileCheck %s --check-prefix=LEGACYPM
// REQUIRES: asserts
// NEWPM: Annotation2MetadataPass on [module]
// NEWPM-NEXT: ForceFunctionAttrsPass on [module]