diff options
| author | Roman Lebedev <lebedev.ri@gmail.com> | 2019-03-15 21:18:05 +0000 |
|---|---|---|
| committer | Roman Lebedev <lebedev.ri@gmail.com> | 2019-03-15 21:18:05 +0000 |
| commit | 9f377906088f1c26134d96353857e4c3dd5e8f34 (patch) | |
| tree | 60b07293f4a9a11bcfdd146974feb475955cae23 /llvm/lib/CodeGen/ProcessImplicitDefs.cpp | |
| parent | b6e376ddfa1715c0ea0e975fc7fb033da2814661 (diff) | |
| download | bcm5719-llvm-9f377906088f1c26134d96353857e4c3dd5e8f34.tar.gz bcm5719-llvm-9f377906088f1c26134d96353857e4c3dd5e8f34.zip | |
[X86] X86ISelLowering::combineSextInRegCmov(): also handle i8 CMOV's
Summary:
As noted by @andreadb in https://reviews.llvm.org/D59035#inline-525780
If we have `sext (trunc (cmov C0, C1) to i8)`,
we can instead do `cmov (sext (trunc C0 to i8)), (sext (trunc C1 to i8))`
Reviewers: craig.topper, andreadb, RKSimon
Reviewed By: craig.topper
Subscribers: llvm-commits, andreadb
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D59412
llvm-svn: 356301
Diffstat (limited to 'llvm/lib/CodeGen/ProcessImplicitDefs.cpp')
0 files changed, 0 insertions, 0 deletions

