Commit 5a8c0f5
committed
AMDGPU/GlobalISel: Avoid handling registers twice in waterfall loops
When multiple instructions are moved into a waterfall loop, it's
possible some of them re-use the same operands. Avoid creating
multiple sequences of readfirstlanes for them. None of the current
uses will hit this, but will be used in a future patch.1 parent dab7bda commit 5a8c0f5
1 file changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
747 | 747 | | |
748 | 748 | | |
749 | 749 | | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
750 | 754 | | |
751 | 755 | | |
752 | 756 | | |
| |||
853 | 857 | | |
854 | 858 | | |
855 | 859 | | |
856 | | - | |
| 860 | + | |
| 861 | + | |
857 | 862 | | |
858 | 863 | | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
859 | 872 | | |
860 | 873 | | |
861 | 874 | | |
| |||
1001 | 1014 | | |
1002 | 1015 | | |
1003 | 1016 | | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
1004 | 1020 | | |
1005 | 1021 | | |
1006 | 1022 | | |
| |||
0 commit comments