Commit 86b69c3
authored
[SPIR-V] Fix SPIR-V extension SPV_INTEL_function_pointers: introduce CodeSectionINTEL (#117250)
This PR fixes generation of OpConstantFunctionPointerINTEL instruction
for the SPIR-V extension SPV_INTEL_function_pointers. Result type of
OpConstantFunctionPointerINTEL must be OpTypePointer with Storage Class
operand equal to CodeSectionINTEL.
See also #116636
CC: @MrSidims1 parent 676a1e6 commit 86b69c3
File tree
4 files changed
+13
-4
lines changed- llvm
- lib/Target/SPIRV
- test/CodeGen/SPIRV/extensions/SPV_INTEL_function_pointers
4 files changed
+13
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3316 | 3316 | | |
3317 | 3317 | | |
3318 | 3318 | | |
3319 | | - | |
3320 | | - | |
3321 | | - | |
3322 | 3319 | | |
3323 | 3320 | | |
3324 | 3321 | | |
| |||
3351 | 3348 | | |
3352 | 3349 | | |
3353 | 3350 | | |
| 3351 | + | |
| 3352 | + | |
| 3353 | + | |
| 3354 | + | |
3354 | 3355 | | |
3355 | 3356 | | |
3356 | 3357 | | |
| |||
3402 | 3403 | | |
3403 | 3404 | | |
3404 | 3405 | | |
| 3406 | + | |
| 3407 | + | |
| 3408 | + | |
3405 | 3409 | | |
3406 | 3410 | | |
3407 | 3411 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| 208 | + | |
| 209 | + | |
208 | 210 | | |
209 | 211 | | |
210 | 212 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
| 170 | + | |
169 | 171 | | |
170 | 172 | | |
171 | 173 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | | - | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
0 commit comments