diff options
author | Sebastian Pop <sebpop@gmail.com> | 2016-07-26 00:15:08 +0000 |
---|---|---|
committer | Sebastian Pop <sebpop@gmail.com> | 2016-07-26 00:15:08 +0000 |
commit | 38422b135678b85d6a02d9a48e4375a9dcc1368c (patch) | |
tree | d28d99fa26fe8b59e909c73741ae19f0f21839de /llvm/lib/CodeGen/LexicalScopes.cpp | |
parent | 906f6fb565e7bf6cf54fed8955e371d735b06d78 (diff) | |
download | bcm5719-llvm-38422b135678b85d6a02d9a48e4375a9dcc1368c.tar.gz bcm5719-llvm-38422b135678b85d6a02d9a48e4375a9dcc1368c.zip |
GVN-hoist: limit hoisting depth (PR28670)
This patch adds an option to specify the maximum depth in a BB at which to
consider hoisting instructions. Hoisting instructions from a deeper level is
not profitable as it increases register pressure and compilation time.
Differential Revision: https://reviews.llvm.org/D22772
llvm-svn: 276713
Diffstat (limited to 'llvm/lib/CodeGen/LexicalScopes.cpp')
0 files changed, 0 insertions, 0 deletions