[all-commits] [llvm/llvm-project] 6555c4: [OpenMP][NVPTX] Handle additional invalid PTX char...

Chi-Chun, Chen via All-commits all-commits at lists.llvm.org
Fri Jun 30 12:59:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6555c474483d8423e2a626814843e9f62efe6fd7
      https://github.com/llvm/llvm-project/commit/6555c474483d8423e2a626814843e9f62efe6fd7
  Author: Jeffrey Sandoval <jeffrey.sandoval at hpe.com>
  Date:   2023-06-30 (Fri, 30 Jun 2023)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXAssignValidGlobalNames.cpp
    M llvm/test/CodeGen/NVPTX/symbol-naming.ll

  Log Message:
  -----------
  [OpenMP][NVPTX] Handle additional invalid PTX characters

For OpenMP offload, Clang emits global symbols containing the string
'<captured>', which contains characters that are invalid in PTX.
Extend the existing pass that replaces '.'  and '@' characters with
'_$_' to also replace '<' and '>' characters.

Reviewed By: cchen

Differential Revision: https://reviews.llvm.org/D154241




More information about the All-commits mailing list