diff options
| author | 2015-12-14 11:44:01 +0000 | |
|---|---|---|
| committer | 2016-01-28 15:50:27 +0000 | |
| commit | 74eb1b264691c4eb399d0858015a7fc13c476ac6 (patch) | |
| tree | 0b6fc4f3003d50bf6c388601013cdfc606e53859 /compiler/optimizing/optimizing_compiler_stats.h | |
| parent | 75fd2a8ab9b4aff59308034da26eb4986d10fa9e (diff) | |
ART: Implement HSelect
This patch adds a new HIR instruction to Optimizing. HSelect returns
one of two inputs based on the outcome of a condition.
This is only initial implementation which:
- defines the new instruction,
- repurposes BooleanSimplifier to emit it,
- extends InstructionSimplifier to statically resolve it,
- updates existing code and tests accordingly.
Code generators currently emit fallback if/then/else code and will be
updated in follow-up CLs to use platform-specific conditional moves
when possible.
Change-Id: Ib61b17146487ebe6b55350c2b589f0b971dcaaee
Diffstat (limited to 'compiler/optimizing/optimizing_compiler_stats.h')
0 files changed, 0 insertions, 0 deletions