[Mlir-commits] [mlir] [mlir][llvm][x86vector] One-to-one intrinsic op interface (PR #140055)

Tobias Gysi llvmlistbot at llvm.org
Thu May 15 10:21:14 PDT 2025


================
@@ -14,57 +14,18 @@
 #define X86VECTOR_INTERFACES
 
 include "mlir/IR/Interfaces.td"
+include "mlir/Dialect/LLVMIR/LLVMInterfaces.td"
 
 //===----------------------------------------------------------------------===//
-// One-to-One Intrinsic Interface
+// Intrinsic Interface
 //===----------------------------------------------------------------------===//
 
-def OneToOneIntrinsicOpInterface : OpInterface<"OneToOneIntrinsicOp"> {
+def IntrinsicOpInterface
+    : OpInterface<"IntrinsicOp", [OneToOneIntrinsicOpInterface]> {
----------------
gysit wrote:

Why is the wrapper interface necessary? Do we want to mark x86 intrinsics specifically? 

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


More information about the Mlir-commits mailing list