[llvm] [LAA] Pre-commit tests exercising different types (PR #151091)

Igor Kirillov via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 4 06:50:21 PDT 2025


igogo-x86 wrote:

It looks like in all cases, one of the accesses starts at the beginning of the region. Maybe we should add a test where both accesses are slightly offset, like this:
```
[ . 0 0 . 1 1 1 1 ] (and same with overlap)
```
Also, for the sake of completeness, it would be good to include a test that spans across regions and covers/non-covers like this:

```
    i16    i64
[ . 0 0 . 1 1 1 1] [ 1 x x 1 . . . . ]
    i16        i32
[ . . 0 0 . . 1 1] [ 1 1 0 0 . . 1 1 ]
```
I hope the notation makes sense: - `.` is no access, `0` - first access, `1` - second access, `x` - overlap. The pointer is offset by 8 bytes on each iteration.

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


More information about the llvm-commits mailing list