[PATCH] D93952: [Clang][Misc] Fix fragile test

Atmn Patel via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 30 19:25:11 PST 2020


atmnpatel created this revision.
atmnpatel added a reviewer: MaskRay.
Herald added a subscriber: pengfei.
atmnpatel requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

clang-with-thin-lto-ubuntu, clang-with-lto-ubuntu, 
clang-x86_64-debian-new-pass-manager-fast, and fuchsia-x86_64-linux do not emit a label for the
basic block, but each of the other buildbots do. Removing this CHECK
line should fix these buildbot errors.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93952

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


Index: clang/test/Misc/loop-opt-setup.c
===================================================================
--- clang/test/Misc/loop-opt-setup.c
+++ clang/test/Misc/loop-opt-setup.c
@@ -31,6 +31,5 @@
 // C99: br label
 // C99-NOT: br i1
 // C99: br label
-// CHECK: entry:
 // CHECK-NOT: br i1
-// CHECK-NEXT: ret void
+// CHECK: ret void


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93952.314165.patch
Type: text/x-patch
Size: 339 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201231/2833a225/attachment.bin>


More information about the cfe-commits mailing list