[Mlir-commits] [mlir] [mlir][llvm] Fixes CallOp builder for the case of indirect call (PR #76240)
Tobias Gysi
llvmlistbot at llvm.org
Tue Dec 26 00:33:39 PST 2023
================
@@ -908,8 +908,9 @@ void CallOp::build(OpBuilder &builder, OperationState &state, TypeRange results,
void CallOp::build(OpBuilder &builder, OperationState &state, TypeRange results,
FlatSymbolRefAttr callee, ValueRange args) {
+ auto fargs = callee ? args : args.drop_front();
----------------
gysit wrote:
Let's land this then? @gitoleg do you have commit rights? Otherwise, one of us will land.
https://github.com/llvm/llvm-project/pull/76240
More information about the Mlir-commits
mailing list