summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp
diff options
context:
space:
mode:
authorSam Parker <sam.parker@arm.com>2019-02-15 11:50:21 +0000
committerSam Parker <sam.parker@arm.com>2019-02-15 11:50:21 +0000
commit0b53e8454b11340353610162191edb8eccd775cd (patch)
tree2ddcc72bde7790ac08cddf9cafab1f87707b01a4 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp
parent136f09bea19b2584a7b8b4739ca4935dde319753 (diff)
downloadbcm5719-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/call-function/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud