diff options
author | wanglei <wanglei@loongson.cn> | 2023-08-09 16:01:37 +0800 |
---|---|---|
committer | wanglei <wanglei@loongson.cn> | 2023-08-09 16:04:09 +0800 |
commit | ea8d3b1f9f2d7385d97fcd34d14db0eb2cb2795c (patch) | |
tree | 71759b676704ef9c3d59fd334e349067ff8510a1 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | c4769ef59c07bcb8c1ab0d9c0fe6e9ef319ffa6a (diff) | |
download | llvm-ea8d3b1f9f2d7385d97fcd34d14db0eb2cb2795c.zip llvm-ea8d3b1f9f2d7385d97fcd34d14db0eb2cb2795c.tar.gz llvm-ea8d3b1f9f2d7385d97fcd34d14db0eb2cb2795c.tar.bz2 |
[Clang][LoongArch] Use the ClangBuiltin class to automatically generate support for CBE and CFE
Fixed the type modifier (L->W), removed redundant feature checking code
since the feature has already been checked in `EmitBuiltinExpr`. And
Cleaned up unused diagnostic information.
Reviewed By: SixWeining
Differential Revision: https://reviews.llvm.org/D156866
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 8722fd4..143e070 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -4316,7 +4316,6 @@ public: llvm::Value *EmitHexagonBuiltinExpr(unsigned BuiltinID, const CallExpr *E); llvm::Value *EmitRISCVBuiltinExpr(unsigned BuiltinID, const CallExpr *E, ReturnValueSlot ReturnValue); - llvm::Value *EmitLoongArchBuiltinExpr(unsigned BuiltinID, const CallExpr *E); void ProcessOrderScopeAMDGCN(llvm::Value *Order, llvm::Value *Scope, llvm::AtomicOrdering &AO, llvm::SyncScope::ID &SSID); |