[clang] 569abb5 - [LoopDeletion] Fixes failing test
Atmn Patel via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 6 19:45:45 PST 2020
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
More information about the cfe-commits
mailing list