From 5810d6c15b564c5f46bf2d79435cfd65a3bbe5ac Mon Sep 17 00:00:00 2001 From: bruteforceboy Date: Mon, 18 Nov 2024 17:18:49 +0300 Subject: [PATCH] update tests --- .../AArch64/aarch64-cc-structs.c | 18 ------------------ .../AArch64/{ptr-args.c => ptr-fields.c} | 0 2 files changed, 18 deletions(-) rename clang/test/CIR/CallConvLowering/AArch64/{ptr-args.c => ptr-fields.c} (100%) diff --git a/clang/test/CIR/CallConvLowering/AArch64/aarch64-cc-structs.c b/clang/test/CIR/CallConvLowering/AArch64/aarch64-cc-structs.c index 26f1551bbc3b..1c69ba578524 100644 --- a/clang/test/CIR/CallConvLowering/AArch64/aarch64-cc-structs.c +++ b/clang/test/CIR/CallConvLowering/AArch64/aarch64-cc-structs.c @@ -222,21 +222,3 @@ typedef struct { // LLVM: %[[#V3:]] = load ptr, ptr %[[#V2]], align 8 // LLVM: ret void void pass_cat(CAT a) {} - -typedef struct { - S a[42]; - GT_128 b[32]; -} S_CAT; - -// CHECK: cir.func @pass_s_cat(%arg0: !cir.ptr -// CHECK: %[[#V0:]] = cir.alloca !cir.ptr, !cir.ptr>, [""] {alignment = 8 : i64} -// CHECK: cir.store %arg0, %[[#V0]] : !cir.ptr, !cir.ptr> -// CHECK: %[[#V1:]] = cir.load %[[#V0]] : !cir.ptr>, !cir.ptr -// CHECK: cir.return - -// LLVM: void @pass_s_cat(ptr %[[#V0:]]) -// LLVM: %[[#V2:]] = alloca ptr, i64 1, align 8 -// LLVM: store ptr %[[#V0]], ptr %[[#V2]], align 8 -// LLVM: %[[#V3:]] = load ptr, ptr %[[#V2]], align 8 -// LLVM: ret void -void pass_s_cat(S_CAT a) {} diff --git a/clang/test/CIR/CallConvLowering/AArch64/ptr-args.c b/clang/test/CIR/CallConvLowering/AArch64/ptr-fields.c similarity index 100% rename from clang/test/CIR/CallConvLowering/AArch64/ptr-args.c rename to clang/test/CIR/CallConvLowering/AArch64/ptr-fields.c