diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-01-26 11:44:21 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-01-26 11:44:21 +0000 |
| commit | 99c68dd964ef7f68970f5f9be81092c29fd1ec64 (patch) | |
| tree | ce3aa42e2ac189eb7598e3fac3fc425b8c11b8db /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 7268a05178505fc5f0c3a9ab373636e4cc16918c (diff) | |
X86: Do splat promotion later, so the optimizer can chew on it first.
This catches many cases where we can emit a more efficient shuffle for a
specific mask or when the mask contains undefs. Once the splat is lowered to
unpacks we can't do that anymore.
There is a possibility of moving the promotion after pshufb matching, but I'm
not sure if pshufb with a mask loaded from memory is faster than 3 shuffles, so
I avoided that for now.
llvm-svn: 173569
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
