[all-commits] [llvm/llvm-project] 62e443: [NVPTX] Use appropriate operands in ReplaceImageHa...

Alex MacLean via All-commits all-commits at lists.llvm.org
Wed Feb 19 20:59:52 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 62e4436bb80b82c836fb747b391696700f089e6b
      https://github.com/llvm/llvm-project/commit/62e4436bb80b82c836fb747b391696700f089e6b
  Author: Alex MacLean <amaclean at nvidia.com>
  Date:   2025-02-19 (Wed, 19 Feb 2025)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
    M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.h
    M llvm/lib/Target/NVPTX/NVPTXMachineFunctionInfo.h
    M llvm/lib/Target/NVPTX/NVPTXReplaceImageHandles.cpp

  Log Message:
  -----------
  [NVPTX] Use appropriate operands in ReplaceImageHandles (NFC) (#127898)

Prior to this change NVPTXReplaceImageHandles replaced operands with
indices and populated a table matching these indices to strings to be
used in AsmPrinter. We can clean this up by simply inserting the correct
external symbol or global address operands during
NVPTXReplaceImageHandles, largely removing the need for the table.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list