[all-commits] [llvm/llvm-project] ea8d3b: [Clang][LoongArch] Use the ClangBuiltin class to a...

wanglei via All-commits all-commits at lists.llvm.org
Wed Aug 9 01:27:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea8d3b1f9f2d7385d97fcd34d14db0eb2cb2795c
      https://github.com/llvm/llvm-project/commit/ea8d3b1f9f2d7385d97fcd34d14db0eb2cb2795c
  Author: wanglei <wanglei at loongson.cn>
  Date:   2023-08-09 (Wed, 09 Aug 2023)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsLoongArch.def
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/CodeGenFunction.h
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/CodeGen/LoongArch/intrinsic-la32-error.c
    M llvm/include/llvm/IR/IntrinsicsLoongArch.td
    M llvm/lib/IR/Function.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list