[PATCH] D77390: Fix __builtin_amdgcn_workgroup_size_x/y/z return type

Jon Chesterfield via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 11 14:24:19 PDT 2020


JonChesterfield added inline comments.


================
Comment at: clang/test/CodeGenOpenCL/builtins-amdgcn.cl:541
 	switch (d) {
-	case 0: *out = __builtin_amdgcn_workgroup_size_x(); break;
+	case 0: *out = __builtin_amdgcn_workgroup_size_x() + 1; break;
 	case 1: *out = __builtin_amdgcn_workgroup_size_y(); break;
----------------
This looks unrelated to the return type change


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

https://reviews.llvm.org/D77390





More information about the cfe-commits mailing list