1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 20:43:44 +02:00
llvm-mirror/test/CodeGen/MSP430
Nirav Dave 2e307633f3 [DAG] Improve Aliasing of operations to static alloca
Re-recommiting after landing DAG extension-crash fix.

Recommiting after adding check to avoid miscomputing alias information
on addresses of the same base but different subindices.

Memory accesses offset from frame indices may alias, e.g., we
may merge write from function arguments passed on the stack when they
are contiguous. As a result, when checking aliasing, we consider the
underlying frame index's offset from the stack pointer.

Static allocs are realized as stack objects in SelectionDAG, but its
offset is not set until post-DAG causing DAGCombiner's alias check to
consider access to static allocas to frequently alias. Modify isAlias
to consider access between static allocas and access from other frame
objects to be considered aliasing.

Many test changes are included here. Most are fixes for tests which
indirectly relied on our aliasing ability and needed to be modified to
preserve their original intent.

The remaining tests have minor improvements due to relaxed
ordering. The exception is CodeGen/X86/2011-10-19-widen_vselect.ll
which has a minor degradation dispite though the pre-legalized DAG is
improved.

Reviewers: rnk, mkuper, jonpa, hfinkel, uweigand

Reviewed By: rnk

Subscribers: sdardis, nemanjai, javed.absar, llvm-commits

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

llvm-svn: 308350
2017-07-18 20:06:24 +00:00
..
2009-05-10-CyclicDAG.ll
2009-05-17-Rot.ll
2009-05-17-Shift.ll
2009-05-19-DoubleSplit.ll
2009-08-25-DynamicStackAlloc.ll
2009-09-18-AbsoluteAddr.ll
2009-10-10-OrImpDef.ll
2009-11-08-InvalidResNo.ll
2009-11-20-NewNode.ll
2009-12-21-FrameAddr.ll
2009-12-22-InlineAsm.ll
2010-05-01-CombinerAnd.ll
AddrMode-bis-rx.ll [MSP430] Add SRet support to MSP430 target 2017-03-02 20:25:10 +00:00
AddrMode-bis-xr.ll [MSP430] Add SRet support to MSP430 target 2017-03-02 20:25:10 +00:00
AddrMode-mov-rx.ll [MSP430] Add SRet support to MSP430 target 2017-03-02 20:25:10 +00:00
AddrMode-mov-xr.ll [MSP430] Add SRet support to MSP430 target 2017-03-02 20:25:10 +00:00
asm-clobbers.ll
bit.ll [MSP430] Add SRet support to MSP430 target 2017-03-02 20:25:10 +00:00
BranchSelector.ll Fix PR27500: on MSP430 the branch destination offset is measured in words, not bytes. 2016-11-08 17:19:59 +00:00
byval.ll [MSP430] Add SRet support to MSP430 target 2017-03-02 20:25:10 +00:00
cc_args.ll [MSP430] Add SRet support to MSP430 target 2017-03-02 20:25:10 +00:00
cc_ret.ll [MSP430] Add SRet support to MSP430 target 2017-03-02 20:25:10 +00:00
DbgValueOtherTargets.test
flt_rounds.ll [SelectionDAGBuilder] Support llvm.flt.rounds on targets where i32 is not legal 2016-10-10 20:45:15 +00:00
fp.ll
hwmult16.ll [MSP430] Add subtarget features for hardware multiplier. 2017-05-23 21:49:42 +00:00
hwmult32.ll [MSP430] Add subtarget features for hardware multiplier. 2017-05-23 21:49:42 +00:00
hwmultf5.ll [MSP430] Add subtarget features for hardware multiplier. 2017-05-23 21:49:42 +00:00
indirectbr2.ll [MSP430] Add SRet support to MSP430 target 2017-03-02 20:25:10 +00:00
indirectbr.ll
inline-asm.ll
Inst8mi.ll
Inst8mm.ll
Inst8mr.ll [MSP430] Add SRet support to MSP430 target 2017-03-02 20:25:10 +00:00
Inst8ri.ll [MSP430] Add SRet support to MSP430 target 2017-03-02 20:25:10 +00:00
Inst8rm.ll [MSP430] Add SRet support to MSP430 target 2017-03-02 20:25:10 +00:00
Inst8rr.ll [MSP430] Add SRet support to MSP430 target 2017-03-02 20:25:10 +00:00
Inst16mi.ll
Inst16mm.ll Rewrite areNonVolatileConsecutiveLoads to use BaseIndexOffset 2017-07-05 01:21:23 +00:00
Inst16mr.ll [MSP430] Add SRet support to MSP430 target 2017-03-02 20:25:10 +00:00
Inst16ri.ll [MSP430] Add SRet support to MSP430 target 2017-03-02 20:25:10 +00:00
Inst16rm.ll [MSP430] Add SRet support to MSP430 target 2017-03-02 20:25:10 +00:00
Inst16rr.ll [MSP430] Add SRet support to MSP430 target 2017-03-02 20:25:10 +00:00
jumptable.ll [MSP430] Generate EABI-compliant libcalls 2017-05-11 19:56:14 +00:00
libcalls.ll [MSP430] Generate EABI-compliant libcalls 2017-05-11 19:56:14 +00:00
lit.local.cfg
memset.ll [MSP430] Add SRet support to MSP430 target 2017-03-02 20:25:10 +00:00
misched-msp430.ll
mult-alt-generic-msp430.ll
postinc.ll
promote-i8-mul.ll [MSP430] Generate EABI-compliant libcalls 2017-05-11 19:56:14 +00:00
select-use-sr.ll [MSP430] Fix PR32769: Select8 and Select16 need to have SR in Uses. 2017-04-26 00:33:59 +00:00
setcc.ll [MSP430] Add SRet support to MSP430 target 2017-03-02 20:25:10 +00:00
shifts.ll
spill-to-stack.ll
struct_layout.ll [MSP430] Fix data layout string. 2017-06-23 21:11:45 +00:00
struct-return.ll [MSP430] Add SRet support to MSP430 target 2017-03-02 20:25:10 +00:00
transient-stack-alignment.ll
umulo-16.ll [CodeGen] Fix result type for SMULO/UMULO legalization 2016-12-06 22:49:36 +00:00
vararg.ll [DAG] Improve Aliasing of operations to static alloca 2017-07-18 20:06:24 +00:00