Go to file
Sanjay Patel 1d49fc9b27 [InstCombine] canonicalize (bitcast (extractelement X)) --> (extractelement(bitcast X))
This change was discussed in D15392. It allows us to remove the fold that was added
in:
http://reviews.llvm.org/r255261

...and it will allow us to generalize this fold:
http://reviews.llvm.org/rL112232

while preserving the order of bitcast + extract that it produces and testing shows
is better handled by the backend.

Note that the existing check for "isVectorTy()" wasn't strong enough in general
and specifically because: x86_mmx. It's not a vector, but it's not vectorizable
either. So here we check VectorType::isValidElementType() directly before 
proceeding with the transform.

llvm-svn: 255433
2015-12-12 16:44:48 +00:00
clang Minor formatting cleanup. NFC 2015-12-12 06:30:51 +00:00
clang-tools-extra [clang-tidy] Fix PR25812. 2015-12-12 11:31:25 +00:00
compiler-rt [compiler-rt] [safestack] Enable for aarch64 2015-12-11 17:38:38 +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 integer: remove explicit casts from _MIN definitions 2015-10-06 19:12:12 +00:00
libcxx Replace cmake check for printf with a check for fopen. 2015-12-10 00:45:18 +00:00
libcxxabi Replace cmake check for printf with a check for fopen. 2015-12-10 00:44:42 +00:00
libunwind Replace cmake check for printf with a check for fopen. 2015-12-10 00:47:08 +00:00
lld [lld][MachO] Recognize __thread_bss sections as zero-fill and set all the 2015-12-11 23:25:09 +00:00
lldb Fix the L1 cache search in MemoryCache::Read to use the 2015-12-12 03:06:10 +00:00
llgo [llgo] Force exporting __morestack from llgoi 2015-11-27 04:46:46 +00:00
llvm [InstCombine] canonicalize (bitcast (extractelement X)) --> (extractelement(bitcast X)) 2015-12-12 16:44:48 +00:00
openmp Hinted lock (OpenMP 4.5 feature) Updates/Fixes Part 3 2015-12-11 22:04:05 +00:00
polly ScopInfo: Add helper function to invalidate a scop 2015-12-12 09:52:26 +00:00