llvm-6502/test/CodeGen
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
..
AArch64 A minor change for an obvous problem caused by r188451: 2013-08-21 17:47:53 +00:00
ARM ARM: Fix fast-isel copy/paste-o. 2013-08-20 19:12:42 +00:00
CPP [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Generic [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Hexagon [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Inputs
Mips [mips] Add support for mfhc1 and mthc1. 2013-08-20 23:47:25 +00:00
MSP430 [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
NVPTX [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
PowerPC Don't form PPC CTR-based loops around a copysignl call 2013-08-19 23:35:24 +00:00
R600 R600: Expand vector FRINT ops 2013-08-16 23:51:33 +00:00
SPARC [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
SystemZ [SystemZ] Define remainig *MUL_LOHI patterns 2013-08-21 09:34:56 +00:00
Thumb [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Thumb2 [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
X86 Teach BaseIndexOffset::match to identify base pointers in loops. 2013-08-21 21:53:38 +00:00
XCore [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00