Skip to content

Commit 9944033

Browse files
KornevNikitasteffenlarsen
authored andcommitted
[SYCL] Make SYCL math functions overloads instead of templates (#9753)
It was decided to change all built-in functions from templates to overloads. This patch changes non-marray part of "4.17.5. Math functions". Spec: KhronosGroup/SYCL-Docs#428 --------- Co-authored-by: Steffen Larsen <[email protected]>
1 parent 138c387 commit 9944033

File tree

8 files changed

+709
-549
lines changed

8 files changed

+709
-549
lines changed

llvm/lib/SYCLLowerIR/ESIMD/ESIMDVerifier.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ static const char *LegalSYCLFunctions[] = {
5353
"^sycl::_V1::sub_group<.+>::.+",
5454
"^sycl::_V1::range<.+>::.+",
5555
"^sycl::_V1::kernel_handler::.+",
56-
"^sycl::_V1::cos<.+>",
57-
"^sycl::_V1::sin<.+>",
58-
"^sycl::_V1::log<.+>",
59-
"^sycl::_V1::exp<.+>",
56+
"^sycl::_V1::cos",
57+
"^sycl::_V1::sin",
58+
"^sycl::_V1::log",
59+
"^sycl::_V1::exp",
6060
"^sycl::_V1::bit_cast<.+>",
6161
"^sycl::_V1::operator.+<.+>",
6262
"^sycl::_V1::ext::oneapi::sub_group::.+",

0 commit comments

Comments
 (0)