Miscellaneous optimization options for LLVM backend.
commitcea46ada56a8b2d4f77dfda09738635596d89f51
authorMaksim Panchenko <maks@fb.com>
Wed, 22 Apr 2015 21:33:23 +0000 (22 14:33 -0700)
committerhhvm-bot <hhvm-bot@fb.com>
Wed, 22 Apr 2015 22:00:41 +0000 (22 15:00 -0700)
tree33daaa85dc651a93742e50dd2cc2afed11291343
parenta85632e3d1728172aeff539ba7220be0714126c1
Miscellaneous optimization options for LLVM backend.

Summary: Add a full set of module passes that closely correspond to clang's and
opt's "-O2", and additional options to control vectorizers and
load-combine.

Reviewed By: @swtaarrs

Differential Revision: D2011480
hphp/runtime/base/runtime-option.cpp
hphp/runtime/base/runtime-option.h
hphp/runtime/vm/jit/vasm-llvm.cpp