diff options
author | Sam Parker <sam.parker@arm.com> | 2019-02-15 11:50:21 +0000 |
---|---|---|
committer | Sam Parker <sam.parker@arm.com> | 2019-02-15 11:50:21 +0000 |
commit | 0b53e8454b11340353610162191edb8eccd775cd (patch) | |
tree | 2ddcc72bde7790ac08cddf9cafab1f87707b01a4 /lldb/packages/Python/lldbsuite/test/expression_command/context-object/TestContextObject.py | |
parent | 136f09bea19b2584a7b8b4739ca4935dde319753 (diff) | |
download | bcm5719-llvm-0b53e8454b11340353610162191edb8eccd775cd.tar.gz bcm5719-llvm-0b53e8454b11340353610162191edb8eccd775cd.zip |
[BPI] Look through bitcasts in calcZeroHeuristic
Constant hoisting may have hidden a constant behind a bitcast so that
it isn't folded into its users. However, this prevents BPI from
calculating some of its heuristics that are based upon constant
values. So, I've added a simple helper function to look through these
casts.
Differential Revision: https://reviews.llvm.org/D58166
llvm-svn: 354119
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/context-object/TestContextObject.py')
0 files changed, 0 insertions, 0 deletions