Update comment for whether or not we can optimize an alias - we're
authorEric Christopher <echristo@gmail.com>
Thu, 22 Feb 2018 23:12:11 +0000 (23:12 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 22 Feb 2018 23:12:11 +0000 (23:12 +0000)
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

index 274ecf0..b92accd 100644 (file)
@@ -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;