[clang] 2c3db73 - [OpenMP, test] Fix use of undef VAR_PRIV FileCheck var
Thomas Preud'homme via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 1 16:39:20 PDT 2021
Author: Thomas Preud'homme
Date: 2021-04-02T00:39:21+01:00
New Revision: 2c3db73341aea084e44600400e9fe39690416923
URL: https://github.com/llvm/llvm-project/commit/2c3db73341aea084e44600400e9fe39690416923
DIFF: https://github.com/llvm/llvm-project/commit/2c3db73341aea084e44600400e9fe39690416923.diff
LOG: [OpenMP, test] Fix use of undef VAR_PRIV FileCheck var
Remove the CHECK-NOT directive referring to as-of-yet undefined VAR_PRIV
variable since the pattern of the following CHECK-NOT in the same
CHECK-NOT block covers a superset of the case caught by the first
CHECK-NOT.
Reviewed By: ABataev
Differential Revision: https://reviews.llvm.org/D99775
Added:
Modified:
clang/test/OpenMP/sections_reduction_codegen.cpp
Removed:
################################################################################
diff --git a/clang/test/OpenMP/sections_reduction_codegen.cpp b/clang/test/OpenMP/sections_reduction_codegen.cpp
index 44e18c929b33..8154cac2aeb8 100644
--- a/clang/test/OpenMP/sections_reduction_codegen.cpp
+++ b/clang/test/OpenMP/sections_reduction_codegen.cpp
@@ -210,7 +210,6 @@ int main() {
// CHECK: [[GTID_REF:%.+]] = load i{{[0-9]+}}*, i{{[0-9]+}}** [[GTID_ADDR_ADDR]]
// CHECK: [[GTID:%.+]] = load i{{[0-9]+}}, i{{[0-9]+}}* [[GTID_REF]]
-// CHECK-NOT: call {{.*}} [[S_FLOAT_TY_DESTR]]([[S_FLOAT_TY]]* [[VAR_PRIV]])
// CHECK-NOT: call {{.*}} [[S_FLOAT_TY_DESTR]]([[S_FLOAT_TY]]*
// CHECK: call void @__kmpc_for_static_init_4(
More information about the cfe-commits
mailing list