[all-commits] [llvm/llvm-project] 821547: [RISCV][Clang] Update new overloading rules for RV...

Zakk Chen via All-commits all-commits at lists.llvm.org
Sun Mar 28 09:10:47 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 821547cabb5819ed42245376a9afcd11cdee5ddd
      https://github.com/llvm/llvm-project/commit/821547cabb5819ed42245376a9afcd11cdee5ddd
  Author: Zakk Chen <zakk.chen at sifive.com>
  Date:   2021-03-28 (Sun, 28 Mar 2021)

  Changed paths:
    M clang/include/clang/Basic/riscv_vector.td
    M clang/lib/Headers/CMakeLists.txt
    R clang/test/CodeGen/RISCV/rvv-intrinsics-generic/vadd.c
    R clang/test/CodeGen/RISCV/rvv-intrinsics-generic/vfadd.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vadd.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfadd.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vle.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vloxei.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vluxei.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vse.c
    M clang/utils/TableGen/RISCVVEmitter.cpp
    M clang/utils/TableGen/TableGen.cpp
    M clang/utils/TableGen/TableGenBackends.h
    M llvm/docs/CommandGuide/tblgen.rst
    M llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn

  Log Message:
  -----------
  [RISCV][Clang] Update new overloading rules for RVV intrinsics.

RVV intrinsics has new overloading rule, please see
https://github.com/riscv/rvv-intrinsic-doc/commit/82aac7dad4c6c1c351ed5b17ca6007c395843ed7

Changed:
1. Rename `generic` to `overloaded` because the new rule is not using C11 generic.
2. Change HasGeneric to HasNoMaskedOverloaded because all masked operations
   support overloading api.
3. Add more overloaded tests due to overloading rule changed.

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




More information about the All-commits mailing list