================
@@ -1073,6 +1073,36 @@ static llvm::StringRef
canonicalizePlatformName(llvm::StringRef Platform) {
.Case("ShaderModel", "shadermodel")
.Default(Platform);
}
+static std::vector<llvm::StringRef> equivalentPlatformNames(llvm::StringRef
Platform) {
----------------
ian-twilightcoder wrote:
Oh whoops, I forgot to change that when I switched to a vector! I think it's
probably best to keep this in the `.td` file
https://github.com/llvm/llvm-project/pull/105855
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits