[OpenMP, test] Fix use of undef VAR_PRIV FileCheck var
authorThomas Preud'homme <thomasp@graphcore.ai>
Thu, 1 Apr 2021 23:25:37 +0000 (00:25 +0100)
committerThomas Preud'homme <thomasp@graphcore.ai>
Thu, 1 Apr 2021 23:39:21 +0000 (00:39 +0100)
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

clang/test/OpenMP/sections_reduction_codegen.cpp

index 44e18c9..8154cac 100644 (file)
@@ -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(