[PATCH] D93952: [Clang][Misc] Fix fragile test
Atmn Patel via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 31 10:10:03 PST 2020
atmnpatel updated this revision to Diff 314193.
atmnpatel added a comment.
Ah I see, I was never able to find clear documentation on what exactly the -cc1 flag does other than the conceptual description. This should fix it right?
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,4 @@
-// RUN: %clang -O1 -fno-unroll-loops -S -o - %s -emit-llvm | FileCheck %s
+// 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.314193.patch
Type: text/x-patch
Size: 385 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201231/73c66789/attachment.bin>
More information about the cfe-commits
mailing list