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

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 1 13:01:59 PDT 2023


craig.topper added a comment.

In D145088#4310464 <https://reviews.llvm.org/D145088#4310464>, @craig.topper wrote:

> In D145088#4308840 <https://reviews.llvm.org/D145088#4308840>, @akyrtzi wrote:
>
>> `CodeGen` has the same issue:
>>
>>   $ ninja tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/TargetInfo.cpp.o
>>   In file included from /llvm-project/clang/lib/CodeGen/TargetInfo.cpp:36:
>>   /llvm-project/llvm/include/llvm/TargetParser/RISCVTargetParser.h:32:10: fatal error: 'llvm/TargetParser/RISCVTargetParserDef.inc' file not found
>
> I just posted https://reviews.llvm.org/D149606 to move the constant to a file that doesn't depend on tablegen.

I found an even better fix fa42e7b <https://reviews.llvm.org/rGfa42e7b6bc430941f42cf50b5c4e55b3c19ccc08>


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