[PBQP] Teach PassConfig to tell if the default register allocator is used.
authorArnaud A. de Grandmaison <arnaud.degrandmaison@arm.com>
Tue, 21 Oct 2014 20:47:22 +0000 (20:47 +0000)
committerArnaud A. de Grandmaison <arnaud.degrandmaison@arm.com>
Tue, 21 Oct 2014 20:47:22 +0000 (20:47 +0000)
commitde246de95876149b4f4086819968686462a4fd09
tree4341a765fd78830ba99c085ab895638640adb91d
parent2256b352be848c0a1cbcf6855f58e99b993db261
[PBQP] Teach PassConfig to tell if the default register allocator is used.

This enables targets to adapt their pass pipeline to the register
allocator in use. For example, with the AArch64 backend, using PBQP
with the cortex-a57, the FPLoadBalancing pass is no longer necessary.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220321 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/Passes.h
lib/CodeGen/Passes.cpp
lib/Target/AArch64/AArch64TargetMachine.cpp
lib/Target/AArch64/AArch64TargetMachine.h
test/CodeGen/AArch64/PBQP.ll