[all-commits] [llvm/llvm-project] 57183b: [NVPTX] Add support for stacksave, stackrestore in...

Alex MacLean via All-commits all-commits at lists.llvm.org
Fri Nov 1 13:26:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57183b6fe11ae4c8d1b3e8d4bc8da5faff564799
      https://github.com/llvm/llvm-project/commit/57183b6fe11ae4c8d1b3e8d4bc8da5faff564799
  Author: Alex MacLean <amaclean at nvidia.com>
  Date:   2024-11-01 (Fri, 01 Nov 2024)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.h
    M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
    A llvm/test/CodeGen/NVPTX/stacksaverestore.ll

  Log Message:
  -----------
  [NVPTX] Add support for stacksave, stackrestore intrinsics (#114484)

Add support for the '`@llvm.stacksave`' and '`@llvm.stackrestore`'
intrinsics to NVPTX. These are implemented with the `stacksave` and
`stackrestore` PTX instructions respectively.

See [PTX ISA 9.7.17. Stack Manipulation Instructions]
(https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#stack-manipulation-instructions).



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