Commit 0dfb947
authored
[Driver][SYCL] Do not emit mismatch warning with -fsycl-force-target (#17013)
The use of -fsycl-force-target=arg allows for a user to override the
default target triple that is used to unbundle device objects from the
fat objects. A diagnostic warning is emitted to inform the user that the
expected target values within the given objects is not found. This
diagnostic is not valid when -fsycl-force-target is used with the
matching target value.
Avoid emitting this warning when the -fsycl-force-target=arg matches
what is found in the incoming objects.1 parent 311fdc4 commit 0dfb947
File tree
2 files changed
+18
-1
lines changed- clang
- lib/Driver
- test/Driver
2 files changed
+18
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6488 | 6488 | | |
6489 | 6489 | | |
6490 | 6490 | | |
| 6491 | + | |
| 6492 | + | |
| 6493 | + | |
| 6494 | + | |
| 6495 | + | |
| 6496 | + | |
| 6497 | + | |
| 6498 | + | |
| 6499 | + | |
| 6500 | + | |
| 6501 | + | |
| 6502 | + | |
| 6503 | + | |
| 6504 | + | |
6491 | 6505 | | |
6492 | 6506 | | |
6493 | 6507 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
0 commit comments