Commit aab3aac
Allocate private memory on the stack for indirect group
If a subroutine is called by indirectly-called function, then it doesn't
have an access to `privateBase` implicit argument. The change introduces
treating indirect groups as groups with stackcalls in terms of handling
private memeory, meaning that `privateBase` implicit argument is no
required, since private memory is allocated on the stack.1 parent d48f6e1 commit aab3aac
File tree
1 file changed
+2
-1
lines changed- IGC/Compiler/Optimizer/OpenCLPasses/PrivateMemory
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
| |||
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
178 | | - | |
| 179 | + | |
179 | 180 | | |
180 | 181 | | |
181 | 182 | | |
| |||
0 commit comments