Add -enable-aa-sched-mi, off by default, for AliasAnalysis inside MachineScheduler.
authorAndrew Trick <atrick@apple.com>
Tue, 15 May 2012 18:59:41 +0000 (18:59 +0000)
committerAndrew Trick <atrick@apple.com>
Tue, 15 May 2012 18:59:41 +0000 (18:59 +0000)
commiteb05b976e6e13fb0a8d1c45822dff67b0374e123
tree271d236aa630c50900af1c390c50b4cb246ee41f
parent41854aea66ade4dea16a80bc8ef7ddf6c379d21f
Add -enable-aa-sched-mi, off by default, for AliasAnalysis inside MachineScheduler.

This feature avoids creating edges in the scheduler's dependence graph
for non-aliasing memory operations according to whichever alias
analysis is available. It has been fully tested in Hexagon. Before
making this default, it needs to be extended to handle multiple
MachineMemOperands, compile time needs more evaluation, and
benchmarking on X86 and ARM is needed.

Patch by Sergei Larin!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156842 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/ScheduleDAGInstrs.cpp