[llvm] [mlir] [MLIR] Generalize expand_shape to take shape as explicit input (PR #90040)

via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 25 09:40:37 PDT 2024


================
@@ -8,6 +8,7 @@
 
 #include "mlir/Dialect/Utils/ReshapeOpsUtils.h"
 
+#include "mlir/Dialect/Arith/IR/Arith.h"
----------------
MaheshRavishankar wrote:

Makes sense. The only reasonable place to put this would be in arith dialect utils.
Kind of a strange place for reshape utils, but the way it works out, it just needs to go there

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


More information about the llvm-commits mailing list