[all-commits] [llvm/llvm-project] 9376d9: [docs] Document the usage of operators on RVV size...
Philip Reames via All-commits
all-commits at lists.llvm.org
Mon May 4 13:28:56 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9376d9b0151d69a5356665a11c2c83bf4f53ad83
https://github.com/llvm/llvm-project/commit/9376d9b0151d69a5356665a11c2c83bf4f53ad83
Author: Philip Reames <listmail at philipreames.com>
Date: 2026-05-04 (Mon, 04 May 2026)
Changed paths:
M clang/docs/LanguageExtensions.rst
Log Message:
-----------
[docs] Document the usage of operators on RVV sized types (#194979)
We have existing support in clang for operator overloading on RVV
builtin types when those types are sized. This can be achieved through a
combination of the -mrvv-vector-bits=N command line (to communicate
exact VLEN to the compiler) and the riscv_rvv_vector_bits attribute on
the types themselves. We have fairly complete test coverage for this in
clang/test/CodeGen/RISCV/rvv-vls-*.ll.
Our documentation did not reflect this reality, so this patch updates
the documentation to match the actual support.
Patch written by Claude, with minor sanity checking by me.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list