aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Function.cpp
diff options
context:
space:
mode:
authorwanglei <wanglei@loongson.cn>2023-08-09 16:01:37 +0800
committerwanglei <wanglei@loongson.cn>2023-08-09 16:04:09 +0800
commitea8d3b1f9f2d7385d97fcd34d14db0eb2cb2795c (patch)
tree71759b676704ef9c3d59fd334e349067ff8510a1 /llvm/lib/IR/Function.cpp
parentc4769ef59c07bcb8c1ab0d9c0fe6e9ef319ffa6a (diff)
downloadllvm-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 'llvm/lib/IR/Function.cpp')
-rw-r--r--llvm/lib/IR/Function.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/IR/Function.cpp b/llvm/lib/IR/Function.cpp
index c01a27b..a9beb0b 100644
--- a/llvm/lib/IR/Function.cpp
+++ b/llvm/lib/IR/Function.cpp
@@ -37,6 +37,7 @@
#include "llvm/IR/IntrinsicsBPF.h"
#include "llvm/IR/IntrinsicsDirectX.h"
#include "llvm/IR/IntrinsicsHexagon.h"
+#include "llvm/IR/IntrinsicsLoongArch.h"
#include "llvm/IR/IntrinsicsMips.h"
#include "llvm/IR/IntrinsicsNVPTX.h"
#include "llvm/IR/IntrinsicsPowerPC.h"