You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, buddy-mlir! I want to translate the conv2d.mlir to llvm ir file to compare the difference of conv2d implemention between vectorization and non-vectorization(with linalg dialect). But when I try to run the command like this:
Hi, @LRY89757, buddy-translate is based on mlir-translate. To generate LLVM IR from the .mlir file, you must ensure that every operation in this file is a part of llvm dialect or dialects at the same level. In your conv2d situation, vector.splat is high-level operation and requires more lowering passes(e.g. convert-vector-to-llvm) before using buddy-translate.
Having further questions about the vectorization of conv2d, you may share your after-vec-conv2d.mlir and thorough lowering&translation process. Thanks for your interest!
Thx for your guidance! @xlinsist I need to add additional params like -convert-linalg-to-loops--lower-affine to lowering subsequently this high level dialect. I think I have a more deep understanding of Dialect : )
Hi, buddy-mlir! I want to translate the conv2d.mlir to llvm ir file to compare the difference of conv2d implemention between vectorization and non-vectorization(with linalg dialect). But when I try to run the command like this:
It showed like:
Because the buddy-translate doesn't support the dialect linalg,affine and vector of mlir.
I've checked the CMakeLists.txt of buddy-translate:
But I don't know how to add the dialect vector, affine and linalg to dialect_libs.
The text was updated successfully, but these errors were encountered: