yaxunl marked 2 inline comments as done.
yaxunl added inline comments.

================
Comment at: clang/test/CodeGenCUDA/host-used-device-var.cu:31-33
+// Check device-used static device var is not in llvm.compiler.used.
+// CHECK-DAG: @_ZL2u4
+static __device__ int u4;
----------------
tra wrote:
> I'd rephrase it as 'but is not in llvm.compiler.used'
> 
will do


================
Comment at: clang/test/CodeGenCUDA/host-used-device-var.cu:46
+}
+// CHECK: @llvm.compiler.used = {{[^@]*}} @_ZL2u3 {{[^@]*}} @u1 {{[^@]*}} @u2 
{{[^@]*}} @u5
----------------
tra wrote:
> I'd add a comment that we're effectively matching the exact list of the 
> variables here and that ensures that `@_ZL2u4` is not among them.
> 
will do


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

https://reviews.llvm.org/D98814

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D98814: [CUDA][HIP] Mark... Yaxun Liu via Phabricator via cfe-commits

Reply via email to