[llvm] [Core] Skip over target name in intrinsic name lookup (PR #109971)

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 25 10:30:52 PDT 2024


================
@@ -940,8 +940,8 @@ void Function::setOnlyAccessesInaccessibleMemOrArgMem() {
 }
 
 /// Table of string intrinsic names indexed by enum value.
-static const char * const IntrinsicNameTable[] = {
-  "not_intrinsic",
+static constexpr const char *const IntrinsicNameTable[] = {
----------------
jurahul wrote:

Not really and it will regress the statically allocated space (pointer vs pointer + size). 

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


More information about the llvm-commits mailing list