diff options
| author | Eric Christopher <echristo@gmail.com> | 2018-02-22 23:12:11 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2018-02-22 23:12:11 +0000 |
| commit | 675dcf02a82a2849962bcbc4d55dd183a661ccdf (patch) | |
| tree | b999a25b5747e1be14e63fb0676b98ce1e18c3a7 /llvm/lib | |
| parent | 7de450033b62cec4c2eb6037bfc6655db8a3c144 (diff) | |
| download | bcm5719-llvm-675dcf02a82a2849962bcbc4d55dd183a661ccdf.tar.gz bcm5719-llvm-675dcf02a82a2849962bcbc4d55dd183a661ccdf.zip | |
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
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Transforms/IPO/GlobalOpt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/GlobalOpt.cpp b/llvm/lib/Transforms/IPO/GlobalOpt.cpp index 274ecf0a099..b92accd2796 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; |

