[PATCH] D120733: [IRSim][IROutliner] Ignore outlined sections that include musttail calls
Andrew Litteken via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 1 07:57:03 PST 2022
AndrewLitteken created this revision.
AndrewLitteken added reviewers: paquette, aschwaighofer.
Herald added subscribers: ormris, hiraditya.
AndrewLitteken requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Musttail calls require extra handling to properly propagate the calling convention information and tail call information. The outliner does not currently do this, so we ignore call instructions that utilize the swifttailcc and tailcc calling convention as well as functions marked with the attribute musttail.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D120733
Files:
llvm/include/llvm/Analysis/IRSimilarityIdentifier.h
llvm/include/llvm/Transforms/IPO/IROutliner.h
llvm/lib/Analysis/IRSimilarityIdentifier.cpp
llvm/test/Transforms/IROutliner/outlining-musttail.ll
llvm/test/Transforms/IROutliner/outlining-swifttailcc.ll
llvm/test/Transforms/IROutliner/outlining-tailcc.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120733.412110.patch
Type: text/x-patch
Size: 9346 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220301/ff9eed0f/attachment.bin>
More information about the llvm-commits
mailing list