Commit 9a01c12
committed
[SYCL] Fix one more bug in int-header generation
When free function kernel defined as a template has an argument whose
type is an alias, we need to look into the underlying type, or otherwise
we emit nonsense.1 parent 9ebbd0a commit 9a01c12
File tree
2 files changed
+32
-2
lines changed- clang
- lib/Sema
- test/CodeGenSYCL
2 files changed
+32
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6814 | 6814 | | |
6815 | 6815 | | |
6816 | 6816 | | |
6817 | | - | |
6818 | | - | |
| 6817 | + | |
| 6818 | + | |
6819 | 6819 | | |
6820 | 6820 | | |
6821 | 6821 | | |
6822 | 6822 | | |
6823 | 6823 | | |
| 6824 | + | |
| 6825 | + | |
| 6826 | + | |
| 6827 | + | |
| 6828 | + | |
6824 | 6829 | | |
6825 | 6830 | | |
6826 | 6831 | | |
| |||
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
31 | 38 | | |
32 | 39 | | |
33 | 40 | | |
| |||
57 | 64 | | |
58 | 65 | | |
59 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
60 | 74 | | |
61 | 75 | | |
62 | 76 | | |
63 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
0 commit comments