[Mlir-commits] [mlir] [mlir][MemRef] Extend `memref.subview` sub-byte type emulation support (PR #89488)

Diego Caballero llvmlistbot at llvm.org
Sat Apr 20 06:38:54 PDT 2024


================
@@ -145,6 +145,10 @@ inline bool isReductionIterator(Attribute attr) {
 /// constant operations.
 SmallVector<int64_t> getAsIntegers(ArrayRef<Value> values);
 
+/// Returns the integer numbers in `foldResult`. `foldResult` is expected to
+/// be constant operations.
+int64_t getAsInteger(OpFoldResult foldResult);
----------------
dcaballe wrote:

Oops, probably in an earlier version. I added it because we also have `getAsIntegers`. We may have to do some cleanup here. Thanks!

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


More information about the Mlir-commits mailing list