================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits