abhinavgaba added inline comments.

================
Comment at: clang/test/OpenMP/target_has_device_addr_codegen.cpp:351
+// CHECK:       omp_offload.failed:
+// CHECK-NEXT:    call void 
@{{__omp_offloading_[0-9a-z]+_[0-9a-z]+}}_main_l145(i32* [[TMP2]]) 
#[[ATTR5:[0-9]+]]
+// CHECK-NEXT:    br label [[OMP_OFFLOAD_CONT]]
----------------
The kernel argument should be `[[K]]` instead of `[[TMP2]]`. And the kernel's 
definition would need to be updated to take that extra pointer indirection into 
account.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134268

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

Reply via email to