Skip to content

Commit 92c9f01

Browse files
authored
[SYCL] Fix postcommit (#14373)
Totally broken on all platforms right now. ``` /__w/llvm/llvm/src/sycl/source/detail/physical_mem_impl.hpp:33:3: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default] 33 | default: ``` and #14372 Signed-off-by: Sarnie, Nick <[email protected]>
1 parent c99522b commit 92c9f01

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

llvm/test/CodeGen/SPIRV/transcoding/TransFNeg.ll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV
22

3+
; https://github.com/intel/llvm/issues/14372
4+
; UNSUPPORTED: windows
5+
36
; CHECK-SPIRV: OpFNegate
47
; CHECK-SPIRV: OpFNegate
58
; CHECK-SPIRV: OpFNegate

sycl/source/detail/physical_mem_impl.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ inline sycl::detail::pi::PiVirtualAccessFlags AccessModeToVirtualAccessFlags(
3030
return PI_VIRTUAL_ACCESS_FLAG_RW;
3131
case ext::oneapi::experimental::address_access_mode::none:
3232
return 0;
33-
default:
34-
throw sycl::exception(make_error_code(errc::invalid),
35-
"Invalid address_access_mode.");
3633
}
3734
}
3835

0 commit comments

Comments
 (0)