[clang] [llvm] [SPIRV] Use AMDGPU ABI for AMDGCN flavoured SPIRV (PR #169865)

Alex Voicu via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 28 05:37:51 PST 2025


================
@@ -374,7 +374,10 @@ bool SPIRVCallLowering::lowerFormalArguments(MachineIRBuilder &MIRBuilder,
         buildOpDecorate(VRegs[i][0], MIRBuilder,
                         SPIRV::Decoration::FuncParamAttr, {Attr});
       }
-      if (Arg.hasAttribute(Attribute::ByVal)) {
+      if (Arg.hasAttribute(Attribute::ByVal) ||
----------------
AlexVlx wrote:

Done, thank you for the suggestion.

https://github.com/llvm/llvm-project/pull/169865


More information about the llvm-commits mailing list