You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Switched ESIMD diagnostic tests to use FileCheck instead of -verify.
Added %fsycl-host-only substitution, which contains a minimal amount
of compiler arguments needed to only perform SYCL source compilation in
host mode. Updated SYCL LIT tests checking diagnostics for host APIs to
use that new substitution.
This patch is motivated by a few of things:
1. enabling integration footer unconditionally in
[SYCL] Move get_spec_constant_symbolic_ID to a separate header #3777
2. the fact that -verify is intended to be used with clang -cc1
3. the fact that VerifyDiagnosticConsumer doesn't handle (or maybe
not even designed to) line markers in input file
All those things lead to LIT failures, because -verify is not able to
properly read diagnostic messages emitted by FE invocation for host part
of DPC++/SYCL programs and reports that some diagnostics are either
"seen, but not expected" or "expected, but not seen". Note: diagnostic
messages themself look just fine and correct when observed through
clang -fsycl, clang -cc1 -fsycl-device-only and clang -cc1 -fsycl-is-host invocations.
0 commit comments