diff options
author | Davide Italiano <davide@freebsd.org> | 2016-10-15 21:35:23 +0000 |
---|---|---|
committer | Davide Italiano <davide@freebsd.org> | 2016-10-15 21:35:23 +0000 |
commit | 590ad7037e534bd0a9a52e91391bd35ec5834b06 (patch) | |
tree | 1fbe327d6f1de0d57eafcb5244b8525404a71a24 /llvm/lib/CodeGen | |
parent | bbcfec7edd010aeb2f86780b7491a400dbe0f5d9 (diff) | |
download | bcm5719-llvm-590ad7037e534bd0a9a52e91391bd35ec5834b06.tar.gz bcm5719-llvm-590ad7037e534bd0a9a52e91391bd35ec5834b06.zip |
[GVN/PRE] Hoist global values outside of loops.
In theory this could be generalized to move anything where
we prove the operands are available, but that would require
rewriting PRE. As NewGVN will hopefully come soon, and we're
trying to rewrite PRE in terms of NewGVN+MemorySSA, it's probably
not worth spending too much time on it. Fix provided by
Daniel Berlin!
llvm-svn: 284311
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions