Commit 800c8c0
[SYCL][FPGA] Fix address space in generation of global Intel FPGA annotation (#578)
* [SYCL][FPGA] Fix address space in generation of global Intel FPGA annotation
Invalid bitcast with different address spaces was emmitted as a first argument
of Annotations element. This problem caused assertion fail.
* [SYCL] Fix address space in generation of annotate attribute for static vars
Invalid bitcast with different address spaces was emmitted as a first field of
ConstantStruct. This problem caused assertion fail.
Signed-off-by: Viktoria Maksimova <[email protected]>1 parent f58e2eb commit 800c8c0
File tree
2 files changed
+21
-8
lines changed- clang
- lib/CodeGen
- test/CodeGenSYCL
2 files changed
+21
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2231 | 2231 | | |
2232 | 2232 | | |
2233 | 2233 | | |
| 2234 | + | |
| 2235 | + | |
| 2236 | + | |
2234 | 2237 | | |
2235 | 2238 | | |
2236 | | - | |
2237 | | - | |
2238 | | - | |
2239 | | - | |
2240 | | - | |
| 2239 | + | |
| 2240 | + | |
| 2241 | + | |
| 2242 | + | |
2241 | 2243 | | |
2242 | 2244 | | |
2243 | 2245 | | |
| |||
3867 | 3869 | | |
3868 | 3870 | | |
3869 | 3871 | | |
| 3872 | + | |
| 3873 | + | |
3870 | 3874 | | |
3871 | | - | |
| 3875 | + | |
| 3876 | + | |
3872 | 3877 | | |
3873 | 3878 | | |
3874 | 3879 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| |||
145 | 149 | | |
146 | 150 | | |
147 | 151 | | |
148 | | - | |
| 152 | + | |
149 | 153 | | |
150 | 154 | | |
151 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
152 | 160 | | |
153 | 161 | | |
154 | 162 | | |
| |||
0 commit comments