aboutsummaryrefslogtreecommitdiff
path: root/clang/docs/CommandGuide
diff options
context:
space:
mode:
authorRichard Smith <richard@metafoo.co.uk>2020-01-23 12:28:03 -0800
committerRichard Smith <richard@metafoo.co.uk>2020-01-23 12:28:03 -0800
commitfa2fc81d3464aa9b6e5e9d2ad8f512904712d2b7 (patch)
tree307df72b6636939e6aa86b41d75cbb7f48cbc3e1 /clang/docs/CommandGuide
parent0fbf28f7aae0ceb70071cac56de345e3ff04439c (diff)
downloadllvm-fa2fc81d3464aa9b6e5e9d2ad8f512904712d2b7.zip
llvm-fa2fc81d3464aa9b6e5e9d2ad8f512904712d2b7.tar.gz
llvm-fa2fc81d3464aa9b6e5e9d2ad8f512904712d2b7.tar.bz2
Re-add documentation for -flax-vector-conversions= removed in
edd4398f4cd33a305afbca76ac4e6590e9337f4d. The documentation remains correct despite the revert of the patch.
Diffstat (limited to 'clang/docs/CommandGuide')
-rw-r--r--clang/docs/CommandGuide/clang.rst11
1 files changed, 10 insertions, 1 deletions
diff --git a/clang/docs/CommandGuide/clang.rst b/clang/docs/CommandGuide/clang.rst
index 7b08736..6947450 100644
--- a/clang/docs/CommandGuide/clang.rst
+++ b/clang/docs/CommandGuide/clang.rst
@@ -278,9 +278,18 @@ Language Selection and Mode Options
Make all string literals default to writable. This disables uniquing of
strings and other optimizations.
-.. option:: -flax-vector-conversions
+.. option:: -flax-vector-conversions, -flax-vector-conversions=<kind>, -fno-lax-vector-conversions
Allow loose type checking rules for implicit vector conversions.
+ Possible values of <kind>:
+
+ - ``none``: allow no implicit conversions between vectors
+ - ``integer``: allow implicit bitcasts between integer vectors of the same
+ overall bit-width
+ - ``all``: allow implicit bitcasts between any vectors of the same
+ overall bit-width
+
+ <kind> defaults to ``integer`` if unspecified.
.. option:: -fblocks