1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 13:02:52 +02:00
llvm-mirror/test/CodeGen/XCore
Nirav Dave 8c365b2ee8 [DAG] Improve Aliasing of operations to static alloca
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: 307546
2017-07-10 15:39:41 +00:00
..
2008-11-17-Shl64.ll
2009-01-08-Crash.ll
2009-01-14-Remat-Crash.ll
2009-03-27-v2f64-param.ll
2009-07-15-store192.ll
2010-02-25-LSR-Crash.ll
2011-01-31-DAGCombineBug.ll
2011-08-01-DynamicAllocBug.ll
addsub64.ll
aliases.ll
align.ll
alignment.ll
ashr.ll
atomic.ll
basictest.ll
bigstructret.ll
byVal.ll
call.ll
codemodel.ll
constants.ll
DbgValueOtherTargets.test
dwarf_debug.ll
epilogue_prologue.ll AsmPrinter: mark the beginning and the end of a function in verbose mode 2017-05-23 21:22:16 +00:00
events.ll
exception.ll
float-intrinsics.ll
fneg.ll DAG: Fold fneg into compare with constant into the constant 2017-01-30 17:57:28 +00:00
getid.ll
globals.ll
indirectbr.ll
inline-asm.ll
ladd_lsub_combine.ll
licm-ldwcp.ll
linkage.ll
lit.local.cfg
llvm-intrinsics.ll
load.ll
memcpy.ll
misc-intrinsics.ll
mkmsk.ll
mul64.ll
offset_folding.ll
private.ll
ps-intrinsics.ll
resources_combine.ll
resources.ll
scavenging.ll
section-name.ll Disallow redefinition of section symbols. 2017-02-24 21:44:58 +00:00
sext.ll
shedulingPreference.ll
sr-intrinsics.ll
store.ll
switch_long.ll
switch.ll
threads.ll
tls.ll
trampoline.ll
trap.ll
unaligned_load.ll
unaligned_store_combine.ll
unaligned_store.ll
varargs.ll [DAG] Improve Aliasing of operations to static alloca 2017-07-10 15:39:41 +00:00
zext.ll
zextfree.ll