Go to file
Simon Pilgrim 5f71c909f0 [X86][AVX] Peek through bitcasts to find the source of broadcasts (reapplied)
AVX1 can only broadcast vectors as floats/doubles, so for 256-bit vectors we insert bitcasts if we are shuffling v8i32/v4i64 types. Unfortunately the presence of these bitcasts prevents the current broadcast lowering code from peeking through cases where we have concatenated / extracted vectors to create the 256-bit vectors.

This patch allows us to peek through bitcasts as long as the number of elements doesn't change (i.e. element bitwidth is the same) so the broadcast index is not affected.

Note this bitcast peek is different from the stage later on which doesn't care about the type and is just trying to find a load node.

As we're being more aggressive with bitcasts, we also need to ensure that the broadcast type is correctly bitcasted

Differential Revision: http://reviews.llvm.org/D21660

llvm-svn: 274013
2016-06-28 13:24:05 +00:00
clang [SPARC] Allows inlining of atomics for Sparc32 with appropriate store barrier. 2016-06-28 12:55:55 +00:00
clang-tools-extra [clang-tidy] boost-use-to-string arg expr location bugfix 2016-06-28 08:16:20 +00:00
compiler-rt Adding a comment to explain r273886 ("Stop unwinding the stack when a close-to-zero PC is found"). NFC. 2016-06-28 12:53:20 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc configure: Remove device specific defines 2016-06-17 20:30:50 +00:00
libcxx Fix bad link for P0006 2016-06-27 11:14:34 +00:00
libcxxabi Fix [libcxxabi] Fix warning about uninitialized const member. 2016-06-15 19:59:16 +00:00
libunwind [libunwind] Improve unwinder stack usage - III 2016-06-14 15:51:01 +00:00
lld [ELF] - Remove Config->ZDefs flag. 2016-06-28 12:04:19 +00:00
lldb fixits are apparently called fix-its. 2016-06-28 01:33:03 +00:00
llgo [llgo] llgoi: separate evaluation from printing 2016-04-25 01:18:20 +00:00
llvm [X86][AVX] Peek through bitcasts to find the source of broadcasts (reapplied) 2016-06-28 13:24:05 +00:00
openmp Fix the Windows build after r273599 2016-06-27 18:03:45 +00:00
parallel-libs Change mailing list names in README 2016-06-24 22:50:09 +00:00
polly Create a dedicated header file for ScopBuilder. NFC. 2016-06-28 01:37:28 +00:00