[PATCH] D136377: [mlir][MemRefToLLVM] Remove the code for lowering subview
Alex Zinenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 18 04:12:19 PST 2022
ftynse accepted this revision.
ftynse added inline comments.
This revision is now accepted and ready to land.
================
Comment at: mlir/test/Conversion/MemRefToLLVM/expand-then-convert-to-llvm.mlir:8-13
+// Note: We run CSE in that test to get rid of duplicated
+// unrealized_conversion_cast that are inserted with
+// convert-memref-to-llvm and then convert-arith-to-llvm.
+// The final code is still not perfect, because we have
+// noop unrealized_conversion_cast from i64 to index
+// and back.
----------------
I'd expect `-reconcile-unrealized-casts` to fix that.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136377/new/
https://reviews.llvm.org/D136377
More information about the llvm-commits
mailing list