[llvm] [AMDGPU] Change handling of unsupported non-compute shaders with HSA (PR #126798)
    Matt Arsenault via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Feb 13 02:07:52 PST 2025
    
    
  
================
@@ -2933,7 +2937,7 @@ SDValue SITargetLowering::LowerFormalArguments(
 
   for (unsigned i = 0, e = Ins.size(), ArgIdx = 0; i != e; ++i) {
     const ISD::InputArg &Arg = Ins[i];
-    if (Arg.isOrigArg() && Skipped[Arg.getOrigArgIndex()]) {
+    if ((Arg.isOrigArg() && Skipped[Arg.getOrigArgIndex()]) || IsUnsupportedHsa) {
----------------
arsenm wrote:
Oh right, the other special input setup stuff still needs to happen. I suppose you can rename the variable 
https://github.com/llvm/llvm-project/pull/126798
    
    
More information about the llvm-commits
mailing list