dev-816

Results issues of dev-816

`scf-parallel-loop-fusion` misses a producer-consumer fusion opportunity between two adjacent `scf.parallel` loops with identical bounds. The producer writes: `%arg0[i0, i1, i2, i3, i4, i5] = 5.0`. The consumer reads the same...

mlir
missed-optimization

The GPU barrier elimination pass fails to eliminate a redundant `gpu.barrier` when it occurs between two consecutive `memref.load` operations on the same memory region without any intervening store/write side-effects. In...

mlir
missed-optimization

`arith-int-range-narrowing` appears to miss a redundant round trip combining `arith.index_cast` and `arith.index_castui`. When `index` is at least 8 bits wide, extending an `i8` value to `index` and truncating it back...

mlir
missed-optimization

`-optimize-allocation-liveness` skips allocations whose only user is `memref.dealloc` because `lastUser` remains null. In the example below, the deallocation could move immediately after `memref.alloc`, avoiding unnecessary retention of the buffer across...

mlir
missed-optimization

The load from `A[0]` can move before the loop because all loop stores access `A[1..16]`. However, the interference check treats any write to the same memref as a conflict without...

mlir
missed-optimization

The barrier below should be removable. `%tmp` is a fresh allocation whose address never escapes, and the remaining accesses do not conflict across the barrier. However, `maybeCaptured` conservatively treats `memref.copy`...

mlir
missed-optimization

`xegpu-propagate-layout` inserts two identical `xegpu.convert_layout` operations for the two operands of `arith.mulf`. Both conversions take `%v` and convert it from layout A to layout B. The multiplication could reuse one...

mlir
missed-optimization

`isInvariantValue` requires a defining operation, so it does not recognize function arguments as loop-invariant values. Consequently, the supported contiguous access pattern `a[base + i]` is rejected when `base` is a...

mlir
missed-optimization

`-llvm-optimize-for-nvvm-target` drops `nnan` when expanding an FP16 `llvm.fdiv`. In the example below, `nnan` allows the NaN check to fold to `false`. After expansion, the replacement `llvm.fptrunc` has no fast-math flags,...

mlir
missed-optimization

The resolver only retargets a producer conversion when its result has one use. When `%middle` has multiple users, satisfying the A-layout consumer can introduce an unnecessary B-to-A conversion. `math.sqrt` could...

mlir
missed-optimization