diff options
| author | Filipe Cabecinhas <me@filcab.net> | 2014-05-19 19:45:57 +0000 |
|---|---|---|
| committer | Filipe Cabecinhas <me@filcab.net> | 2014-05-19 19:45:57 +0000 |
| commit | ca162faee2e8f9e9f8938b164a0e959307194baa (patch) | |
| tree | de63c1a509bacc0839608b29d2c83105172ad611 /lib/Bitcode/Reader/BitReader.cpp | |
| parent | 861e2ef7b0fb312c9acab325c622c7758f3eac0a (diff) | |
| download | llvm-ca162faee2e8f9e9f8938b164a0e959307194baa.tar.gz llvm-ca162faee2e8f9e9f8938b164a0e959307194baa.tar.bz2 llvm-ca162faee2e8f9e9f8938b164a0e959307194baa.tar.xz | |
Added more insertps optimizations
Summary:
When inserting an element that's coming from a vector load or a broadcast
of a vector (or scalar) load, combine the load into the insertps
instruction.
Added PerformINSERTPSCombine for the case where we need to fix the load
(load of a vector + insertps with a non-zero CountS).
Added patterns for the broadcasts.
Also added tests for SSE4.1, AVX, and AVX2.
Reviewers: delena, nadav, craig.topper
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D3581
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209156 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitReader.cpp')
0 files changed, 0 insertions, 0 deletions
