llvm-6502/test/CodeGen/SystemZ
Richard Sandiford 349baa6039 [SystemZ] Set usaAA to true
useAA significantly improves the handling of vector code that has TBAA
information attached.  It also helps other cases, as shown by the testsuite
changes here.  The only real downside I've seen is that it interferes with
MergeConsecutiveStores.  The problem is that that optimization works top
down, starting at the first store in the chain, and looks for cases where
the chain result is only used by a single related store.  These related
stores don't alias, so useAA will have rewritten all the later stores to
use a different chain input (typically the same one as the first store).

I think the advantages outweigh the disadvantages though, so for now I've
just disabled alias analysis for the unaligned-01.ll test.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193521 91177308-0d34-0410-b5e6-96231b3b80d8
2013-10-28 13:53:37 +00:00
..
Large [SystemZ] Add unsigned compare-and-branch instructions 2013-09-18 09:56:40 +00:00
addr-01.ll [SystemZ] Postpone NI->RISBG conversion to convertToThreeAddress() 2013-07-31 11:36:35 +00:00
addr-02.ll [SystemZ] Postpone NI->RISBG conversion to convertToThreeAddress() 2013-07-31 11:36:35 +00:00
addr-03.ll
alias-01.ll [SystemZ] Set usaAA to true 2013-10-28 13:53:37 +00:00
alloca-01.ll [SystemZ] Postpone NI->RISBG conversion to convertToThreeAddress() 2013-07-31 11:36:35 +00:00
alloca-02.ll [SystemZ] Prefer LHI;ST... over LAY;MV... 2013-08-23 11:18:53 +00:00
and-01.ll
and-02.ll [SystemZ] Postpone NI->RISBG conversion to convertToThreeAddress() 2013-07-31 11:36:35 +00:00
and-03.ll
and-04.ll [SystemZ] Postpone NI->RISBG conversion to convertToThreeAddress() 2013-07-31 11:36:35 +00:00
and-05.ll
and-06.ll
and-07.ll
and-08.ll TBAA: update tbaa format from scalar format to struct-path aware format. 2013-09-30 18:17:55 +00:00
args-01.ll
args-02.ll
args-03.ll
args-04.ll
args-05.ll
args-06.ll [SystemZ] Improve extload handling 2013-09-16 09:03:10 +00:00
asm-01.ll
asm-02.ll
asm-03.ll
asm-04.ll
asm-05.ll
asm-06.ll
asm-07.ll
asm-08.ll
asm-09.ll
asm-10.ll
asm-11.ll
asm-12.ll
asm-13.ll
asm-14.ll
asm-15.ll
asm-16.ll
asm-17.ll Fix test typo and add usual "br %r14" test 2013-08-20 09:14:46 +00:00
asm-18.ll [SystemZ] Add comparisons of high words and memory 2013-10-01 15:00:44 +00:00
atomic-load-01.ll
atomic-load-02.ll
atomic-load-03.ll
atomic-load-04.ll
atomic-store-01.ll
atomic-store-02.ll
atomic-store-03.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomic-store-04.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-add-01.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-add-02.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-add-03.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-add-04.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-and-01.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-and-02.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-and-03.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-and-04.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-minmax-01.ll [SystemZ] Add unsigned compare-and-branch instructions 2013-09-18 09:56:40 +00:00
atomicrmw-minmax-02.ll [SystemZ] Add unsigned compare-and-branch instructions 2013-09-18 09:56:40 +00:00
atomicrmw-minmax-03.ll [SystemZ] Add unsigned compare-and-branch instructions 2013-09-18 09:56:40 +00:00
atomicrmw-minmax-04.ll [SystemZ] Add unsigned compare-and-branch instructions 2013-09-18 09:56:40 +00:00
atomicrmw-nand-01.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-nand-02.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-nand-03.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-nand-04.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-or-01.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-or-02.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-or-03.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-or-04.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-sub-01.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-sub-02.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-sub-03.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-sub-04.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-xchg-01.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-xchg-02.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-xchg-03.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-xchg-04.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-xor-01.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-xor-02.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-xor-03.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
atomicrmw-xor-04.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
branch-01.ll
branch-02.ll
branch-03.ll
branch-04.ll
branch-05.ll [SystemZ] Add unsigned compare-and-branch instructions 2013-09-18 09:56:40 +00:00
branch-06.ll [SystemZ] Tweak integer comparison code 2013-09-06 11:51:39 +00:00
branch-07.ll [SystemZ] Improve handling of SETCC 2013-10-16 11:10:55 +00:00
branch-08.ll [SystemZ] Add unsigned compare-and-branch instructions 2013-09-18 09:56:40 +00:00
branch-09.ll [SystemZ] Add unsigned compare-and-branch instructions 2013-09-18 09:56:40 +00:00
branch-10.ll [SystemZ] Add unsigned compare-and-branch instructions 2013-09-18 09:56:40 +00:00
bswap-01.ll
bswap-02.ll [SystemZ] Set usaAA to true 2013-10-28 13:53:37 +00:00
bswap-03.ll
bswap-04.ll
bswap-05.ll
call-01.ll
call-02.ll
call-03.ll [SystemZ] Add support for sibling calls 2013-08-19 12:42:31 +00:00
cmpxchg-01.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
cmpxchg-02.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
cmpxchg-03.ll
cmpxchg-04.ll
cond-load-01.ll [SystemZ] Be more careful about inverting CC masks (conditional loads) 2013-07-31 12:38:08 +00:00
cond-load-02.ll [SystemZ] Be more careful about inverting CC masks (conditional loads) 2013-07-31 12:38:08 +00:00
cond-move-01.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
cond-store-01.ll [SystemZ] Add unsigned compare-and-branch instructions 2013-09-18 09:56:40 +00:00
cond-store-02.ll [SystemZ] Add unsigned compare-and-branch instructions 2013-09-18 09:56:40 +00:00
cond-store-03.ll [SystemZ] Add unsigned compare-and-branch instructions 2013-09-18 09:56:40 +00:00
cond-store-04.ll [SystemZ] Add unsigned compare-and-branch instructions 2013-09-18 09:56:40 +00:00
cond-store-05.ll [SystemZ] Add unsigned compare-and-branch instructions 2013-09-18 09:56:40 +00:00
cond-store-06.ll [SystemZ] Add unsigned compare-and-branch instructions 2013-09-18 09:56:40 +00:00
cond-store-07.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
cond-store-08.ll [SystemZ] Be more careful about inverting CC masks 2013-07-31 12:30:20 +00:00
fp-abs-01.ll
fp-abs-02.ll
fp-add-01.ll
fp-add-02.ll
fp-add-03.ll
fp-cmp-01.ll [SystemZ] Try reversing comparisons whose first operand is in memory 2013-08-23 11:27:19 +00:00
fp-cmp-02.ll [SystemZ] Try reversing comparisons whose first operand is in memory 2013-08-23 11:27:19 +00:00
fp-cmp-03.ll [SystemZ] Add floating-point load-and-test instructions 2013-08-07 11:03:34 +00:00
fp-cmp-04.ll [SystemZ] Optimize floating-point comparisons with zero 2013-08-07 11:10:06 +00:00
fp-const-01.ll
fp-const-02.ll
fp-const-03.ll
fp-const-04.ll
fp-const-05.ll
fp-const-06.ll
fp-const-07.ll
fp-const-08.ll
fp-const-09.ll
fp-conv-01.ll
fp-conv-02.ll
fp-conv-03.ll
fp-conv-04.ll
fp-conv-05.ll
fp-conv-06.ll
fp-conv-07.ll
fp-conv-08.ll
fp-conv-09.ll
fp-conv-10.ll
fp-conv-11.ll
fp-conv-12.ll
fp-copysign-01.ll
fp-div-01.ll
fp-div-02.ll
fp-div-03.ll
fp-move-01.ll
fp-move-02.ll [SystemZ] Rein back the use of block operations 2013-09-27 15:29:20 +00:00
fp-move-03.ll
fp-move-04.ll
fp-move-05.ll
fp-move-06.ll
fp-move-07.ll
fp-move-08.ll
fp-move-09.ll [SystemZ] Extend pseudo conditional 8- and 16-bit stores to high words 2013-10-01 14:33:55 +00:00
fp-mul-01.ll
fp-mul-02.ll
fp-mul-03.ll
fp-mul-04.ll
fp-mul-05.ll
fp-mul-06.ll
fp-mul-07.ll
fp-mul-08.ll
fp-mul-09.ll
fp-neg-01.ll
fp-round-01.ll [SystemZ] Use FI[EDX]BRA for codegen 2013-08-21 09:04:20 +00:00
fp-round-02.ll [SystemZ] Use FI[EDX]BRA for codegen 2013-08-21 09:04:20 +00:00
fp-sqrt-01.ll Turn MipsOptimizeMathLibCalls into a target-independent scalar transform 2013-08-23 10:27:02 +00:00
fp-sqrt-02.ll Turn MipsOptimizeMathLibCalls into a target-independent scalar transform 2013-08-23 10:27:02 +00:00
fp-sqrt-03.ll
fp-sub-01.ll
fp-sub-02.ll
fp-sub-03.ll
frame-01.ll
frame-02.ll
frame-03.ll
frame-04.ll
frame-05.ll
frame-06.ll
frame-07.ll
frame-08.ll
frame-09.ll
frame-10.ll
frame-11.ll
frame-13.ll [SystemZ] Prefer LHI;ST... over LAY;MV... 2013-08-23 11:18:53 +00:00
frame-14.ll
frame-15.ll
frame-16.ll
frame-17.ll
frame-18.ll
insert-01.ll [SystemZ] Postpone NI->RISBG conversion to convertToThreeAddress() 2013-07-31 11:36:35 +00:00
insert-02.ll [SystemZ] Postpone NI->RISBG conversion to convertToThreeAddress() 2013-07-31 11:36:35 +00:00
insert-03.ll
insert-04.ll
insert-05.ll
insert-06.ll
int-abs-01.ll [SystemZ] Add integer absolute (load positive) 2013-08-19 12:48:54 +00:00
int-add-01.ll
int-add-02.ll
int-add-03.ll
int-add-04.ll
int-add-05.ll
int-add-06.ll
int-add-07.ll
int-add-08.ll
int-add-09.ll [SystemZ] Set usaAA to true 2013-10-28 13:53:37 +00:00
int-add-10.ll [SystemZ] Set usaAA to true 2013-10-28 13:53:37 +00:00
int-add-11.ll [SystemZ] Use A(G)SI when spilling the target of a constant addition 2013-10-15 08:42:59 +00:00
int-add-12.ll [SystemZ] Use A(G)SI when spilling the target of a constant addition 2013-10-15 08:42:59 +00:00
int-add-13.ll
int-add-14.ll
int-add-15.ll
int-add-16.ll
int-cmp-01.ll [SystemZ] Try reversing comparisons whose first operand is in memory 2013-08-23 11:27:19 +00:00
int-cmp-02.ll [SystemZ] Try reversing comparisons whose first operand is in memory 2013-08-23 11:27:19 +00:00
int-cmp-03.ll [SystemZ] Add unsigned compare-and-branch instructions 2013-09-18 09:56:40 +00:00
int-cmp-04.ll [SystemZ] Try reversing comparisons whose first operand is in memory 2013-08-23 11:27:19 +00:00
int-cmp-05.ll [SystemZ] Try reversing comparisons whose first operand is in memory 2013-08-23 11:27:19 +00:00
int-cmp-06.ll [SystemZ] Try reversing comparisons whose first operand is in memory 2013-08-23 11:27:19 +00:00
int-cmp-07.ll [SystemZ] Try reversing comparisons whose first operand is in memory 2013-08-23 11:27:19 +00:00
int-cmp-08.ll [SystemZ] Add unsigned compare-and-branch instructions 2013-09-18 09:56:40 +00:00
int-cmp-09.ll [SystemZ] Prefer comparisons with zero 2013-08-01 10:29:45 +00:00
int-cmp-10.ll [SystemZ] Add unsigned compare-and-branch instructions 2013-09-18 09:56:40 +00:00
int-cmp-11.ll [SystemZ] Prefer comparisons with zero 2013-08-01 10:29:45 +00:00
int-cmp-12.ll [SystemZ] Add unsigned compare-and-branch instructions 2013-09-18 09:56:40 +00:00
int-cmp-13.ll
int-cmp-14.ll
int-cmp-15.ll
int-cmp-16.ll
int-cmp-17.ll
int-cmp-18.ll
int-cmp-19.ll
int-cmp-20.ll [SystemZ] Add unsigned compare-and-branch instructions 2013-09-18 09:56:40 +00:00
int-cmp-21.ll
int-cmp-22.ll [SystemZ] Prefer comparisons with zero 2013-08-01 10:29:45 +00:00
int-cmp-23.ll
int-cmp-24.ll
int-cmp-25.ll
int-cmp-26.ll
int-cmp-27.ll
int-cmp-28.ll
int-cmp-29.ll
int-cmp-30.ll
int-cmp-31.ll
int-cmp-32.ll [SystemZ] Prefer comparisons with zero 2013-08-01 10:29:45 +00:00
int-cmp-33.ll
int-cmp-34.ll [SystemZ] Prefer comparisons with zero 2013-08-01 10:29:45 +00:00
int-cmp-35.ll
int-cmp-36.ll [SystemZ] Try reversing comparisons whose first operand is in memory 2013-08-23 11:27:19 +00:00
int-cmp-37.ll [SystemZ] Add unsigned compare-and-branch instructions 2013-09-18 09:56:40 +00:00
int-cmp-38.ll [SystemZ] Try reversing comparisons whose first operand is in memory 2013-08-23 11:27:19 +00:00
int-cmp-39.ll [SystemZ] Try reversing comparisons whose first operand is in memory 2013-08-23 11:27:19 +00:00
int-cmp-40.ll [SystemZ] Add unsigned compare-and-branch instructions 2013-09-18 09:56:40 +00:00
int-cmp-41.ll [SystemZ] Try reversing comparisons whose first operand is in memory 2013-08-23 11:27:19 +00:00
int-cmp-42.ll [SystemZ] Try reversing comparisons whose first operand is in memory 2013-08-23 11:27:19 +00:00
int-cmp-43.ll [SystemZ] Try reversing comparisons whose first operand is in memory 2013-08-23 11:27:19 +00:00
int-cmp-44.ll [SystemZ] Add support for TMHH, TMHL, TMLH and TMLL 2013-08-28 10:31:43 +00:00
int-cmp-45.ll [SystemZ] Reuse CC results for integer comparisons with zero 2013-08-01 10:39:40 +00:00
int-cmp-46.ll [SystemZ] Try to fold shifts into TMxx 2013-09-13 09:09:50 +00:00
int-cmp-47.ll [SystemZ] Try to fold shifts into TMxx 2013-09-13 09:09:50 +00:00
int-cmp-48.ll [SystemZ] Add TM and TMY 2013-09-10 10:20:32 +00:00
int-const-01.ll
int-const-02.ll
int-const-03.ll [SystemZ] Prefer LHI;ST... over LAY;MV... 2013-08-23 11:18:53 +00:00
int-const-04.ll [SystemZ] Prefer LHI;ST... over LAY;MV... 2013-08-23 11:18:53 +00:00
int-const-05.ll [SystemZ] Prefer LHI;ST... over LAY;MV... 2013-08-23 11:18:53 +00:00
int-const-06.ll [SystemZ] Prefer LHI;ST... over LAY;MV... 2013-08-23 11:18:53 +00:00
int-conv-01.ll
int-conv-02.ll
int-conv-03.ll
int-conv-04.ll
int-conv-05.ll
int-conv-06.ll
int-conv-07.ll
int-conv-08.ll
int-conv-09.ll [SystemZ] Add support for sibling calls 2013-08-19 12:42:31 +00:00
int-conv-10.ll [SystemZ] Add support for sibling calls 2013-08-19 12:42:31 +00:00
int-conv-11.ll [SystemZ] Add register zero extensions involving at least one high word 2013-10-01 12:49:07 +00:00
int-div-01.ll
int-div-02.ll
int-div-03.ll
int-div-04.ll
int-div-05.ll
int-div-06.ll [SystemZ] Define remainig *MUL_LOHI patterns 2013-08-21 09:34:56 +00:00
int-move-01.ll
int-move-02.ll
int-move-03.ll
int-move-04.ll
int-move-05.ll
int-move-06.ll
int-move-07.ll
int-move-08.ll [SystemZ] Improve handling of PC-relative addresses 2013-09-27 15:14:04 +00:00
int-move-09.ll
int-mul-01.ll
int-mul-02.ll
int-mul-03.ll
int-mul-04.ll
int-mul-05.ll
int-mul-06.ll
int-mul-07.ll
int-mul-08.ll [SystemZ] Define remainig *MUL_LOHI patterns 2013-08-21 09:34:56 +00:00
int-neg-01.ll
int-neg-02.ll [SystemZ] Add negative integer absolute (load negative) 2013-08-19 12:56:58 +00:00
int-sub-01.ll
int-sub-02.ll
int-sub-03.ll
int-sub-04.ll
int-sub-05.ll
int-sub-06.ll
int-sub-07.ll
int-sub-08.ll
int-sub-09.ll
la-01.ll
la-02.ll
la-03.ll
la-04.ll
lit.local.cfg [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
loop-01.ll [SystemZ] Use BRCT and BRCTG to eliminate add-&-compare sequences 2013-08-05 11:23:46 +00:00
memchr-01.ll [SystemZ] Use SRST to optimize memchr 2013-08-20 09:38:48 +00:00
memchr-02.ll [SystemZ] Use SRST to optimize memchr 2013-08-20 09:38:48 +00:00
memcmp-01.ll [SystemZ] Extend memcmp support to all constant lengths 2013-08-28 09:01:51 +00:00
memcmp-02.ll [SystemZ] Extend memcmp support to all constant lengths 2013-08-28 09:01:51 +00:00
memcpy-01.ll [SystemZ] Extend memcpy and memset support to all constant lengths 2013-08-27 09:54:29 +00:00
memcpy-02.ll TBAA: handle scalar TBAA format and struct-path aware TBAA format. 2013-09-27 18:34:27 +00:00
memset-01.ll [SystemZ] Extend memcpy and memset support to all constant lengths 2013-08-27 09:54:29 +00:00
memset-02.ll [SystemZ] Extend memcpy and memset support to all constant lengths 2013-08-27 09:54:29 +00:00
memset-03.ll [SystemZ] Use XC for a memset of 0 2013-09-06 10:25:07 +00:00
memset-04.ll [SystemZ] Extend memcpy and memset support to all constant lengths 2013-08-27 09:54:29 +00:00
or-01.ll
or-02.ll
or-03.ll
or-04.ll
or-05.ll
or-06.ll
or-07.ll
or-08.ll [SystemZ] Add NC, OC and XC 2013-09-05 10:36:45 +00:00
prefetch-01.ll [SystemZ] Add basic prefetch support 2013-08-23 11:36:42 +00:00
risbg-01.ll [SystemZ] Postpone NI->RISBG conversion to convertToThreeAddress() 2013-07-31 11:36:35 +00:00
risbg-02.ll
rnsbg-01.ll
rosbg-01.ll
rxsbg-01.ll
setcc-01.ll [SystemZ] Improve handling of SETCC 2013-10-16 11:10:55 +00:00
setcc-02.ll [SystemZ] Improve handling of SETCC 2013-10-16 11:10:55 +00:00
shift-01.ll
shift-02.ll
shift-03.ll
shift-04.ll
shift-05.ll
shift-06.ll
shift-07.ll
shift-08.ll
shift-09.ll
shift-10.ll Replace sra with srl if a single sign bit is required 2013-10-17 11:16:57 +00:00
spill-01.ll
strcmp-01.ll [SystemZ] Use CLST to implement strcmp 2013-08-16 11:21:54 +00:00
strcmp-02.ll [SystemZ] Use CLST to implement strcmp 2013-08-16 11:21:54 +00:00
strcpy-01.ll [SystemZ] Use MVST to implement strcpy and stpcpy 2013-08-16 11:29:37 +00:00
strlen-01.ll [SystemZ] Use SRST to implement strlen and strnlen 2013-08-16 11:41:43 +00:00
strlen-02.ll [SystemZ] Use SRST to implement strlen and strnlen 2013-08-16 11:41:43 +00:00
tls-01.ll
unaligned-01.ll [SystemZ] Set usaAA to true 2013-10-28 13:53:37 +00:00
xor-01.ll
xor-02.ll
xor-03.ll
xor-04.ll
xor-05.ll
xor-06.ll
xor-07.ll
xor-08.ll [SystemZ] Add NC, OC and XC 2013-09-05 10:36:45 +00:00