[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)
commita61262f989d802b3a38e965a50159274a6d154fa
treed16dcddcd54d4db0e606165243aa8bf76497dc64
parent098f898fd2bfa938cc9dc02197be557ef7b18af3
[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.

llvm-svn: 220321
llvm/include/llvm/CodeGen/Passes.h
llvm/lib/CodeGen/Passes.cpp
llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
llvm/lib/Target/AArch64/AArch64TargetMachine.h
llvm/test/CodeGen/AArch64/PBQP.ll