Skip to content

Commit

Permalink
fixup! [AIEX] Support 'return_in_regs' attribute for any AIE version
Browse files Browse the repository at this point in the history
  • Loading branch information
konstantinschwarz committed Jun 20, 2024
1 parent 2d77456 commit f00f375
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions clang/test/CodeGen/aie/aie-return-in-regs.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --function-signature --return-type --skip-function-body
//===- aie-return-in-regs.cpp -----------------------------------*- C++ -*-===//
//
// This file is licensed under the Apache License v2.0 with LLVM Exceptions.
Expand Down Expand Up @@ -26,7 +25,7 @@ struct largeStruct_InRegs {
} __attribute__((return_in_regs));

// CHECK-LABEL: define {{[^@]*}}void @ret_in_stack
// CHECK-SAME: (ptr noalias sret([[STRUCT_LARGESTRUCT_INSTACK:%.*]]) align 16 [[AGG_RESULT:%.*]]) #[[ATTR0:[0-9]+]] {
// CHECK-SAME: (ptr dead_on_unwind noalias writable sret([[STRUCT_LARGESTRUCT_INSTACK:%.*]]) align 16 [[AGG_RESULT:%.*]]) #[[ATTR0:[0-9]+]] {
largeStruct_InStack ret_in_stack(void) { return {}; }

// CHECK-LABEL: define {{[^@]*}}%struct.largeStruct_InRegs @ret_in_regs
Expand Down

0 comments on commit f00f375

Please sign in to comment.