File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
llvm/lib/SYCLLowerIR/ESIMD Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -173,9 +173,8 @@ class ESIMDVerifierImpl {
173173 Name.starts_with (" sycl::_V1::ext::intel::esimd::" ) ||
174174 Name.starts_with (
175175 " sycl::_V1::ext::intel::experimental::esimd::" ) ||
176- Name.starts_with (" sycl::_V1::ext::oneapi::this_work_item::" )) {
176+ Name.starts_with (" sycl::_V1::ext::oneapi::this_work_item::" ))
177177 continue ;
178- }
179178
180179 // Check if function name matches any allowed SYCL function name.
181180 auto checkLegalFunc = [Name](const char *LegalName) {
@@ -190,9 +189,8 @@ class ESIMDVerifierImpl {
190189 // lowered to buffer_t will cause runtime error and thus must be
191190 // reported at compilation time.
192191 (MayNeedForceStatelessMemModeAPI &&
193- any_of (LegalSYCLFunctionsInStatelessMode, checkLegalFunc))) {
192+ any_of (LegalSYCLFunctionsInStatelessMode, checkLegalFunc)))
194193 continue ;
195- }
196194
197195 // If not, report an error.
198196 std::string ErrorMsg = std::string (" function '" ) +
You can’t perform that action at this time.
0 commit comments