rsmith marked an inline comment as done.
rsmith added inline comments.

================
Comment at: docs/ReleaseNotes.rst:84
+  In a future release of Clang, we intend to change the default to
+  ``-fno-lax-vector-conversions``.
+
----------------
efriedma wrote:
> And if you want to allow your code to build with both clang-9 and clang-10, 
> you have to do version detection in your build scripts?
I guess you'd detect whether the compiler supports 
`-flax-vector-conversions=all`, and pass that if so, and otherwise pass 
`-flax-vector-conversions`. Well, either that or you fix your code to not rely 
on lax vector conversions between int and float vectors. If your code builds 
with GCC, you did that already (they never supported lax conversions between 
float and int vectors, as far as I can tell).

Do you have a preferred alternative?


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67678/new/

https://reviews.llvm.org/D67678



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to