diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-03-25 19:50:14 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-03-25 19:50:14 +0000 |
| commit | 5400a4d0af2d47db9cbb538401bc21bb41793b9e (patch) | |
| tree | 272391344d44cb1cd75f9a6559780b7fd410a8a4 /clang/lib/CodeGen/ModuleBuilder.cpp | |
| parent | 1e6fedbb83585d6ed41c46d84b2727665d85f911 (diff) | |
| download | bcm5719-llvm-5400a4d0af2d47db9cbb538401bc21bb41793b9e.tar.gz bcm5719-llvm-5400a4d0af2d47db9cbb538401bc21bb41793b9e.zip | |
[X86][SSE] Generalised CMP+AND1 combine to ZERO/ALLBITS+MASK
Patch to generalize combinePCMPAnd1 (for handling SETCC + ZEXT cases) to work for any input that has zero/all bits set masked with an 'all low bits' mask.
Replaced the implicit assumption of shift availability with a call to SupportedVectorShiftWithImm.
Part 1 of 3.
Differential Revision: https://reviews.llvm.org/D31347
llvm-svn: 298779
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions

