aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86CodeEmitter.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-07-16 16:38:12 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-07-16 16:38:12 +0000
commita52072e182970fa21028cb83232d3608cdb26a5c (patch)
tree7b5716d9051668e7352d07d00e01192fa4054d8b /lib/Target/X86/X86CodeEmitter.cpp
parent47fa2148960037ae8e881420c54bc3ddc68a55e8 (diff)
downloadexternal_llvm-a52072e182970fa21028cb83232d3608cdb26a5c.zip
external_llvm-a52072e182970fa21028cb83232d3608cdb26a5c.tar.gz
external_llvm-a52072e182970fa21028cb83232d3608cdb26a5c.tar.bz2
Allow x87 FP registers to be alive globally in a function.
FP_REG_KILL instructions are still inserted, but can be disabled by passing -live-x87 to llc. The X87FPRegKillInserterPass is going to be removed shortly. CFG edges are partioned into bundles where the x87 stack must be allocated identically. Code is insertad at the end of each basic block that shuffles the live FP registers to match the outgoing bundles expectations. This fix is in preparation for some upcoming register allocator improvements that may extend the live range of registers beyond a basic block, similar to LICM. It also provides a nice runtime speedup if you are building with -mfpmath=387. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108529 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86CodeEmitter.cpp')
0 files changed, 0 insertions, 0 deletions