llvm-project/llvm/test
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
..
Analysis Revert "[ScalarEvolution] Predicate implication from operations" 2017-03-22 07:50:33 +00:00
Assembler Let llvm.objectsize be conservative with null pointers 2017-03-21 20:08:59 +00:00
Bindings
Bitcode Use ProfileSummary:getProfileCount to get ScaledCount for ModuleSummary 2017-03-21 17:22:35 +00:00
BugPoint [IR/Verifier] List the CU we weren't able to find in `llvm.dbg.cu`. 2017-02-20 22:51:42 +00:00
CodeGen [ARM] t2_so_imm_neg had a subtle bug in the conversion, and could trigger UB by negating (int)-2147483648. By pure luck, none of the pre-existing tests triggered this; so I'm adding one. 2017-03-22 15:09:30 +00:00
DebugInfo Fix PR32298 by adding an early exit to getFrameIndexExprs(). 2017-03-22 16:50:16 +00:00
Examples
ExecutionEngine
Feature Disable gvn-hoist (PR32153) 2017-03-06 21:10:40 +00:00
FileCheck [FileCheck] Added --enable-var-scope option to enable scope for regex variables. 2017-03-09 17:59:04 +00:00
Instrumentation Revert r298158. 2017-03-20 18:45:34 +00:00
Integer
JitListener
LTO Perform symbol binding for .symver versioned symbols 2017-03-09 00:19:49 +00:00
LibDriver
Linker [Linker] Provide callback for internalization 2017-03-13 18:08:11 +00:00
MC Add default typo to .tbss.* 2017-03-22 14:04:19 +00:00
Object Archives require a symbol table on Solaris, even if empty. 2017-03-14 19:57:13 +00:00
ObjectYAML [ObjectYAML] Fix issue with DWARF2 AddrSize 8 2017-03-07 21:34:35 +00:00
Other Bring back r297624. 2017-03-13 20:00:25 +00:00
SymbolRewriter
TableGen [tablegen][globalisel] Capture instructions into locals and related infrastructure for multiple instructions matches. 2017-03-20 15:20:42 +00:00
ThinLTO/X86 Support, LTO: When pruning a directory, ignore files matching a prefix. 2017-03-20 16:41:57 +00:00
Transforms [InstCombine] canonicalize insertelement of scalar constant ahead of insertelement of variable 2017-03-22 17:10:44 +00:00
Unit
Verifier [DebugInfo] Emit address space with DW_AT_address_class attribute for pointer and reference types 2017-03-08 23:55:44 +00:00
YAMLParser
tools Add the rest of the error checking for Mach-O dyld compact bind entry errors 2017-03-20 19:46:55 +00:00
.clang-format
CMakeLists.txt
TestRunner.sh
lit.cfg
lit.site.cfg.in