MonSec-2077

Results issues of MonSec-2077

MLIR SROA optmization fails to promote memory locations created by `llvm.alloca` when memory accesses go through `llvm.getelementptr` instructions. Even though all accesses are to fixed, non-escaping scalar fields of the...

mlir
missed-optimization

`remove-dead-values` can produce invalid IR when a dead successor block argument has multiple predecessors whose incoming values have different liveness. ### Input Program **input.mlir** ```llvm module { func.func @multi_pred_mixed(%arg0: i1,...

mlir

MLIR CSE misses a redundant `memref.load` inside an `scf.if` region. A load before the `scf.if` dominates the same load in the then branch, and there is no intervening store or...

mlir
missed-optimization

MLIR `--cse` misses an optimization opportunity to eliminate a redundant `memref.load` within the same region, even when the first load (at line 3) strictly dominates the second (at line 6)...

mlir
missed-optimization

`affine-loop-fusion` misses a legal sibling fusion optimization opportunity when two adjacent affine loops have the same bounds and perform identical loads from the same read-only memref, while storing results to...

mlir:affine

`affine-loop-fusion` misses a simple producer-consumer fusion opportunity. The producer loop initializes the full temporary buffer: `%alloc[i, j] = 1.0`. The consumer loop only reads a fixed column: `%alloc[i, 0]`. Since...

mlir

`scf-parallel-loop-fusion` misses a fusion opportunity for two adjacent `scf.parallel` loops with identical bounds. The first loop only allocates a private temporary buffer inside each iteration and writes to it: ```bash...

mlir

`affine-loop-fusion` misses a producer-consumer fusion opportunity. The producer loop initializes the full temporary buffer: `%alloc[i, j] = 1.0`. The consumer loop only reads a fixed column: `%alloc[i, 0]`. Since `%alloc`...

mlir

Applying `-affine-loop-tile` to a 2D loop nest with an `affine.apply` between loops results in a performance regression and IR bloat. Instead of tiling the 2D loop band or leaving it...

mlir

`affine-loop-tile` with `tile-size=16` strip-mines an outer loop whose static trip count is only 8, producing a single-tile loop nest, but it does not tile the inner `128 x 128 x...

mlir