diff options
author | Evgenii Kudriashov <evgenii.kudriashov@intel.com> | 2024-07-03 01:56:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-03 00:56:50 +0200 |
commit | b5b0a22ecc58c9950fb4b1cd3532e75f42155978 (patch) | |
tree | d7560f0b23858c2fb5a95575b7d2d3e4f38d03f5 /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | 23db37c51cd3dcdcf069345aa7fab7d84b6f6f6e (diff) | |
download | llvm-b5b0a22ecc58c9950fb4b1cd3532e75f42155978.zip llvm-b5b0a22ecc58c9950fb4b1cd3532e75f42155978.tar.gz llvm-b5b0a22ecc58c9950fb4b1cd3532e75f42155978.tar.bz2 |
[X86][GlobalISel] Support StructRet arguments (#96629)
We follow SelectionDAG and FastISel manner: set a register during formal
arguments lowering and use this register to insert a copy of StructRet
argument to RAX register during return lowering.
Also add RAX register to RET instruction to fix a difference between
GlobalISel and SelectionDAG, when the copy instruction could be
deleted.
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions