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 19, 2024
1 parent a3b510d commit 6baac8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/test/CodeGen/aie/aie-return-in-regs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,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 6baac8e

Please sign in to comment.