diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-04-24 18:12:42 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-04-24 18:12:42 +0000 |
commit | 424da1637a8af9fbdfbaeaeda3738985430d96eb (patch) | |
tree | 7b0b2a2fb45697a6a9e0f3c30341bfc230ced80e /llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp | |
parent | 1c9a9f255c5064ba87e2075d11bd007c3b99ae34 (diff) | |
download | llvm-424da1637a8af9fbdfbaeaeda3738985430d96eb.zip llvm-424da1637a8af9fbdfbaeaeda3738985430d96eb.tar.gz llvm-424da1637a8af9fbdfbaeaeda3738985430d96eb.tar.bz2 |
[InstCombine][SSE] Demanded vector elements for scalar intrinsics (Part 1 of 2)
This patch improves support for determining the demanded vector elements through SSE scalar intrinsics:
1 - recognise that we only need the lowest element of the second input for binary scalar operations (and all the elements of the first input)
2 - recognise that the roundss/roundsd intrinsics use the lowest element of the second input and the remaining elements from the first input
Differential Revision: http://reviews.llvm.org/D17490
llvm-svn: 267356
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp')
0 files changed, 0 insertions, 0 deletions