[all-commits] [llvm/llvm-project] c28e32: [RISCV] Lazily add RVV C intrinsics.

Kai Wang via All-commits all-commits at lists.llvm.org
Sun Oct 10 05:35:13 PDT 2021


  Branch: refs/heads/speedup-rvv
  Home:   https://github.com/llvm/llvm-project
  Commit: c28e32d20fd4a334e49f64a041cbefe7cd1e8ce3
      https://github.com/llvm/llvm-project/commit/c28e32d20fd4a334e49f64a041cbefe7cd1e8ce3
  Author: Hsiangkai Wang <kai.wang at sifive.com>
  Date:   2021-10-10 (Sun, 10 Oct 2021)

  Changed paths:
    M clang/include/clang/Basic/CMakeLists.txt
    M clang/lib/Sema/SemaLookup.cpp
    M clang/utils/TableGen/RISCVVEmitter.cpp
    M clang/utils/TableGen/TableGen.cpp
    M clang/utils/TableGen/TableGenBackends.h
    M llvm/docs/CommandGuide/tblgen.rst

  Log Message:
  -----------
  [RISCV] Lazily add RVV C intrinsics.

Leverage the method OpenCL uses that adds C intrinsics when the lookup
failed. There is no need to define C intrinsics in the header file any
more. It could help to avoid the large header file to speed up the
compilation of RVV source code. Besides that, only the C intrinsics used
by the users will be added into the declaration table.




More information about the All-commits mailing list