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 | 23156f19246677a896ffbda72eadbcbbc1c47964 (patch) | |
tree | c75c5e57ebf02fbf2a2411aad92ef1dc084b2425 /include/llvm-c | |
parent | 52ed6069ee0250b8c32ec4b1d733e4957ecddc23 (diff) |
[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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289629 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
0 files changed, 0 insertions, 0 deletions