[Mlir-commits] [mlir] [mlir][ArmSVE] Add convert_to/from_svbool ops (PR #68586)

Benjamin Maxwell llvmlistbot at llvm.org
Wed Oct 11 02:42:06 PDT 2023


================
@@ -66,6 +68,77 @@ using ScalableMaskedDivFOpLowering =
     OneToOneConvertToLLVMPattern<ScalableMaskedDivFOp,
                                  ScalableMaskedDivFIntrOp>;
 
+namespace {
+
+/// Unrolls a conversion to/from equivalent vector types, to allow using a
+/// conversion intrinsic that only supports 1-D vector types.
----------------
MacDue wrote:

That's the whole reason this op exists though? If this mapped 1-1 to the intrinsics there'd be no reason for these ops to exist. 

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


More information about the Mlir-commits mailing list