diff options
author | Alexander Ivchenko <alexander.ivchenko@intel.com> | 2017-09-22 13:21:39 +0000 |
---|---|---|
committer | Alexander Ivchenko <alexander.ivchenko@intel.com> | 2017-09-22 13:21:39 +0000 |
commit | 34498ba052ee83a931a894509bab2369a411809a (patch) | |
tree | 56526de6ed2836913e2df03c79526165fc5e0f1f /lldb/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py | |
parent | 889dc1e3a58cb9c2e38d49138f6e338242315de3 (diff) | |
download | bcm5719-llvm-34498ba052ee83a931a894509bab2369a411809a.tar.gz bcm5719-llvm-34498ba052ee83a931a894509bab2369a411809a.zip |
[X86] Combining CMOVs with [ANY,SIGN,ZERO]_EXTEND for cases where CMOV has constant arguments
Combine CMOV[i16]<-[SIGN,ZERO,ANY]_EXTEND to [i32,i64] into CMOV[i32,i64].
One example of where it is useful is:
before (20 bytes)
<foo>:
test $0x1,%dil
mov $0x307e,%ax
mov $0xffff,%cx
cmovne %ax,%cx
movzwl %cx,%eax
retq
after (18 bytes)
<foo>:
test $0x1,%dil
mov $0x307e,%ecx
mov $0xffff,%eax
cmovne %ecx,%eax
retq
Reviewers: craig.topper, aaboud, spatel, RKSimon, zvi
Reviewed By: spatel
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D36711
llvm-svn: 313982
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py')
0 files changed, 0 insertions, 0 deletions