[all-commits] [llvm/llvm-project] da34af: [Clang][LoongArch] Implement __builtin_loongarch_c...
Gong LingQin via All-commits
all-commits at lists.llvm.org
Thu Nov 10 17:24:06 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: da34aff90d2b08f8172dd4942e398fc0c012399c
https://github.com/llvm/llvm-project/commit/da34aff90d2b08f8172dd4942e398fc0c012399c
Author: gonglingqin <gonglingqin at loongson.cn>
Date: 2022-11-11 (Fri, 11 Nov 2022)
Changed paths:
M clang/include/clang/Basic/BuiltinsLoongArch.def
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Sema/Sema.h
M clang/lib/Basic/Targets/LoongArch.cpp
M clang/lib/Basic/Targets/LoongArch.h
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/Headers/larchintrin.h
M clang/lib/Sema/SemaChecking.cpp
A clang/test/CodeGen/LoongArch/intrinsic-error.c
A clang/test/CodeGen/LoongArch/intrinsic-la64.c
M llvm/include/llvm/IR/IntrinsicsLoongArch.td
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/lib/Target/LoongArch/LoongArchISelLowering.h
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
A llvm/test/CodeGen/LoongArch/intrinsic-la32-error.ll
A llvm/test/CodeGen/LoongArch/intrinsic-la64.ll
Log Message:
-----------
[Clang][LoongArch] Implement __builtin_loongarch_crc_w_d_w builtin and add diagnostics
This patch adds support to prevent __builtin_loongarch_crc_w_d_w from compiling
on loongarch32 in the front end and adds diagnostics accordingly.
Reference: https://github.com/gcc-mirror/gcc/blob/master/gcc/config/loongarch/larchintrin.h#L175-L184
Depends on D136906
Differential Revision: https://reviews.llvm.org/D137316
More information about the All-commits
mailing list