Go to file
Sanjay Patel 2f602cea41 [InstCombine] canonicalize insertelement of scalar constant ahead of insertelement of variable
insertelement (insertelement X, Y, IdxC1), ScalarC, IdxC2 -->
insertelement (insertelement X, ScalarC, IdxC2), Y, IdxC1

As noted in the code comment and seen in the test changes, the motivation is that by pulling
constant insertion up, we may be able to constant fold some insertelement instructions.

Differential Revision: https://reviews.llvm.org/D31196

llvm-svn: 298520
2017-03-22 17:10:44 +00:00
clang [X86][MMX] Add tests for _mm_set*_* intrinsics 2017-03-22 14:55:43 +00:00
clang-tools-extra [clang-tidy] Tests should not rely on STL headers being available. 2017-03-22 12:50:10 +00:00
compiler-rt tsan: fix a typo 2017-03-22 09:31:17 +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 math: Implement sinh function 2017-02-25 02:46:53 +00:00
libcxx Fix test failure I introduced 2017-03-21 21:05:28 +00:00
libcxxabi Fully Reformat fallback_malloc.cpp 2017-03-04 03:23:15 +00:00
libunwind DarwinParser: include limits 2017-03-14 15:17:55 +00:00
lld Update LLD tests for codeview dumping changes 2017-03-22 01:43:49 +00:00
lldb Delete TestLLVM.py 2017-03-22 17:08:25 +00:00
llgo [llgo] Remove support for LLVM attributes 2016-12-06 19:22:04 +00:00
llvm [InstCombine] canonicalize insertelement of scalar constant ahead of insertelement of variable 2017-03-22 17:10:44 +00:00
openmp [OpenMP] Allow multiple weak symbols to be loaded from the fat binary 2017-03-22 16:43:40 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly Introduce another level of metadata to distinguish non-aliasing accesses 2017-03-22 14:25:24 +00:00