diff options
| author | Craig Topper <craig.topper@gmail.com> | 2016-12-14 03:17:27 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2016-12-14 03:17:27 +0000 |
| commit | a0372dec261d137973b29ed14376230c372b4290 (patch) | |
| tree | 716021fc604f16e793337be1a95db4cf45122db7 /llvm/lib/Object/IRObjectFile.cpp | |
| parent | ecb10f4a9af046a5bfb9094e023d122469673649 (diff) | |
| download | bcm5719-llvm-a0372dec261d137973b29ed14376230c372b4290.tar.gz bcm5719-llvm-a0372dec261d137973b29ed14376230c372b4290.zip | |
[X86][InstCombine] Teach SimplifyDemandedVectorElts to handle scalar min/max/cmp intrinsics more correctly.
Now we only pass bit 0 of the DemandedElts to optimize operand 1 as we recurse since the upper bits are unused.
Also calculate UndefElts correctly.
Simplify InstCombineCalls for these instrinics to just call SimplifyDemandedVectorElts for the call instrution to reuse this support.
llvm-svn: 289628
Diffstat (limited to 'llvm/lib/Object/IRObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions

