[PATCH] D83707: [OpenMP][NFC] Emit remarks during GPU state machine optimization

Ye Luo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 13 12:08:57 PDT 2020


ye-luo added inline comments.


================
Comment at: clang/test/OpenMP/remarks_parallel_in_target_state_machine.c:12
+    #pragma omp parallel // #1
+    // expected-remark@#1 {{Found parallel region that is called through a state machine__omp_outlined__2_wrapper in non-SPMD target region. This can lead to excessive register usage in unrelated kernels in the same translation unit due to spurious call edges assumed by ptxas.}}
+    // expected-remark@#1 {{Parallel region __omp_outlined__2_wrapper is not known to be called from a single target region only, maybe the surrounding function has external linkage?; will not attempt to rewrite the state machine use.}}
----------------
Add a space "machine__omp_outlined__2_wrapper" to "machine __omp_outlined__2_wrapper"


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83707





More information about the llvm-commits mailing list