OSDN Git Service

[release][docs] Update contributions to LLVM 12 for scalable vectors.
authorDavid Sherwood <david.sherwood@arm.com>
Mon, 8 Feb 2021 16:33:46 +0000 (16:33 +0000)
committerDavid Sherwood <david.sherwood@arm.com>
Thu, 18 Feb 2021 09:07:28 +0000 (09:07 +0000)
Differential Revision: https://reviews.llvm.org/D96270

clang/docs/ReleaseNotes.rst

index f4ca8a8..a43cc33 100644 (file)
@@ -144,6 +144,18 @@ New Pragmas in Clang
 
 - ...
 
+Modified Pragmas in Clang
+-------------------------
+
+- The "#pragma clang loop vectorize_width" has been extended to support an
+  optional 'fixed|scalable' argument, which can be used to indicate that the
+  compiler should use fixed-width or scalable vectorization.  Fixed-width is
+  assumed by default.
+
+  Scalable or vector length agnostic vectorization is an experimental feature
+  for targets that support scalable vectors. For more information please refer
+  to the Clang Language Extensions documentation.
+
 Attribute Changes in Clang
 --------------------------