[Mlir-commits] [mlir] [mlir][EmitC] Add rank-0 MemRef conversion (PR #205774)
Gil Rapaport
llvmlistbot at llvm.org
Tue Jun 30 06:28:30 PDT 2026
================
@@ -142,9 +154,12 @@ createPointerFromEmitcArray(Location loc, OpBuilder &builder,
return ptr;
}
-// If `v` is defined through an unrealized cast and the source of that cast
-// is `emitc.ptr`, return the pointer.
-static Value stripPointerUnrealizedCast(Value v) {
+static Value getPointerOrStripUnrealizedCast(Value v) {
----------------
aniragil wrote:
I'd just simplify that into `getMemRefPointer`
https://github.com/llvm/llvm-project/pull/205774
More information about the Mlir-commits
mailing list