[PATCH] D135894: [clang][RISCV] Set vscale_range attribute based on presence of "v" extension
Craig Topper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 17 09:39:30 PDT 2022
craig.topper added inline comments.
================
Comment at: clang/lib/Basic/Targets/RISCV.cpp:256
+ if (hasFeature("v"))
+ // Minium VLEN=128, Maximum VLEN=64k, and RISCV::RVVBitsPerBlock is 64.
+ return std::pair<unsigned, unsigned>(2, 1024);
----------------
Minimum
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135894/new/
https://reviews.llvm.org/D135894
More information about the cfe-commits
mailing list