[Mlir-commits] [mlir] [mlir][ArmSME] Use ArmSMETypeConverter for all VectorToLLVM patterns (PR #65261)

Cullen Rhodes llvmlistbot at llvm.org
Mon Sep 4 08:46:10 PDT 2023


================
@@ -83,21 +83,26 @@ void LowerVectorToLLVMPass::runOnOperation() {
   // Convert to the LLVM IR dialect.
   LowerToLLVMOptions options(&getContext());
   options.useOpaquePointers = useOpaquePointers;
-  LLVMTypeConverter converter(&getContext(), options);
+
+  LLVMTypeConverter *converter;
+  if (armSME)
+    converter = new arm_sme::ArmSMETypeConverter(&getContext(), options);
+  else
+    converter = new LLVMTypeConverter(&getContext(), options);
----------------
c-rhodes wrote:

ah, thanks for heads up! I'll push a fix soon

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


More information about the Mlir-commits mailing list