[PATCH] D71133: [OpenCL] Add ExtVectorElementExpr constant evaluation (PR42387)

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 10 08:53:20 PST 2019


Anastasia added inline comments.


================
Comment at: clang/lib/AST/ExprConstant.cpp:7057
+
+    if (Val.isVector()) {
+      SmallVector<uint32_t, 4> Indices;
----------------
can Val not be vector at this point?


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

https://reviews.llvm.org/D71133





More information about the cfe-commits mailing list