projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7de4500
)
Update comment for whether or not we can optimize an alias - we're
author
Eric Christopher
<echristo@gmail.com>
Thu, 22 Feb 2018 23:12:11 +0000
(23:12 +0000)
committer
Eric 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
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/IPO/GlobalOpt.cpp
b/llvm/lib/Transforms/IPO/GlobalOpt.cpp
index
274ecf0
..
b92accd
100644
(file)
--- a/
llvm/lib/Transforms/IPO/GlobalOpt.cpp
+++ b/
llvm/lib/Transforms/IPO/GlobalOpt.cpp
@@
-2717,7
+2717,7
@@
OptimizeGlobalAliases(Module &M,
continue;
}
- // If the alias
ee 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;