[all-commits] [llvm/llvm-project] ee9cbe: [RISCV] Move RISCV::RVVBitsPerBlock from TargetPar...

Craig Topper via All-commits all-commits at lists.llvm.org
Sat Apr 29 15:07:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee9cbe3548cded885c6409d6dd8a616b515a06d3
      https://github.com/llvm/llvm-project/commit/ee9cbe3548cded885c6409d6dd8a616b515a06d3
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-04-29 (Sat, 29 Apr 2023)

  Changed paths:
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/Type.cpp
    M clang/lib/CodeGen/TargetInfo.cpp
    M clang/lib/Driver/SanitizerArgs.cpp
    M clang/lib/Sema/CMakeLists.txt
    M clang/lib/Sema/SemaType.cpp
    M llvm/include/llvm/Support/RISCVISAInfo.h
    M llvm/include/llvm/TargetParser/RISCVTargetParser.h
    M llvm/lib/Target/RISCV/RISCVISelLowering.h

  Log Message:
  -----------
  [RISCV] Move RISCV::RVVBitsPerBlock from TargetParser to Support/RISCVISAInfo.h.

RISCVTargetParser.h has a dependency on a tablegen generated file.

Using RISCVISAInfo.h instead avoids this dependency.

We just need this constant somewhere visible to the frontend and
backend and I'm trying to avoid adding a header just for it.




More information about the All-commits mailing list