diff options
author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2017-12-15 21:34:05 +0000 |
---|---|---|
committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2017-12-15 21:34:05 +0000 |
commit | 058d3cec15106ee5fddfac27c95343da988ac541 (patch) | |
tree | 1fcff78e15368e14fc75650c79595bf80a734969 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp | |
parent | 266d6f03a1ba270b32ee5b5c5a629c44850865a7 (diff) | |
download | bcm5719-llvm-058d3cec15106ee5fddfac27c95343da988ac541.tar.gz bcm5719-llvm-058d3cec15106ee5fddfac27c95343da988ac541.zip |
[Hexagon] Remove recursion in visitUsesOf, replace with use queue
This is primarily to reduce stack usage, but ordering the use queue
according to the position in the code (earlier instructions visited
before later ones) reduces the number of unnecessary bottoms due to
visiting instructions out of order, e.g.
%reg1 = copy %reg0
%reg2 = copy %reg0
%reg3 = and %reg1, %reg2
Here, reg3 should be known to be same as reg0-2, but if reg3 is
evaluated after reg1 is updated, but before reg2 is updated, the two
inputs to the and will appear different, causing reg3 to become
bottom.
llvm-svn: 320866
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp')
0 files changed, 0 insertions, 0 deletions