[Mlir-commits] [mlir] [mlir][SPIRV] Support Alignment and FuncParamAttr on parameters (PR #231069)
Alexander Shaposhnikov
llvmlistbot at llvm.org
Wed Oct 14 02:10:36 PDT 2026
================
@@ -268,6 +268,16 @@ LogicalResult Serializer::processFuncParameter(spirv::FuncOp op) {
// Process decoration attributes of arguments.
auto funcOp = cast<FunctionOpInterface>(*op);
for (auto argAttr : funcOp.getArgAttrs(idx)) {
+ if (argAttr.getName() == "spirv.alignment" ||
+ argAttr.getName() == "spirv.func_param_attr") {
----------------
alexander-shaposhnikov wrote:
Done
https://github.com/llvm/llvm-project/pull/231069
More information about the Mlir-commits
mailing list