[PATCH] D29925: Implement intrinsic mangling for literal struct types.Fixes PR 31921
Sanjoy Das via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 27 10:19:04 PST 2017
sanjoy added a comment.
In https://reviews.llvm.org/D29925#687131, @dberlin wrote:
> I wasn't aware intrinsics were allowed to have a calling convention, since they are internal to llvm.
> No intrinsic defined in Intrinsics* has one, from what i can tell, and as you can see, the code we use to upgrade generically does not do anything with calling convention either.
> I'm not even sure what it would mean for an intrinsic to have a calling convention (instead of something it *lowers to* to have a calling convention).
It is used for statepoints and patchpoints. `call cconv42 @statepoint(@foo)` is lowered to a call to `@foo`, and `cconv42` is interpreted as the calling convention for the lowered call to `@foo`.
Repository:
rL LLVM
https://reviews.llvm.org/D29925
More information about the llvm-commits
mailing list