Skip to content

Commit ae82662

Browse files
committed
Allow bfloat16 functions in ESIMD verifier.
1 parent 1cb5cb0 commit ae82662

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/SYCLLowerIR/ESIMD/ESIMDVerifier.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ static const char *LegalSYCLFunctions[] = {
4949
"^sycl::_V1::operator.+<.+>",
5050
"^sycl::_V1::ext::oneapi::sub_group::.+",
5151
"^sycl::_V1::ext::oneapi::experimental::spec_constant<.+>::.+",
52-
"^sycl::_V1::ext::oneapi::experimental::this_sub_group"};
52+
"^sycl::_V1::ext::oneapi::experimental::this_sub_group",
53+
"^sycl::_V1::ext::oneapi::experimental::bfloat16::.+"};
5354

5455
static const char *LegalSYCLFunctionsInStatelessMode[] = {
5556
"^sycl::_V1::multi_ptr<.+>::get",

0 commit comments

Comments
 (0)