We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7ab5d6 commit aa31cf2Copy full SHA for aa31cf2
amd/comgr/src/comgr-compiler.cpp
@@ -1896,7 +1896,7 @@ amd_comgr_status_t AMDGPUCompiler::translateSpirvToBitcode() {
1896
SmallString<0> OutBuf;
1897
SPIRVCommand SPIRV(Input, OutBuf);
1898
1899
- std::optional<CommandCache> &Cache = CommandCache::singleton(LogS);
+ auto Cache = CommandCache::get(LogS);
1900
amd_comgr_status_t Status;
1901
if (!Cache) {
1902
Status = SPIRV.execute(LogS);
0 commit comments