mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-11 21:45:16 +00:00
2e307633f3
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 |
||
---|---|---|
.. | ||
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 | ||
AddrMode-bis-xr.ll | ||
AddrMode-mov-rx.ll | ||
AddrMode-mov-xr.ll | ||
asm-clobbers.ll | ||
bit.ll | ||
BranchSelector.ll | ||
byval.ll | ||
cc_args.ll | ||
cc_ret.ll | ||
DbgValueOtherTargets.test | ||
flt_rounds.ll | ||
fp.ll | ||
hwmult16.ll | ||
hwmult32.ll | ||
hwmultf5.ll | ||
indirectbr2.ll | ||
indirectbr.ll | ||
inline-asm.ll | ||
Inst8mi.ll | ||
Inst8mm.ll | ||
Inst8mr.ll | ||
Inst8ri.ll | ||
Inst8rm.ll | ||
Inst8rr.ll | ||
Inst16mi.ll | ||
Inst16mm.ll | ||
Inst16mr.ll | ||
Inst16ri.ll | ||
Inst16rm.ll | ||
Inst16rr.ll | ||
jumptable.ll | ||
libcalls.ll | ||
lit.local.cfg | ||
memset.ll | ||
misched-msp430.ll | ||
mult-alt-generic-msp430.ll | ||
postinc.ll | ||
promote-i8-mul.ll | ||
select-use-sr.ll | ||
setcc.ll | ||
shifts.ll | ||
spill-to-stack.ll | ||
struct_layout.ll | ||
struct-return.ll | ||
transient-stack-alignment.ll | ||
umulo-16.ll | ||
vararg.ll |