[mlir][LowerToAffineLoops] Handle tensors of rank 0
This will fix the case:
$ toyc -emit=jit test.toy
$ cat test.toy
def main() {
var a = 1;
print(a);
}
Without this patch it would trigger an assertion.
Differential Revision: https://reviews.llvm.org/D77464
parent
6a800f6f
Please register or sign in to comment