[clang] [llvm] [RISCV][VLS] Support RISCV VLS calling convention (PR #100346)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 24 14:13:47 PDT 2024
================
@@ -608,6 +608,9 @@ class CGFunctionInfo final
/// Log 2 of the maximum vector width.
unsigned MaxVectorWidth : 4;
+ /// Log2 of ABI_VLEN used in RISCV VLS calling convention.
+ unsigned Log2RISCVABIVLen : 4;
----------------
topperc wrote:
Don't you need 5 bits for 65536 which is 2^16. 16 is 0b10000 which is 5 bits.
https://github.com/llvm/llvm-project/pull/100346
More information about the llvm-commits
mailing list