[Mlir-commits] [mlir] [mlir][llvm] Add builder for llvm.call_intrinsic op (PR #151967)
lonely eagle
llvmlistbot at llvm.org
Mon Aug 4 07:14:59 PDT 2025
================
@@ -2432,6 +2432,7 @@ def LLVM_CallIntrinsicOp
OpBuilder<(ins "StringAttr":$intrin, "ValueRange":$args)>,
OpBuilder<(ins "StringAttr":$intrin, "ValueRange":$args, "FastmathFlagsAttr":$fastMathFlags)>,
OpBuilder<(ins "Type": $resultType, "StringAttr":$intrin, "ValueRange":$args)>,
+ OpBuilder<(ins "TypeRange": $resultTypes, "StringAttr":$intrin, "ValueRange":$args)>,
----------------
linuxlonelyeagle wrote:
The problem is actually reflected in the fact that, although the return type in the builder can be RangeType, the definition of results for the tablegen of the intrinsic op is just an Optional<LLVM_TYPE>.
https://github.com/llvm/llvm-project/pull/151967
More information about the Mlir-commits
mailing list