From 83979295ea0d2ad080dfca07575e24096244a66e Mon Sep 17 00:00:00 2001 From: David Garcia Orozco Date: Thu, 17 Oct 2024 08:27:45 -0700 Subject: [PATCH] Use /clang: flag on test failing on msvc driver --- sycl/test-e2e/syclcompat/launch/kernel_properties.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sycl/test-e2e/syclcompat/launch/kernel_properties.cpp b/sycl/test-e2e/syclcompat/launch/kernel_properties.cpp index efd32b94c25d0..be557a61fe570 100644 --- a/sycl/test-e2e/syclcompat/launch/kernel_properties.cpp +++ b/sycl/test-e2e/syclcompat/launch/kernel_properties.cpp @@ -23,7 +23,7 @@ // We need hardware which can support at least 2 sub-group sizes, since that // hardware (presumably) supports the `intel_reqd_sub_group_size` attribute. // REQUIRES: sg-32 && sg-16 -// RUN: %{build} -S -emit-llvm -o - | FileCheck %s +// RUN: %{build} %if cl_options %{/clang:-S /clang:-emit-llvm%} %else %{-S -emit-llvm%} -o - | FileCheck %s #include #include