Commit 7b587ac
authored
irinterp: fix semi-concrete evaluation of overlay methods (#50739)
This commit introduces several fixes related to the overlay method and
its semi-concrete evaluation. When `f` is being overlayed, semi-concrete
interpretation is performed on `f`. While this isn't problematic in
itself, the issue arises since there is no overlay check within concrete
evaluation in the semi-concrete interpretation (`concrete_eval_invoke`),
potentially leading to mis-compilation. This commit makes adjustments to
allow semi-concrete interpretation for overlay methods, while preventing
the concretization of overlay methods within `concrete_eval_invoke`.
Note: Confirmed GPUCompiler test suite passes with this patch after
JuliaGPU/GPUCompiler.jl#488.1 parent 9808035 commit 7b587ac
File tree
4 files changed
+63
-27
lines changed- base/compiler
- ssair
- test/compiler
4 files changed
+63
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 42 | + | |
49 | 43 | | |
50 | 44 | | |
51 | 45 | | |
| |||
792 | 786 | | |
793 | 787 | | |
794 | 788 | | |
795 | | - | |
| 789 | + | |
796 | 790 | | |
797 | 791 | | |
798 | 792 | | |
| |||
848 | 842 | | |
849 | 843 | | |
850 | 844 | | |
851 | | - | |
852 | | - | |
853 | | - | |
854 | | - | |
855 | | - | |
856 | | - | |
857 | | - | |
| 845 | + | |
| 846 | + | |
858 | 847 | | |
859 | | - | |
860 | | - | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
861 | 856 | | |
862 | 857 | | |
863 | 858 | | |
| |||
886 | 881 | | |
887 | 882 | | |
888 | 883 | | |
889 | | - | |
890 | | - | |
| 884 | + | |
| 885 | + | |
891 | 886 | | |
892 | 887 | | |
893 | 888 | | |
| |||
1923 | 1918 | | |
1924 | 1919 | | |
1925 | 1920 | | |
1926 | | - | |
| 1921 | + | |
1927 | 1922 | | |
1928 | 1923 | | |
1929 | 1924 | | |
| |||
1934 | 1929 | | |
1935 | 1930 | | |
1936 | 1931 | | |
1937 | | - | |
| 1932 | + | |
1938 | 1933 | | |
1939 | 1934 | | |
1940 | 1935 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
173 | 173 | | |
| 174 | + | |
| 175 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
116 | 126 | | |
117 | 127 | | |
118 | 128 | | |
119 | 129 | | |
120 | 130 | | |
121 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
122 | 160 | | |
123 | 161 | | |
124 | 162 | | |
| |||
0 commit comments