[all-commits] [llvm/llvm-project] 2df05c: [RISCV] Support overloaded version ntlh intrinsic ...
Piyou Chen via All-commits
all-commits at lists.llvm.org
Fri Aug 4 00:39:39 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2df05cd01c17f3ef720e554dc7cde43df27e5224
https://github.com/llvm/llvm-project/commit/2df05cd01c17f3ef720e554dc7cde43df27e5224
Author: Piyou Chen <piyou.chen at sifive.com>
Date: 2023-08-04 (Fri, 04 Aug 2023)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/Headers/riscv_ntlh.h
M clang/lib/Sema/SemaChecking.cpp
M clang/test/CodeGen/RISCV/ntlh-intrinsics/riscv32-zihintntl.c
Log Message:
-----------
[RISCV] Support overloaded version ntlh intrinsic function
Here is the proposal https://github.com/riscv-non-isa/riscv-c-api-doc/pull/47.
The version that omit the domain argument imply domain=__RISCV_NTLH_ALL.
```
type __riscv_ntl_load (type *ptr);
void __riscv_ntl_store (type *ptr, type val);
```
Reviewed By: kito-cheng, craig.topper
Differential Revision: https://reviews.llvm.org/D156221
More information about the All-commits
mailing list