The revision adds support to import:
- matrix intrinsics
- vector reduce fadd/fmul intrinsics
- assume intrinsics
from LLVM IR.
Paths
| Differential D136137
[mlir][llvm] Import matrix, vector, and assume intrinsics from LLVM IR. ClosedPublic Authored by gysit on Oct 17 2022, 11:58 PM.
Details Summary The revision adds support to import:
from LLVM IR.
Diff Detail
Event TimelineComment Actions While you are looking at these, maybe we can also have more specific type constraints than the generic LLVM_Type? This revision is now accepted and ready to land.Oct 18 2022, 12:35 AM Comment Actions
Yes that may actually unveil some import bugs. I'll put it on my TODO list to make the types of at least some of the operation types more precise. It seems like the type definitions are already there! Comment Actions Yes, I switched most of the operations to have better type constraints, but didn't do this for intrinsics. This revision was landed with ongoing or failed builds.Oct 18 2022, 1:12 AM Closed by commit rGb3ed69d37ce2: [mlir][llvm] Import matrix, vector, and assume intrinsics from LLVM IR. (authored by gysit). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 468435 mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
mlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td
mlir/test/Target/LLVMIR/Import/intrinsic.ll
|