[PATCH] D132955: [ARM64EC 13/?] Mangle thunk for arm64ec

chenglin.bi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 30 09:41:12 PDT 2022


bcl5980 created this revision.
bcl5980 added a reviewer: efriedma.
Herald added subscribers: zzheng, hiraditya, kristof.beyls.
Herald added a project: All.
bcl5980 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Try to mangle thunk based on function type to match MSVC.
For now it only help debug and it still can't eliminate the same thunks with the same type. 
Later we can canonicalize thunk type to match the mangle name then don't create thunk for the same type.


https://reviews.llvm.org/D132955

Files:
  llvm/lib/Target/AArch64/AArch64Arm64ECCallLowering.cpp
  llvm/test/CodeGen/AArch64/arm64ec-mangle-align.ll
  llvm/test/CodeGen/AArch64/arm64ec-mangle-basic.ll
  llvm/test/CodeGen/AArch64/arm64ec-mangle-struct.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132955.456702.patch
Type: text/x-patch
Size: 152256 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220830/9bf905ae/attachment-0001.bin>


More information about the llvm-commits mailing list