Commit ea6a3a3
authored
[SYCL][Driver] Add deprecated warning for backend GRF options on PVC (#12029)
With the `-ftarget-register-alloc-mode` option, the user doesn't need to
pass IGC flags to the compiler to set the GRF mode. On PVC, emit a
warning in the most common case to suggest the user use the new option.
This doesn't catch every case because the `-device` syntax is
complicated, but it can help in the most common use case.
---------
Signed-off-by: Sarnie, Nick <[email protected]>1 parent 06b0db6 commit ea6a3a3
File tree
3 files changed
+58
-6
lines changed- clang
- include/clang/Basic
- lib/Driver/ToolChains
- test/Driver
3 files changed
+58
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
402 | 405 | | |
403 | 406 | | |
404 | 407 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
781 | 781 | | |
782 | 782 | | |
783 | 783 | | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
784 | 789 | | |
785 | | - | |
786 | | - | |
787 | | - | |
788 | | - | |
789 | | - | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
790 | 793 | | |
791 | 794 | | |
792 | 795 | | |
| |||
1100 | 1103 | | |
1101 | 1104 | | |
1102 | 1105 | | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
1103 | 1126 | | |
1104 | 1127 | | |
1105 | 1128 | | |
| |||
1143 | 1166 | | |
1144 | 1167 | | |
1145 | 1168 | | |
1146 | | - | |
| 1169 | + | |
| 1170 | + | |
1147 | 1171 | | |
1148 | 1172 | | |
1149 | 1173 | | |
| |||
1313 | 1337 | | |
1314 | 1338 | | |
1315 | 1339 | | |
| 1340 | + | |
| 1341 | + | |
1316 | 1342 | | |
1317 | 1343 | | |
1318 | 1344 | | |
1319 | 1345 | | |
1320 | 1346 | | |
1321 | 1347 | | |
| 1348 | + | |
1322 | 1349 | | |
1323 | 1350 | | |
1324 | 1351 | | |
| |||
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
0 commit comments