From: Eric Christopher Date: Thu, 22 Feb 2018 23:12:11 +0000 (+0000) Subject: Update comment for whether or not we can optimize an alias - we're X-Git-Tag: llvmorg-7.0.0-rc1~12219 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=675dcf02a82a2849962bcbc4d55dd183a661ccdf;p=platform%2Fupstream%2Fllvm.git 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 --- 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;