Enable most optimizations with loops
commit4b6609facc193ff49393aa4fb424376fe4ab0911
authorAlex Malyshev <alexanderm@fb.com>
Thu, 24 Jul 2014 18:10:26 +0000 (24 11:10 -0700)
committerfacebook-github-bot <githubbot@fb.com>
Tue, 12 Aug 2014 21:30:21 +0000 (12 14:30 -0700)
tree9d556a620e5732fc09b3f811199892bb100eaa38
parent68f28a7bc12ba577bcd9b05bed89341e622d6449
Enable most optimizations with loops

Summary: Currently disables refcount-opts and reoptimize for regions that have
loops. This is controlled by a new field in IRBuilder, which should go
away once those two passes are fixed.

Reviewed By: @ottoni

Differential Revision: D1484156
hphp/runtime/vm/jit/ir-builder.h
hphp/runtime/vm/jit/mc-generator.cpp
hphp/runtime/vm/jit/opt.cpp
hphp/runtime/vm/jit/translator.cpp