Commit 6c5ec02
committed
[AMDGPU][gfx12] Clean-up implementation of waits before SCOPE_SYS stores
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 fc3c1dd commit 6c5ec02
File tree
2 files changed
+9
-33
lines changed- llvm
- lib/Target/AMDGPU
- test/CodeGen/AMDGPU
2 files changed
+9
-33
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 | | |
| |||
2528 | 2526 | | |
2529 | 2527 | | |
2530 | 2528 | | |
2531 | | - | |
2532 | | - | |
2533 | | - | |
2534 | 2529 | | |
2535 | 2530 | | |
2536 | 2531 | | |
| |||
2543 | 2538 | | |
2544 | 2539 | | |
2545 | 2540 | | |
2546 | | - | |
2547 | | - | |
2548 | | - | |
| 2541 | + | |
| 2542 | + | |
2549 | 2543 | | |
2550 | 2544 | | |
2551 | 2545 | | |
| |||
2560 | 2554 | | |
2561 | 2555 | | |
2562 | 2556 | | |
2563 | | - | |
| 2557 | + | |
2564 | 2558 | | |
2565 | 2559 | | |
2566 | 2560 | | |
| |||
2664 | 2658 | | |
2665 | 2659 | | |
2666 | 2660 | | |
| 2661 | + | |
| 2662 | + | |
2667 | 2663 | | |
2668 | 2664 | | |
2669 | 2665 | | |
| |||
2680 | 2676 | | |
2681 | 2677 | | |
2682 | 2678 | | |
2683 | | - | |
| 2679 | + | |
2684 | 2680 | | |
2685 | 2681 | | |
2686 | 2682 | | |
| |||
2693 | 2689 | | |
2694 | 2690 | | |
2695 | 2691 | | |
2696 | | - | |
| 2692 | + | |
2697 | 2693 | | |
2698 | 2694 | | |
2699 | 2695 | | |
| |||
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