CriticalAntiDepBreaker is no longer needed for armv7 scheduling.
authorAndrew Trick <atrick@apple.com>
Wed, 25 Sep 2013 00:26:16 +0000 (00:26 +0000)
committerAndrew Trick <atrick@apple.com>
Wed, 25 Sep 2013 00:26:16 +0000 (00:26 +0000)
commitdfca6eec3171802d6fcb091da01604ef4420fb3b
treeb98f73a5d345d399923c931a8d1f5d0e7be11f7e
parenta26f4283826894ac00665f9d24fa99cacc5192ab
CriticalAntiDepBreaker is no longer needed for armv7 scheduling.

This is being disabled because it is no longer needed for
performance. It is only used by postRAscheduler which is also planned
for removal, and it is implemented with an out-dated view of register
liveness. It consideres aliases instead of register units, assumes
valid kill flags, and assumes implicit uses on partial register
defs. Kill flags and implicit operands are error prone and impossible
to verify. We should gradually eliminate dependence on them in the
postRA phases.

Targets that still benefit from this should move to the MI
scheduler. If that doesn't solve the problem, then we should add a
hook to regalloc to optimize reload placement.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191348 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMSubtarget.cpp
test/CodeGen/ARM/2011-10-26-memset-inline.ll
test/CodeGen/ARM/2011-10-26-memset-with-neon.ll
test/CodeGen/ARM/vstlane.ll