aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2009-12-16 18:55:53 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2009-12-16 18:55:53 +0000
commitec20a88a577ec4ea8767ad88991c00df86573072 (patch)
tree0dbabf8478fce508fd2fa443f12120625b08a767 /clang/lib/Frontend/CompilerInvocation.cpp
parent4f4b18621561084bb55a38ee808d30009dd8fec1 (diff)
downloadllvm-ec20a88a577ec4ea8767ad88991c00df86573072.zip
llvm-ec20a88a577ec4ea8767ad88991c00df86573072.tar.gz
llvm-ec20a88a577ec4ea8767ad88991c00df86573072.tar.bz2
Reuse lowered phi nodes.
Tail duplication produces lots of identical phi nodes in different basic blocks. Teach PHIElimination to reuse the join registers when lowering a phi node that is identical to an already lowered node. This saves virtual registers, and more importantly it avoids creating copies the the coalescer doesn't know how to eliminate. Teach LiveIntervalAnalysis about the phi joins with multiple uses. This patch significantly reduces code size produced by -pre-regalloc-taildup. llvm-svn: 91549
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions