Re-add documentation for -flax-vector-conversions= removed in

edd4398f4c.

The documentation remains correct despite the revert of the patch.
This commit is contained in:
Richard Smith 2020-01-23 12:28:03 -08:00
parent 0fbf28f7aa
commit fa2fc81d34

View File

@ -278,9 +278,18 @@ Language Selection and Mode Options
Make all string literals default to writable. This disables uniquing of Make all string literals default to writable. This disables uniquing of
strings and other optimizations. 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. 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 .. option:: -fblocks