[all-commits] [llvm/llvm-project] 678241: [RISCV] Don't emit #undef BUILTIN from RISCVVEmitt...

Tsung-Chun Lin via All-commits all-commits at lists.llvm.org
Mon Mar 15 23:57:13 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 678241795c957b18bc473045e48abe3f2a61ff5c
      https://github.com/llvm/llvm-project/commit/678241795c957b18bc473045e48abe3f2a61ff5c
  Author: Jim Lin <tclin914 at gmail.com>
  Date:   2021-03-16 (Tue, 16 Mar 2021)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsRISCV.def
    M clang/utils/TableGen/RISCVVEmitter.cpp

  Log Message:
  -----------
  [RISCV] Don't emit #undef BUILTIN from RISCVVEmitter.cpp

In BuiltinsRISCV.def, other extension 's intrinsics need to be defined by using macro BUILTIN.
So, it shouldn't undefine macro BUILTIN in the end of declaration for V intrinsics.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D98682




More information about the All-commits mailing list