[Mlir-commits] [mlir] [mlir][llvm] Fixes CallOp builder for the case of indirect call (PR #76240)
Ivan R. Ivanov
llvmlistbot at llvm.org
Fri Dec 22 13:55:12 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();
----------------
ivanradanov wrote:
But if there is a lot of code that depends on this behaviour then I guess this works as well.
https://github.com/llvm/llvm-project/pull/76240
More information about the Mlir-commits
mailing list