[RegAllocGreedy] Provide a subtarget hook to disable the local reassignment
authorQuentin Colombet <qcolombet@apple.com>
Wed, 2 Jul 2014 18:32:04 +0000 (18:32 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Wed, 2 Jul 2014 18:32:04 +0000 (18:32 +0000)
commit5599fde88e00ef850190c59e050fa78e6643b913
tree01125a5f6d5f845f931519eb2a808ef925386088
parentf9b6d0373a5f2485c7ebab37f5b1215145951077
[RegAllocGreedy] Provide a subtarget hook to disable the local reassignment
heuristic.
By default, no functionality change.
This is a follow-up of r212099.

This hook provides a finer grain to control the optimization.

<rdar://problem/17444599>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212204 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetSubtargetInfo.h
lib/CodeGen/RegAllocGreedy.cpp
lib/Target/TargetSubtargetInfo.cpp