[PATCH] D92715: [Clang][RISCV] Define RISC-V V builtin types

Hsiangkai Wang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 8 15:18:39 PST 2021


HsiangKai added a comment.

In D92715#2544233 <https://reviews.llvm.org/D92715#2544233>, @craig.topper wrote:

> In D92715#2544178 <https://reviews.llvm.org/D92715#2544178>, @HsiangKai wrote:
>
>> In D92715#2520925 <https://reviews.llvm.org/D92715#2520925>, @craig.topper wrote:
>>
>>> I wonder if these types should be prefixed with "__clang_" like AArch64 tuple types?
>>
>> It seems only AArch64 tuple types have "__clang_" prefix.
>
> I think the other types don't have it because they are defined by an ARM standard. See the description for https://reviews.llvm.org/D81721

It seems to use `__clang_` to differentiate tuple types and non-tuple types. The mangling rules are different between tuple types and non-tuple types in ARM. We have no mangling rules in our specification. I have a TODO item in this patch to clarify the mangling rules later.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D92715



More information about the cfe-commits mailing list