diff options
author | Zhan Jun Liau <zhanjunl@ca.ibm.com> | 2016-06-27 15:55:30 +0000 |
---|---|---|
committer | Zhan Jun Liau <zhanjunl@ca.ibm.com> | 2016-06-27 15:55:30 +0000 |
commit | 4f130b4410b2662e9adb1947cd402d9593409c21 (patch) | |
tree | 5d3420d855e7dbf75b02fdf7a984db6348731b34 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py | |
parent | 02478f416639e1e322df34c139cd90874dcfb2c1 (diff) | |
download | bcm5719-llvm-4f130b4410b2662e9adb1947cd402d9593409c21.tar.gz bcm5719-llvm-4f130b4410b2662e9adb1947cd402d9593409c21.zip |
[SystemZ] Avoid generating 2 XOR instructions for (and (xor x, -1), y)
Summary:
Created a pattern to match 64-bit mode (and (xor x, -1), y)
to a shorter sequence of instructions.
Before the change, the canonical form is translated to:
xihf %r3, 4294967295
xilf %r3, 4294967295
ngr %r2, %r3
After the change, the canonical form is translated to:
ngr %r3, %r2
xgr %r2, %r3
Reviewers: zhanjunl, uweigand
Subscribers: llvm-commits
Author: assem
Committing on behalf of Assem.
Differential Revision: http://reviews.llvm.org/D21693
llvm-svn: 273887
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py')
0 files changed, 0 insertions, 0 deletions