[all-commits] [llvm/llvm-project] 7ff0bf: [RISCV][NFC] Refactor RISC-V vector intrinsic utils.

Kito Cheng via All-commits all-commits at lists.llvm.org
Mon May 16 00:13:19 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ff0bf576b841d5418c0fb1c4b94f16c6205e7d9
      https://github.com/llvm/llvm-project/commit/7ff0bf576b841d5418c0fb1c4b94f16c6205e7d9
  Author: Kito Cheng <kito.cheng at sifive.com>
  Date:   2022-05-16 (Mon, 16 May 2022)

  Changed paths:
    M clang/include/clang/Support/RISCVVIntrinsicUtils.h
    M clang/lib/Support/RISCVVIntrinsicUtils.cpp
    M clang/utils/TableGen/RISCVVEmitter.cpp

  Log Message:
  -----------
  [RISCV][NFC] Refactor RISC-V vector intrinsic utils.

This patch is preparation for D111617, use class/struct/enum rather than char/StringRef to present internal information as possible, that provide more compact way to store those info and also easier to serialize/deserialize.

And also that improve readability of the code, e.g. "v" vs TypeProfile::Vector.

Reviewed By: khchen

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




More information about the All-commits mailing list