Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bruteforceboy committed Nov 18, 2024
1 parent 157d5fb commit 5810d6c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions clang/test/CIR/CallConvLowering/AArch64/aarch64-cc-structs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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<!ty_S_CAT>
// CHECK: %[[#V0:]] = cir.alloca !cir.ptr<!ty_S_CAT>, !cir.ptr<!cir.ptr<!ty_S_CAT>>, [""] {alignment = 8 : i64}
// CHECK: cir.store %arg0, %[[#V0]] : !cir.ptr<!ty_S_CAT>, !cir.ptr<!cir.ptr<!ty_S_CAT>>
// CHECK: %[[#V1:]] = cir.load %[[#V0]] : !cir.ptr<!cir.ptr<!ty_S_CAT>>, !cir.ptr<!ty_S_CAT>
// 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) {}

0 comments on commit 5810d6c

Please sign in to comment.