[llvm] add0c58 - [PassManager] Another adjustment to account for different printing.
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 9 06:11:45 PST 2022
Author: Florian Hahn
Date: 2022-03-09T14:09:23Z
New Revision: add0c5856d5f8734f511d65dcd41cabce446d492
URL: https://github.com/llvm/llvm-project/commit/add0c5856d5f8734f511d65dcd41cabce446d492
DIFF: https://github.com/llvm/llvm-project/commit/add0c5856d5f8734f511d65dcd41cabce446d492.diff
LOG: [PassManager] Another adjustment to account for different printing.
On some system, there's extra `class` specifiers when printing pass
manager types.
Added:
Modified:
llvm/test/Other/crash-function.ll
llvm/test/Other/crash-loop.ll
Removed:
################################################################################
diff --git a/llvm/test/Other/crash-function.ll b/llvm/test/Other/crash-function.ll
index ab28415c64c07..eac62c54d7980 100644
--- a/llvm/test/Other/crash-function.ll
+++ b/llvm/test/Other/crash-function.ll
@@ -6,7 +6,7 @@
; CHECK: Stack dump:
; CHECK-NEXT: 0. Program arguments:
; CHECK-NEXT: 1. Running pass 'ModuleToFunctionPassAdaptor' on module
-; CHECK-NEXT: 2. Running pass 'PassManager<llvm::Function{{.*}}>' on function '@foo'
+; CHECK-NEXT: 2. Running pass 'PassManager<{{.*}}llvm::Function{{.*}}>' on function '@foo'
; CHECK-NEXT: 3. Running pass 'CrashingFunctionPass' on function '@foo'
define void @foo() {
diff --git a/llvm/test/Other/crash-loop.ll b/llvm/test/Other/crash-loop.ll
index 36d83b9c41d3e..7c0ba58a034d6 100644
--- a/llvm/test/Other/crash-loop.ll
+++ b/llvm/test/Other/crash-loop.ll
@@ -6,9 +6,9 @@
; CHECK: Stack dump:
; CHECK-NEXT: 0. Program arguments:
; CHECK-NEXT: 1. Running pass 'ModuleToFunctionPassAdaptor' on module
-; CHECK-NEXT: 2. Running pass 'PassManager<llvm::Function>' on function '@foo'
+; CHECK-NEXT: 2. Running pass 'PassManager<{{.*}}llvm::Function{{.*}}>' on function '@foo'
; CHECK-NEXT: 3. Running pass 'FunctionToLoopPassAdaptor' on function '@foo'
-; CHECK-NEXT: 4. Running pass 'PassManager<llvm::Loop,{{.+}}>' on loop 'loop.header'.
+; CHECK-NEXT: 4. Running pass 'PassManager<{{.*}}llvm::Loop,{{.+}}>' on loop 'loop.header'.
; CHECK-NEXT: 5. Running pass 'CrashingLoopPass' on loop 'loop.header'.
define void @foo() {
More information about the llvm-commits
mailing list