From 675dcf02a82a2849962bcbc4d55dd183a661ccdf Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 22 Feb 2018 23:12:11 +0000 Subject: [PATCH] Update comment for whether or not we can optimize an alias - we're checking the alias and not the aliasee. If the alias can be interposed then we shouldn't do anything. llvm-svn: 325837 --- llvm/lib/Transforms/IPO/GlobalOpt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Transforms/IPO/GlobalOpt.cpp b/llvm/lib/Transforms/IPO/GlobalOpt.cpp index 274ecf0..b92accd 100644 --- a/llvm/lib/Transforms/IPO/GlobalOpt.cpp +++ b/llvm/lib/Transforms/IPO/GlobalOpt.cpp @@ -2717,7 +2717,7 @@ OptimizeGlobalAliases(Module &M, continue; } - // If the aliasee may change at link time, nothing can be done - bail out. + // If the alias can change at link time, nothing can be done - bail out. if (J->isInterposable()) continue; -- 2.7.4