[all-commits] [llvm/llvm-project] 583795: [NVPTX][NFCI] Use DataLayout to determine short sh...

Alex MacLean via All-commits all-commits at lists.llvm.org
Mon Apr 22 09:01:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 583795e1ca7c331a9e5a12a7829b572625321f92
      https://github.com/llvm/llvm-project/commit/583795e1ca7c331a9e5a12a7829b572625321f92
  Author: Alex MacLean <amaclean at nvidia.com>
  Date:   2024-04-22 (Mon, 22 Apr 2024)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXFrameLowering.cpp
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.h
    M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
    M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
    M llvm/lib/Target/NVPTX/NVPTXPeephole.cpp
    M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
    M llvm/lib/Target/NVPTX/NVPTXTargetMachine.h

  Log Message:
  -----------
  [NVPTX][NFCI] Use DataLayout to determine short shared/local/const pointers (#89404)

Use the datalayout directly to determine the correct `cvta` instruction
for converting shared/local/const pointers. This is cleaner as it
eliminates the need to keep a redundant copy of this info in the TM and
makes clear which address spaces short pointers are applicable for.



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