From ffc157ea825f75c7b143fdaf23283194c5d829cf Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Thu, 13 May 2021 13:22:18 +0100 Subject: [PATCH] [Passes] Use regex to match GlobalsAA line in test. On some platforms/compiler combinations, it appears the output is slightly different. Update the test to use a regex, as is done at other places in the new-pm-*default.ll tests to address buildbot failures. --- llvm/test/Other/new-pm-lto-defaults.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/test/Other/new-pm-lto-defaults.ll b/llvm/test/Other/new-pm-lto-defaults.ll index 6155561fbaab..f16faad40ee6 100644 --- a/llvm/test/Other/new-pm-lto-defaults.ll +++ b/llvm/test/Other/new-pm-lto-defaults.ll @@ -79,7 +79,7 @@ ; CHECK-O23SZ-NEXT: Running pass: SROA on foo ; CHECK-O23SZ-NEXT: Running pass: TailCallElimPass on foo ; CHECK-O23SZ-NEXT: Running pass: PostOrderFunctionAttrsPass on (foo) -; CHECK-O23SZ-NEXT: Running pass: RequireAnalysisPass on [module] +; CHECK-O23SZ-NEXT: Running pass: RequireAnalysisPass<{{.*}}GlobalsAA ; CHECK-O23SZ-NEXT: Running analysis: GlobalsAA on [module] ; CHECK-O23SZ-NEXT: Running pass: InvalidateAnalysisPass on foo ; CHECK-O23SZ-NEXT: Invalidating analysis: AAManager on foo