[llvm] r325837 - Update comment for whether or not we can optimize an alias - we're
Eric Christopher via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 22 15:12:11 PST 2018
Author: echristo
Date: Thu Feb 22 15:12:11 2018
New Revision: 325837
URL: http://llvm.org/viewvc/llvm-project?rev=325837&view=rev
Log:
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.
Modified:
llvm/trunk/lib/Transforms/IPO/GlobalOpt.cpp
Modified: llvm/trunk/lib/Transforms/IPO/GlobalOpt.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/GlobalOpt.cpp?rev=325837&r1=325836&r2=325837&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/GlobalOpt.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/GlobalOpt.cpp Thu Feb 22 15:12:11 2018
@@ -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;
More information about the llvm-commits
mailing list