[PATCH] D145088: [RISCV] Add attribute(riscv_rvv_vector_bits(N)) based on AArch64 arm_sve_vector_bits.

Argyrios Kyrtzidis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 29 11:08:56 PDT 2023


akyrtzi added a comment.

Hi @craig.topper , this patch is causing a build failure:

  In file included from /llvm-project/clang/lib/Sema/SemaType.cpp:43:
  /llvm-project/llvm/include/llvm/TargetParser/RISCVTargetParser.h:32:10: fatal error: 'llvm/TargetParser/RISCVTargetParserDef.inc' file not found

To reproduce, configure from a clean build directory like this:

  cmake -G Ninja /path/to/llvm-project/llvm \
    -DLLVM_TARGETS_TO_BUILD="X86;ARM;AArch64" \
    -DCMAKE_BUILD_TYPE:STRING=Release \
    -DLLVM_ENABLE_PROJECTS="clang"

Then run:

  ninja tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaType.cpp.o

Could you take a look? 🙏


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145088/new/

https://reviews.llvm.org/D145088



More information about the cfe-commits mailing list