[llvm-branch-commits] [clang] 1a65b8c - [Clang][Misc] Change run line in fragile test
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Dec 31 10:53:50 PST 2020
Author: Atmn
Date: 2020-12-31T13:48:21-05:00
New Revision: 1a65b8c739a09c587fb55ef4d2d7def13718111c
URL: https://github.com/llvm/llvm-project/commit/1a65b8c739a09c587fb55ef4d2d7def13718111c
DIFF: https://github.com/llvm/llvm-project/commit/1a65b8c739a09c587fb55ef4d2d7def13718111c.diff
LOG: [Clang][Misc] Change run line in fragile test
This test has %clang in the run line when it should have %clang_cc1.
This should prevent future release test failures.
Differential Revision: https://reviews.llvm.org/D93952
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 c5c2ec4fda84..9cea02a8bcb3 100644
--- a/clang/test/Misc/loop-opt-setup.c
+++ b/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;
More information about the llvm-branch-commits
mailing list