[PATCH] D84605: [IR][MSP430] Expose the "msp430_builtin" calling convention to .ll

Anatoly Trosinenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 14 02:04:20 PDT 2020


atrosinenko added a comment.

//A shy ping :)//

On one hand, this patch is rather useless without D84602: [MSP430] Expose msp430_builtin calling convention to C code <https://reviews.llvm.org/D84602> and scary D84636: [RFC] Make the default LibCall implementations from compiler-rt builtins library more customizable <https://reviews.llvm.org/D84636>. On the other hand, this one is expected to merely rename a `cc94` attribute to meaningful `msp430_builtincc`. The only possible drawback I see is that someone may want to give it more descriptive name, as only a small subset of "builtin" functions (LibCall, in fact) use it while most of them just have a default CC. In this patch, it is named after the pre-existed `CallingConv::MSP430_BUILTIN`.

Another note is that it is not expected to be used by someone except for compiler-rt developers. //Frankly speaking, this patch does not block anything at all, it just adds some neater name to an entity that is expected to be used by means of `__attribute__`. So, compiler-rt developers will probably only need it while reading the listings for debug purposes, as well. :)//


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84605/new/

https://reviews.llvm.org/D84605



More information about the llvm-commits mailing list