[PATCH] D93952: [Clang][Misc] Fix fragile test
Atmn Patel via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 31 10:49:20 PST 2020
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG1a65b8c739a0: [Clang][Misc] Change run line in fragile test (authored by adpatel6).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93952/new/
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
@@ -1,4 +1,5 @@
-// RUN: %clang -O1 -fno-unroll-loops -S -o - %s -emit-llvm | FileCheck %s
+// This relies on %clang_cc1, %clang does not emit the block names in Release mode.
+// RUN: %clang_cc1 -O1 -fno-unroll-loops -S -o - %s -emit-llvm | FileCheck %s
extern int a[16];
int b = 0;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93952.314196.patch
Type: text/x-patch
Size: 470 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201231/84d8e55e/attachment.bin>
More information about the cfe-commits
mailing list