[all-commits] [llvm/llvm-project] 1d5820: [NVPTX] improve identifier renaming for PTX (#79459)

Alex MacLean via All-commits all-commits at lists.llvm.org
Fri Jan 26 13:49:13 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d5820aafeb08c176189d44331e3e2a8030e76e4
      https://github.com/llvm/llvm-project/commit/1d5820aafeb08c176189d44331e3e2a8030e76e4
  Author: Alex MacLean <amaclean at nvidia.com>
  Date:   2024-01-26 (Fri, 26 Jan 2024)

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

  Log Message:
  -----------
  [NVPTX] improve identifier renaming for PTX (#79459)

Update `NVPTXAssignValidGlobalNames` to convert all characters which are
illegal in PTX identifiers to `_$_`. ([PTX ISA: 4.4
Identifiers](https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#identifiers)).




More information about the All-commits mailing list