[Mlir-commits] [mlir] [mlir][llvm] Add builder for llvm.call_intrinsic op (PR #151967)

Tobias Gysi llvmlistbot at llvm.org
Mon Aug 4 07:40:03 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)>,
----------------
gysit wrote:

Atomic compare and exchange is an example for an LLVM dialect operation that returns a struct. There seem to be some NVVM operations as well that do the same.

https://github.com/llvm/llvm-project/pull/151967


More information about the Mlir-commits mailing list