Skip to content

Commit 35fb506

Browse files
authored
[SYCL][RTC] Fix post-commit failure (#16174)
Fixes post-commit failure due to an unused variable introduced by #16109. --------- Signed-off-by: Julian Oppermann <julian.oppermann@codeplay.com>
1 parent e290d7e commit 35fb506

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sycl-jit/jit-compiler/lib/rtc/DeviceCompilation.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,7 @@ Expected<RTCBundleInfo> jit_compiler::performPostLink(
402402
ModuleDesc{std::unique_ptr<llvm::Module>{&Module}}, SPLIT_NONE,
403403
/*IROutputOnly=*/false,
404404
/*EmitOnlyKernelsAsEntryPoints=*/true);
405-
bool SplitOccurred = Splitter->remainingSplits() > 1;
406-
assert(!SplitOccurred);
405+
assert(Splitter->remainingSplits() == 1);
407406

408407
// TODO: Call `verifyNoCrossModuleDeviceGlobalUsage` if device globals shall
409408
// be processed.

0 commit comments

Comments
 (0)