fhahn added inline comments.
================
Comment at: clang/docs/LanguageExtensions.rst:535
+      int d = 12;
+      a = a + c;
+      return a * d;
----------------
Is there any reason we use variables for the scalars? If not, it might be good 
to keep the examples as compact as possible. Using the extra variables seems 
overly verbose, when it could be just `return (a + 23) * 12`  and may give the 
impression only scalar variables are supported.

same also applies to the other examples below.


================
Comment at: clang/docs/LanguageExtensions.rst:578
+    f = (fx5x5)i;
+    return f;
+  }
----------------
this could also just be `return (fx5x5) i;`, right?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104198

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

Reply via email to