aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
diff options
context:
space:
mode:
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>2018-07-13 15:21:03 +0000
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>2018-07-13 15:21:03 +0000
commit080c35050ef2049b65419f52a58e35c2e4fe1dc5 (patch)
treeeb6879b18c1865f9a49c59de31fb154ff4055ad9 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
parent06e7e5798fa4efdcbc9598427fb8ccb6942d6cb0 (diff)
downloadllvm-080c35050ef2049b65419f52a58e35c2e4fe1dc5.zip
llvm-080c35050ef2049b65419f52a58e35c2e4fe1dc5.tar.gz
llvm-080c35050ef2049b65419f52a58e35c2e4fe1dc5.tar.bz2
[PowerPC] Materialize more constants with CR-field set in late peephole
Revision r322373 fixed a bug in how we materialize constants when the CR-field needs to be set. However the fix is overly conservative. It will only do the transform if AND-ing the input with the new constant produces the same new constant. This is of course correct, but not necessarily required. If there are no futher uses of the constant, the constant can be changed. If there are no uses of the GPR result, the final result of the materialization isn't important other than it needs to compare to zero correctly (lt, gt, eq). Differential revision: https://reviews.llvm.org/D42109 llvm-svn: 337008
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions