[PATCH] D88265: Fix comma with half vectors.

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 29 13:46:31 PDT 2020


ahatanak accepted this revision.
ahatanak added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/test/Sema/fp16vec-sema.c:33
+  1, hv0; // expected-warning 2 {{expression result unused}}
 
   // Implicit conversion between half vectors and float vectors are not allowed.
----------------
Since these diagnostics aren't relevant to the test, can you silence them by passing `-Wno-unused-value` or assigning the expressions to variables?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88265



More information about the cfe-commits mailing list