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.
2 parents a1a72af + 8483bf4 commit e70196aCopy full SHA for e70196a
llvm/lib/Target/SPIRV/SPIRVCommandLine.cpp
@@ -228,7 +228,7 @@ SPIRVExtensionsParser::getValidExtensions(const Triple &TT) {
228
SPIRV::OperandCategory::OperandCategory::ExtensionOperand,
229
ExtensionEnum);
230
231
- if (std::count(AllowedEnv.begin(), AllowedEnv.end(), CurrentEnvironment))
+ if (llvm::is_contained(AllowedEnv, CurrentEnvironment))
232
R.insert(ExtensionEnum);
233
}
234
0 commit comments