From bd334c790f2e43e72270b8044f08303e1c2f283b Mon Sep 17 00:00:00 2001 From: Alexey Bataev Date: Tue, 30 Mar 2021 07:45:12 -0700 Subject: [PATCH] [OPENMP]Fix test checks for 32bit targets, NFC. --- clang/test/OpenMP/declare_reduction_codegen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/OpenMP/declare_reduction_codegen.c b/clang/test/OpenMP/declare_reduction_codegen.c index c5b5d1d..71f4be5 100644 --- a/clang/test/OpenMP/declare_reduction_codegen.c +++ b/clang/test/OpenMP/declare_reduction_codegen.c @@ -174,7 +174,7 @@ void bar() { // CHECK: [[SS_PRIV:%.+]] = alloca %struct.SSS, // CHECK: [[IN_PRIV:%.+]] = alloca i32, // CHECK: [[BC:%.+]] = bitcast %struct.SSS* [[SS_PRIV]] to i8* - // CHECK: call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 4 [[BC]], i8* align 4 bitcast (%struct.SSS* [[SSS_INIT]] to i8*), i64 4, i1 false) + // CHECK: call void @llvm.memcpy.p0i8.p0i8.i{{64|32}}(i8* {{.*}}[[BC]], i8* {{.*}}bitcast (%struct.SSS* [[SSS_INIT]] to i8*), i{{64|32}} 4, i1 false) // CHECK: [[IN_VAL:%.+]] = load i32, i32* [[INT_INIT]], // CHECK: store i32 [[IN_VAL]], i32* [[IN_PRIV]], // CHECK: call void @__kmpc_for_static_init_4( -- 2.7.4