Skip to content

Commit aa31cf2

Browse files
committed
[Comgr] Fix typo introduced during cherry-pick
1 parent b7ab5d6 commit aa31cf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

amd/comgr/src/comgr-compiler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1896,7 +1896,7 @@ amd_comgr_status_t AMDGPUCompiler::translateSpirvToBitcode() {
18961896
SmallString<0> OutBuf;
18971897
SPIRVCommand SPIRV(Input, OutBuf);
18981898

1899-
std::optional<CommandCache> &Cache = CommandCache::singleton(LogS);
1899+
auto Cache = CommandCache::get(LogS);
19001900
amd_comgr_status_t Status;
19011901
if (!Cache) {
19021902
Status = SPIRV.execute(LogS);

0 commit comments

Comments
 (0)