llvm/test
Juergen Ributzka 915e936de2 Teach BaseIndexOffset::match to identify base pointers in loops.
The small utility function that pattern matches Base + Index +
Offset patterns for loads and stores fails to recognize the base
pointer for loads/stores from/into an array at offset 0 inside a
loop. As a result DAGCombiner::MergeConsecutiveStores was not able
to merge all stores.

This commit fixes the issue by adding an additional pattern match
and also a test case.

Reviewer: Nadav

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188936 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-21 21:53:38 +00:00
..
Analysis [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Assembler [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Bindings/Ocaml [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Bitcode Use -disable-output and to suppress output and don't use a temporary file unless we need one. 2013-08-20 23:00:25 +00:00
BugPoint [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
CodeGen Teach BaseIndexOffset::match to identify base pointers in loops. 2013-08-21 21:53:38 +00:00
DebugInfo DebugInfo: Do not use the DWARF Version for the .debug_pubnames or .debug_pubtypes version field 2013-08-21 06:13:34 +00:00
ExecutionEngine In LLVM FMA3 operands are dst, src1, src2, src3, however dst is not encoded as it is always src1. This was causing the encoding of the operands to be off by one. 2013-08-21 05:03:10 +00:00
Feature [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
FileCheck [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Instrumentation [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Integer [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
JitListener [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Linker [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
MC Make "mov" work for all Thumb2 MOV encodings 2013-08-21 13:14:58 +00:00
Object MC CFG: Remap enough for data too, analoguous to r188873. 2013-08-21 19:40:28 +00:00
Other Teach ConstantFolding about pointer address spaces 2013-08-20 21:20:04 +00:00
TableGen Fix a bug in TableGen where the intrinsic function name recognizer could mis-identify names if one was a prefix substring of the other 2013-07-25 12:32:00 +00:00
tools [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Transforms Teach InstCombine about address spaces 2013-08-21 19:53:10 +00:00
Unit [tests] Update to use lit_config and lit package, as appropriate. 2013-08-09 16:22:05 +00:00
Verifier [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
YAMLParser
CMakeLists.txt
lit.cfg Add the FMA3 feature in order to test FMA encoding using the old jit. 2013-08-21 05:02:12 +00:00
lit.site.cfg.in [tests] Update to use lit_config and lit package, as appropriate. 2013-08-09 16:22:05 +00:00
Makefile [tests] Remove dead VALGRIND and CLEANED_TESTSUITE makefile variables. 2013-08-08 20:59:27 +00:00
Makefile.tests Remove dead code from the makefile build system. 2013-07-25 20:25:31 +00:00
TestRunner.sh