diff options
author | Lei Huang <lei@ca.ibm.com> | 2019-05-14 14:27:06 +0000 |
---|---|---|
committer | Lei Huang <lei@ca.ibm.com> | 2019-05-14 14:27:06 +0000 |
commit | 22561972af4793ccf156aa2425adfd1daeabf6c6 (patch) | |
tree | 5e4605b522f1657abed679c41d8c57bb3cc36ea9 /lldb/packages/Python/lldbsuite/test/expression_command/inline-namespace/main.cpp | |
parent | 9e88a26863745ae7bf7f919cd6b4a731eafce8ea (diff) | |
download | bcm5719-llvm-22561972af4793ccf156aa2425adfd1daeabf6c6.tar.gz bcm5719-llvm-22561972af4793ccf156aa2425adfd1daeabf6c6.zip |
[PowerPC] Custom lower known CR bit spills
For known CRBit spills, CRSET/CRUNSET, it is more efficient to load and spill
the known value instead of extracting the bit.
eg. This sequence is currently used to spill a CRUNSET:
crclr 4*cr5+lt
mfocrf r3,4
rlwinm r3,r3,20,0,0
stw r3,132(r1)
This patch custom lower it to:
li r3,0
stw r3,132(r1)
Differential Revision: https://reviews.llvm.org/D61754
llvm-svn: 360677
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/inline-namespace/main.cpp')
0 files changed, 0 insertions, 0 deletions