Subzero: Allow per-method controls.
Several aspects of compilation can now be controlled with fine per-function granularity:
- Focus -timing on individual functions
- Only translate certain functions
- Enable verbosity only for certain functions
- Force O2 translation for certain functions (with Om1 default)
In addition, -test-status limits the output of -verbose=status. This is just used to enable lit testing of the RangeSpec class.
The main motivation here is to enable bisection debugging of a PNaCl application running in the browser. The initial use is to control O2 versus Om1, and could be extended to control things like address mode inference and advanced phi lowering, possibly even controlling at the granularity of the instruction numbers.
BUG= https://bugs.chromium.org/p/nativeclient/issues/detail?id=4370
R=eholk@chromium.org, jpp@chromium.org
Review URL: https://codereview.chromium.org/1900543002 .
Showing
src/IceRangeSpec.cpp
0 → 100644
src/IceRangeSpec.h
0 → 100644
tests_lit/llvm2ice_tests/rangespec.ll
0 → 100644
Please
register
or
sign in
to comment