[clang] d2da05d - [test] Fix Other/new-pass-manager.ll & clang/test/Misc/loop-opt-setup.c

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 6 21:55:22 PST 2020


Author: Fangrui Song
Date: 2020-11-06T21:55:11-08:00
New Revision: d2da05de7c9ec11c3c9f26ea957cbf2225dbd0e5

URL: https://github.com/llvm/llvm-project/commit/d2da05de7c9ec11c3c9f26ea957cbf2225dbd0e5
DIFF: https://github.com/llvm/llvm-project/commit/d2da05de7c9ec11c3c9f26ea957cbf2225dbd0e5.diff

LOG: [test] Fix Other/new-pass-manager.ll & clang/test/Misc/loop-opt-setup.c

Added: 
    

Modified: 
    clang/test/Misc/loop-opt-setup.c
    llvm/test/Other/new-pass-manager.ll

Removed: 
    


################################################################################
diff  --git a/clang/test/Misc/loop-opt-setup.c b/clang/test/Misc/loop-opt-setup.c
index 7d26905b2ccc..c5c2ec4fda84 100644
--- a/clang/test/Misc/loop-opt-setup.c
+++ b/clang/test/Misc/loop-opt-setup.c
@@ -25,5 +25,6 @@ void Helper() {
 
 // Check br i1 to make sure the loop is gone, there will still be a label branch for the infinite loop.
 // CHECK-LABEL: Helper
-// CHECK-NOT: br i1
-// CHECK: ret void
+// CHECK:         br label
+// CHECK-NOT:     br i1
+// CHECK:         br label

diff  --git a/llvm/test/Other/new-pass-manager.ll b/llvm/test/Other/new-pass-manager.ll
index 66cf4fb111e9..02dbf99f51b1 100644
--- a/llvm/test/Other/new-pass-manager.ll
+++ b/llvm/test/Other/new-pass-manager.ll
@@ -360,6 +360,9 @@
 ; RUN:     -passes='default<O0>' %s 2>&1 \
 ; RUN:     | FileCheck %s --check-prefix=CHECK-O0
 ; CHECK-O0: Starting llvm::Module pass manager run
+; CHECK-O0-NEXT: Running analysis: InnerAnalysisManagerProxy<{{.*}}>
+; CHECK-O0-NEXT: Starting llvm::Function pass manager run
+; CHECK-O0-NEXT: Finished llvm::Function pass manager run
 ; CHECK-O0-NEXT: Finished llvm::Module pass manager run
 
 ; RUN: opt -disable-output -disable-verify -debug-pass-manager \


        


More information about the cfe-commits mailing list