Commit a6532c2
authored
[AMDGPU][gfx12] Clean-up implementation of waits before SCOPE_SYS stores (#150587)
We can do it all in finalizeStore if we ensure it always sees the
stores.
For that, I needed to fix a hidden bug where finalizeStore wouldn't see
all stores
because sometimes the iterator got out-of-sync and didn't point to the
store anymore.
This also removes the waits before volatile LDS stores which never
needed it, that was a bug until now.1 parent c8a091e commit a6532c2
File tree
3 files changed
+9
-34
lines changed- llvm
- lib/Target/AMDGPU
- test/CodeGen/AMDGPU
3 files changed
+9
-34
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
324 | | - | |
325 | | - | |
| 324 | + | |
326 | 325 | | |
327 | 326 | | |
328 | 327 | | |
| |||
603 | 602 | | |
604 | 603 | | |
605 | 604 | | |
606 | | - | |
607 | | - | |
| 605 | + | |
608 | 606 | | |
609 | 607 | | |
610 | 608 | | |
| |||
2538 | 2536 | | |
2539 | 2537 | | |
2540 | 2538 | | |
2541 | | - | |
2542 | | - | |
2543 | | - | |
2544 | 2539 | | |
2545 | 2540 | | |
2546 | 2541 | | |
| |||
2553 | 2548 | | |
2554 | 2549 | | |
2555 | 2550 | | |
2556 | | - | |
2557 | | - | |
2558 | | - | |
| 2551 | + | |
| 2552 | + | |
2559 | 2553 | | |
2560 | 2554 | | |
2561 | 2555 | | |
| |||
2570 | 2564 | | |
2571 | 2565 | | |
2572 | 2566 | | |
2573 | | - | |
| 2567 | + | |
2574 | 2568 | | |
2575 | 2569 | | |
2576 | 2570 | | |
| |||
2674 | 2668 | | |
2675 | 2669 | | |
2676 | 2670 | | |
| 2671 | + | |
| 2672 | + | |
2677 | 2673 | | |
2678 | 2674 | | |
2679 | 2675 | | |
| |||
2690 | 2686 | | |
2691 | 2687 | | |
2692 | 2688 | | |
2693 | | - | |
| 2689 | + | |
2694 | 2690 | | |
2695 | 2691 | | |
2696 | 2692 | | |
| |||
2703 | 2699 | | |
2704 | 2700 | | |
2705 | 2701 | | |
2706 | | - | |
| 2702 | + | |
2707 | 2703 | | |
2708 | 2704 | | |
2709 | 2705 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
145 | 144 | | |
146 | 145 | | |
147 | 146 | | |
| |||
Lines changed: 0 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | 418 | | |
424 | 419 | | |
425 | 420 | | |
| |||
432 | 427 | | |
433 | 428 | | |
434 | 429 | | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | 430 | | |
441 | 431 | | |
442 | 432 | | |
| |||
562 | 552 | | |
563 | 553 | | |
564 | 554 | | |
565 | | - | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | | - | |
570 | 555 | | |
571 | 556 | | |
572 | 557 | | |
| |||
583 | 568 | | |
584 | 569 | | |
585 | 570 | | |
586 | | - | |
587 | | - | |
588 | | - | |
589 | | - | |
590 | | - | |
591 | 571 | | |
592 | 572 | | |
593 | 573 | | |
| |||
0 commit comments