Skip to content

Commit b722075

Browse files
committed
Update test comment and add additional final phase scenarios
1 parent 59c0bd5 commit b722075

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

clang/test/Driver/sycl-offload.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@
1616
// OFFLOAD-AVX-NEXT-SAME: "-target-cpu" "[[HOST_CPU_NAME]]" "-target-feature" "+avx"
1717

1818
/// Check that the needed -fsycl -fsycl-is-device and -fsycl-is-host options
19-
/// are passed to all of the needed steps with and without preprocessing
19+
/// are passed to all of the needed compilation steps regardless of final
20+
/// phase.
2021
// RUN: %clang -### -fsycl -c %s 2>&1 | FileCheck -check-prefix=CHECK-OPTS %s
2122
// RUN: %clang -### -fsycl -E %s 2>&1 | FileCheck -check-prefix=CHECK-OPTS %s
23+
// RUN: %clang -### -fsycl -S %s 2>&1 | FileCheck -check-prefix=CHECK-OPTS %s
24+
// RUN: %clang -### -fsycl %s 2>&1 | FileCheck -check-prefix=CHECK-OPTS %s
2225
// CHECK-OPTS: clang{{.*}} "-cc1" {{.*}} "-fsycl" "-fsycl-is-device"
2326
// CHECK-OPTS: clang{{.*}} "-cc1" {{.*}} "-fsycl" "-fsycl-is-host"

0 commit comments

Comments
 (0)