[PATCH] D136106: [clang][RISCV] Set vscale_range attribute based on VLEN

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 17 13:09:05 PDT 2022


craig.topper added a comment.

> In the original review, I'd mentioned that MinVLEN was sometimes zero. That's still true, but apparently only happens if you specify multiple extensions in the -target_feature string. So, we can at least test "v" and "zve64x" on their own before I go figure out exactly what's going wrong regarding e.g. parsing "+v,+zvl512b".

I think you need to use `-target-feature "v" -target-feature "zvl512b".


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136106



More information about the cfe-commits mailing list