[flang-commits] [flang] [flang] Use __builtin_int for integer conversions (PR #195748)
Leandro Lupori via flang-commits
flang-commits at lists.llvm.org
Wed May 6 07:28:18 PDT 2026
================
@@ -121,6 +121,11 @@ class IntrinsicProcTable {
std::unique_ptr<Implementation> impl_;
};
+class Intrinsics {
----------------
luporl wrote:
OK, I moved it to `IntrinsicProcTable`.
I tried to use a `const std::string` but that caused a crash when constructing `IntrinsicProcTable::Implementation`, as apparently `genericAlias` was not fully initialized yet, because of the new entry using `IntrinsicProcTable::BuiltinIntName.c_str()`.
To keep things simple, I switched back to `const char *`.
https://github.com/llvm/llvm-project/pull/195748
More information about the flang-commits
mailing list