Skip to content

Commit 0cf33ac

Browse files
committed
Remove leftovers from previous version.
1 parent 55b358d commit 0cf33ac

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

llvm/lib/SYCLLowerIR/ESIMD/ESIMDVerifier.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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 '") +

0 commit comments

Comments
 (0)