[PATCH] D153517: [AMDGPU] ISel for amdgpu_cs_chain[_preserve] functions

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 22 03:31:03 PDT 2023


arsenm added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp:91
+    // right after the arguments.
+    StackPtrOffsetReg = AMDGPU::SGPR105;
+
----------------
This is an odd choice of value and it doesn't exist on all subtargets


================
Comment at: llvm/test/CodeGen/AMDGPU/amdgpu-cs-chain-cc.ll:10
+; RUN: llc -global-isel=0 -march=amdgcn -mcpu=gfx1030 -mattr=-wavefrontsize32,+wavefrontsize64 -stop-after=finalize-isel -verify-machineinstrs < %s | FileCheck -check-prefix=DAGISEL-GFX10 %s
+
+; Test formal argument lowering as well as calls to amdgpu_gfx functions.
----------------
Add gfx6 or 7 run line from before s105 existed?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153517/new/

https://reviews.llvm.org/D153517



More information about the llvm-commits mailing list