diff options
| author | Craig Topper <craig.topper@gmail.com> | 2016-12-14 03:17:30 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2016-12-14 03:17:30 +0000 |
| commit | eb6a20e79ed4a5ac8d5f61f7372bb633c7362378 (patch) | |
| tree | f582a662bab3c3b210043da9047358b16053f51c /llvm/lib/Object | |
| parent | a0372dec261d137973b29ed14376230c372b4290 (diff) | |
| download | bcm5719-llvm-eb6a20e79ed4a5ac8d5f61f7372bb633c7362378.tar.gz bcm5719-llvm-eb6a20e79ed4a5ac8d5f61f7372bb633c7362378.zip | |
[X86][InstCombine] Teach SimplifyDemandedVectorElts to handle scalar round 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. Similarly we clear bit 0 for optimizing operand 0.
Also calculate UndefElts correctly.
Simplify InstCombineCalls for these instrinics to just call SimplifyDemandedVectorElts for the call instrution to reuse this support.
llvm-svn: 289629
Diffstat (limited to 'llvm/lib/Object')
0 files changed, 0 insertions, 0 deletions

