Elvis Wang
3e898bc40f
[LV] Fix cost misaligned when gather/scatter w/ addr is uniform. ( #157387 )
...
This patch fix the assertion when the `isUniform` (from legacy model)
and `isSingleScalar`(from Vplan-based model) mismatch.
The simplify test that cause assertion
```
loop:
loadA = load %a => %a is loop invariant.
loadB = load %LoadA
...
```
In the legacy cost model, it cannot analysis that addr of `%loadB` is
uniform but in the Vplan-based cost model both addr in `%loadA` and
`loadB` is single scalar.
Full test caused crash: https://llvm.godbolt.org/z/zEG8YKjqh .
---------
Co-authored-by: Luke Lau <luke@igalia.com>
2025-09-11 07:49:54 +08:00
..
2025-08-26 11:19:19 +00:00
2025-08-08 14:26:23 +08:00
2025-09-03 01:09:19 +00:00
2025-09-01 21:20:06 +08:00
2025-08-26 11:19:19 +00:00
2025-09-01 07:03:33 +00:00
2025-08-26 11:19:19 +00:00
2025-05-14 13:49:50 -07:00
2025-08-26 11:19:19 +00:00
2025-08-10 21:21:16 +01:00
2025-08-26 15:52:31 +01:00
2025-08-09 21:09:36 +08:00
2025-09-11 07:49:54 +08:00
2025-03-15 21:32:48 +00:00
2025-08-26 11:19:19 +00:00
2025-08-26 11:19:19 +00:00
2025-09-01 21:20:06 +08:00
2025-08-08 14:26:23 +08:00
2025-09-01 21:20:06 +08:00
2025-08-01 14:24:30 +08:00
2025-08-26 11:19:19 +00:00
2025-08-12 22:09:30 +01:00
2025-09-01 07:03:33 +00:00
2025-08-26 11:19:19 +00:00
2025-08-07 10:54:24 +08:00
2025-07-27 13:53:26 +01:00
2025-08-14 19:27:51 +01:00
2025-09-05 01:29:22 +00:00
2025-09-01 07:03:33 +00:00
2025-09-02 11:43:27 +08:00
2025-07-28 17:04:00 +08:00
2025-08-26 11:19:19 +00:00
2025-08-08 14:26:23 +08:00
2025-08-08 14:26:23 +08:00
2025-08-21 07:39:01 +08:00
2025-08-08 14:26:23 +08:00
2025-08-26 11:19:19 +00:00
2025-07-14 21:59:35 +08:00
2025-07-27 13:53:26 +01:00
2025-09-09 09:47:41 +01:00
2025-08-26 11:19:19 +00:00
2025-08-26 11:19:19 +00:00
2025-08-26 11:19:19 +00:00
2025-09-01 07:03:33 +00:00
2025-08-08 14:26:23 +08:00
2025-09-03 10:19:36 +00:00
2025-08-26 15:52:31 +01:00
2025-08-26 15:52:31 +01:00
2025-08-26 15:52:31 +01:00
2025-09-01 07:03:33 +00:00
2025-07-28 16:11:01 +08:00
2025-08-26 11:19:19 +00:00
2025-08-26 11:19:19 +00:00
2025-09-02 11:43:27 +08:00
2025-08-26 11:19:19 +00:00
2025-09-02 11:43:27 +08:00
2025-08-26 11:19:19 +00:00
2025-08-26 11:19:19 +00:00
2025-08-26 11:19:19 +00:00
2025-08-26 11:19:19 +00:00
2025-07-28 17:04:00 +08:00
2025-08-26 11:19:19 +00:00
2025-07-28 17:04:00 +08:00
2025-08-26 11:19:19 +00:00
2025-08-26 11:19:19 +00:00
2025-08-26 11:19:19 +00:00
2025-08-26 11:19:19 +00:00
2025-08-26 11:19:19 +00:00
2025-08-26 11:19:19 +00:00
2025-09-04 10:29:59 +01:00
2025-09-01 07:03:33 +00:00
2025-07-14 21:59:35 +08:00
2025-08-12 22:09:30 +01:00
2025-08-26 11:19:19 +00:00
2025-08-26 11:19:19 +00:00
2025-08-08 14:26:23 +08:00
2025-08-01 11:00:05 +08:00
2025-08-01 11:00:05 +08:00
2025-08-01 11:00:05 +08:00
2025-08-01 11:00:05 +08:00
2025-08-01 11:00:05 +08:00