[PATCH] D139701: [Clang] Emit "min-legal-vector-width" attribute for X86 only
Matt Arsenault via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 21 10:19:19 PST 2022
arsenm added inline comments.
================
Comment at: llvm/docs/LangRef.rst:2235-2241
-``"min-legal-vector-width"="<size>"``
- This attribute indicates the minimum legal vector width required by the
- calling convension. It is the maximum width of vector arguments and
- returnings in the function and functions called by this function. Because
- all the vectors are supposed to be legal type for compatibility.
- Backends are free to ignore the attribute if they don't need to support
- different maximum legal vector types or such information can be inferred by
----------------
This still should be documented somewhere. I don't know if we document any target attributes specifically in the langref
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139701/new/
https://reviews.llvm.org/D139701
More information about the cfe-commits
mailing list