[PATCH] D102248: [C++4OpenCL] Fix initialization of __constant constructors without arguments

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 14 07:54:03 PDT 2021


Anastasia accepted this revision.
Anastasia added a comment.
This revision is now accepted and ready to land.

LGTM! Thanks!



================
Comment at: clang/test/CodeGenOpenCLCXX/addrspace-constructors.clcpp:22
+
+// CHECK: @cx1 = dso_local addrspace(2) constant %struct.X zeroinitializer, align 4
+// CHECK: @cx2 = dso_local addrspace(2) constant %struct.X { i32 1 }, align 4
----------------
FYI, I would remove `, align 4` to simplify testing.


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

https://reviews.llvm.org/D102248



More information about the cfe-commits mailing list