Skip to content

Commit 9d94c4a

Browse files
committed
Quick fix for the broken build on 2.1.x branch
After the v2.1.6 cherry-pick, the build is broken due to the wrong std::optional API usage in the FCL OCL translation context. This patch fixes the issue by updating the API usage to the correct one.
1 parent 88862e7 commit 9d94c4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IGC/AdaptorOCL/ocl_igc_interface/impl/fcl_ocl_translation_ctx_impl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ OclTranslationOutputBase* CIF_PIMPL(FclOclTranslationCtx)::TranslateCM(
557557

558558
llvm::BumpPtrAllocator A;
559559
llvm::StringSaver Saver(A);
560-
auto& FE = MaybeFE.getValue();
560+
auto &FE = MaybeFE.value();
561561
bool isMemFile = false;
562562
auto FeArgs = processFeOptions(FE.LibInfo(), src, Out,
563563
options, Saver, platformStr,

0 commit comments

Comments
 (0)