[all-commits] [llvm/llvm-project] 961e7d: [MLIR][EmitC] Allow lvalue operands in (member_)ca...
Alexander Viand via All-commits
all-commits at lists.llvm.org
Tue Jun 16 05:59:50 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 961e7d121e38447f4395f05a2195a1349ae90100
https://github.com/llvm/llvm-project/commit/961e7d121e38447f4395f05a2195a1349ae90100
Author: Alexander Viand <alexander.viand at gmail.com>
Date: 2026-06-16 (Tue, 16 Jun 2026)
Changed paths:
M mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
M mlir/test/Dialect/EmitC/member_call_opaque.mlir
M mlir/test/Target/Cpp/call.mlir
Log Message:
-----------
[MLIR][EmitC] Allow lvalue operands in (member_)call_opaque arg_operands (#204112)
Widen the `arg_operands` of `emitc.call_opaque` and
`emitc.member_call_opaque` from `Variadic<EmitCType>` to
`Variadic<AnyTypeOf<[EmitCType, EmitC_LValueType]>>` to support taking
arguments by reference (e.g., out-parameters in destination-passing
style, or move-only types that cannot be copied into the call).
No translation/emitter codegen changes are needed, the generated C++ for
`arg_operands` also works with reference parameters.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list