[llvm] Make functions always renamable (PR #115226)

Steven Wu via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 6 16:09:35 PST 2024


================
@@ -175,6 +175,9 @@ static CalleeInfo::HotnessType getHotness(uint64_t ProfileCount,
 }
 
 static bool isNonRenamableLocal(const GlobalValue &GV) {
+  if (isa<Function>(&GV)) {
----------------
cachemeifyoucan wrote:

Don't you care about its local linkage even it is a function?

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


More information about the llvm-commits mailing list