[PATCH] D92721: [PATCH] [clang] Create SPIRABIInfo to enable SPIR_FUNC calling convention

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 8 07:37:56 PST 2020


Anastasia added a comment.

In D92721#2437941 <https://reviews.llvm.org/D92721#2437941>, @mibintc wrote:

> There are many RuntimeCalls that are created in Clang, including _read_pipe, all the OpenMP runtime calls, etc.  Shall they all have their calling conventions set from the ABIInfo?  Currently those calls are being set to 0.

Makes sense to apply this to all functions indeed, btw there is also `getDefaultCallingConvention` from SPIR that could be used...


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D92721



More information about the cfe-commits mailing list