Author: Alexey Bataev
Date: 2021-03-30T07:45:12-07:00
New Revision: bd334c790f2e43e72270b8044f08303e1c2f283b

URL: 
https://github.com/llvm/llvm-project/commit/bd334c790f2e43e72270b8044f08303e1c2f283b
DIFF: 
https://github.com/llvm/llvm-project/commit/bd334c790f2e43e72270b8044f08303e1c2f283b.diff

LOG: [OPENMP]Fix test checks for 32bit targets, NFC.

Added: 
    

Modified: 
    clang/test/OpenMP/declare_reduction_codegen.c

Removed: 
    


################################################################################
diff  --git a/clang/test/OpenMP/declare_reduction_codegen.c 
b/clang/test/OpenMP/declare_reduction_codegen.c
index c5b5d1dfa5a4..71f4be57f7c5 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(


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to