OSDN Git Service

Add a -regalloc=default option that chooses a register allocator based on the -O
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 27 May 2010 23:57:25 +0000 (23:57 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 27 May 2010 23:57:25 +0000 (23:57 +0000)
commit700bfada6375546f82000bdd1b4cdbe87beebea5
tree08201eccc3aed612163606f2bb3461be5c87d717
parent1fa1c7b23bd06d2c1b37aa0f0cf7740fa6759e0b
Add a -regalloc=default option that chooses a register allocator based on the -O
optimization level.

This only really affects llc for now because both the llvm-gcc and clang front
ends override the default register allocator. I intend to remove that code later.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104904 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/Passes.h
lib/CodeGen/LLVMTargetMachine.cpp
lib/CodeGen/Passes.cpp
test/CodeGen/ARM/2010-05-20-NEONSpillCrash.ll
test/CodeGen/X86/2008-05-21-CoalescerBug.ll
test/CodeGen/X86/fast-isel-bc.ll
test/CodeGen/X86/inline-asm-tied.ll