================
@@ -173,24 +173,78 @@ bool isLegalValidatorVersion(StringRef ValVersionStr,
const Driver &D) {
return true;
}
+std::string getSpirvExtOperand(llvm::StringRef SpvExtensionArg) {
+ // The extensions that are commented out are supported in DXC, but the SPIR-V
+ // backend does not know about them yet.
+ static const std::vector<std::string> DxcSupportedExtensions = {
----------------
llvm-beanz wrote:
```suggestion
static const std::vector<StringRef> DxcSupportedExtensions = {
```
https://github.com/llvm/llvm-project/pull/151554
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits