llvm/llvm-project
Auf GitHub ansehen[MLIR][affine] Proper handling of vector load / stores in Affine dialect and transformations
Open
#115.989 geöffnet am 13. Nov. 2024
good first issuemlir:affine
Repository-Metriken
- Stars
- (26.378 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 1T 2h) (1.000 gemergte PRs in 30 T)
Beschreibung
In the context of Issue-115849 , I see that affine transformation is producing invalid IR like below where vector is being stored to a memref of size 1x1xf32.
affine.vector_store %5, %alloc[0, 0] : memref<1x1xf32>, vector<64x64xf32>
%6 = affine.vector_load %alloc[0, 0] : memref<1x1xf32>, vector<64x512xf32>
I think validity of the affine transformations need to be enhanced by introducing good verifiers.