[all-commits] [llvm/llvm-project] 2e7e09: [NVPTX] Prefix "$L__" for branch label names

Dmitry Vasilyev via All-commits all-commits at lists.llvm.org
Sat Apr 30 12:55:58 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e7e0975c0017d2ca5b7563143df0bc8c9d3826d
      https://github.com/llvm/llvm-project/commit/2e7e0975c0017d2ca5b7563143df0bc8c9d3826d
  Author: Dmitry Vassiliev <dvassiliev at accesssoftek.com>
  Date:   2022-04-30 (Sat, 30 Apr 2022)

  Changed paths:
    M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp
    M llvm/test/CodeGen/NVPTX/f16-instructions.ll
    M llvm/test/CodeGen/NVPTX/lower-aggr-copies.ll
    M llvm/test/DebugInfo/NVPTX/cu-range-hole.ll
    M llvm/test/DebugInfo/NVPTX/dbg-declare-alloca.ll
    M llvm/test/DebugInfo/NVPTX/debug-addr-class.ll
    M llvm/test/DebugInfo/NVPTX/debug-file-loc.ll
    M llvm/test/DebugInfo/NVPTX/debug-info.ll
    M llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll
    M llvm/test/DebugInfo/NVPTX/debug-name-table.ll

  Log Message:
  -----------
  [NVPTX] Prefix "$L__" for branch label names

A global variable may have the same name as a label, and ptxas does not accept it.
Prefix labels with $L__ to fix this.

Reviewed By: MaskRay, tra

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




More information about the All-commits mailing list