summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/Stmt.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-07-04 04:54:22 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-07-04 04:54:22 +0000
commitc74d9378e1b03d60c1ac428572f30361bd50bd6b (patch)
tree3d2add427c8d441368b9c05cdc084fbe8a0c0d0a /clang/lib/AST/Stmt.cpp
parentf9f012ea88aa630ae8331e26089b9885fdf9c110 (diff)
downloadbcm5719-llvm-c74d9378e1b03d60c1ac428572f30361bd50bd6b.tar.gz
bcm5719-llvm-c74d9378e1b03d60c1ac428572f30361bd50bd6b.zip
Move early tail duplication earlier.
This fixes the issue noted in PR10251 where early tail dup of bbs with indirectbr would cause a bb to be duplicated into a loop preheader and then into its predecessors, creating phi nodes with identical operands just before register allocation. This helps with jsinterp.o size (__TEXT goes from 163568 to 126656) and a bit with performance 1.005x faster on sunspider (jits still enabled). The result on webkit with the jit disabled is more significant: 1.021x faster. llvm-svn: 134372
Diffstat (limited to 'clang/lib/AST/Stmt.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud