[llvm] [polly] [TableGen] Refactor Intrinsic handling in TableGen (PR #103980)

Jakub Kuderski via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 15 11:21:27 PDT 2024


================
@@ -143,11 +144,11 @@ static void replace(std::string &str, StringRef find, StringRef replace) {
 }
 
 static void makeIslCompatible(std::string &str) {
-  replace(str, ".", "_");
-  replace(str, "\"", "_");
-  replace(str, " ", "__");
-  replace(str, "=>", "TO");
-  replace(str, "+", "_");
+  replace(str, '.', '_');
----------------
kuhar wrote:

I have any stakes here to be honest, just lurking here :)

https://github.com/llvm/llvm-project/pull/103980


More information about the llvm-commits mailing list