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

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 15 11:01:52 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, '.', '_');
----------------
jurahul wrote:

@kuhar please LMK if we want to do this change.

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


More information about the llvm-commits mailing list