Author: Atmn Patel
Date: 2020-11-06T22:45:28-05:00
New Revision: 569abb530ece721675032d3127bd6d63f252b12b
URL: 
https://github.com/llvm/llvm-project/commit/569abb530ece721675032d3127bd6d63f252b12b
DIFF: 
https://github.com/llvm/llvm-project/commit/569abb530ece721675032d3127bd6d63f252b12b.diff

LOG: [LoopDeletion] Fixes failing test

The commit 0b17c6e4479d62bd4ff05c48d6cdf340b198832f occasionally causes this 
test to
fail, this fixes it.

Added: 
    

Modified: 
    clang/test/Misc/loop-opt-setup.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Misc/loop-opt-setup.c 
b/clang/test/Misc/loop-opt-setup.c
index 43a9f85bca27..7d26905b2ccc 100644
--- a/clang/test/Misc/loop-opt-setup.c
+++ b/clang/test/Misc/loop-opt-setup.c
@@ -25,6 +25,5 @@ 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: entry:
 // CHECK-NOT: br i1
-// CHECK-NEXT: ret void
+// CHECK: ret void


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to