aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/Object.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-04-07 10:40:01 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-04-07 10:40:01 +0000
commit07adb6abdadfed379a9998e53beb82ce1e253b0e (patch)
treea1656b1a8d452b69f8cd08a3767a00526756e571 /llvm/lib/Object/Object.cpp
parent47a7662e29b669358e8b8d193f59e5c8d68568e8 (diff)
downloadllvm-07adb6abdadfed379a9998e53beb82ce1e253b0e.zip
llvm-07adb6abdadfed379a9998e53beb82ce1e253b0e.tar.gz
llvm-07adb6abdadfed379a9998e53beb82ce1e253b0e.tar.bz2
[X86][SSE] SimplifyDemandedBitsForTargetNode - Add initial PACKSS support
In the case where we only want the sign bit (e.g. when using PACKSS truncation of comparison results for MOVMSK) then we can just demand the sign bit of the source operands. This makes use of the fact that PACKSS saturates out of range values to the min/max int values - so the sign bit is always preserved. Differential Revision: https://reviews.llvm.org/D60333 llvm-svn: 357859
Diffstat (limited to 'llvm/lib/Object/Object.cpp')
0 files changed, 0 insertions, 0 deletions