[clang] [clang][ExprConst] allow single element access of vector object to be constant expression (PR #72607)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 15 18:31:22 PST 2024
================
@@ -144,6 +144,9 @@ sections with improvements to Clang's support for those languages.
C++ Language Changes
--------------------
+- Allow single element access of vector object to be constant expression.
+ Supports the `V.xyzw` syntax and other tidbits as seen in OpenCL.
----------------
sethp wrote:
This feels a little misleading, since `V.xyzw` the "multiple element" form that's not yet supported. Maybe "supports `V[0]` and `V.x`/`V.y`/... syntax"?
https://github.com/llvm/llvm-project/pull/72607
More information about the cfe-commits
mailing list