Skip to content

Commit a4a88f2

Browse files
Fznamznonjsji
authored andcommitted
[clang] Correct a test to pass the correct triple (#29101)
Don't expect spir_kernel calling convention without passing spir triple.
1 parent ba18a51 commit a4a88f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/CodeGenSYCL/remove-restriction-builtin-printf.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -fsycl-is-device -internal-isystem %S/Inputs -sycl-std=2020 -emit-llvm %s -o - | FileCheck %s
1+
// RUN: %clang_cc1 -fsycl-is-device -triple spir64-unknown-unknown -internal-isystem %S/Inputs -sycl-std=2020 -emit-llvm %s -o - | FileCheck %s
22
// This test checks if __builtin_printf is emitted in the IR.
33

44
#include "sycl.hpp"

0 commit comments

Comments
 (0)