• bmeurer's avatar
    [turbofan] Optimize certain chains of Branch into a Switch. · acd9c46c
    bmeurer authored
    This adds a new ControlFlowOptimizer that - for now - recognizes chains
    of Branches generated by the SwitchBuilder for a subset of javascript
    switches into Switch nodes. Those Switch nodes are then lowered to
    either table or lookup switches.
    
    Also rename Case to IfValue (and introduce IfDefault) for consistency.
    
    BUG=v8:3872
    LOG=n
    
    Review URL: https://codereview.chromium.org/931623002
    
    Cr-Commit-Position: refs/heads/master@{#26691}
    acd9c46c
Name
Last commit
Last update
..
embenchen Loading commit data...
do-while-false.js Loading commit data...
do-while.js Loading commit data...
float32array-negative-offset.js Loading commit data...
float32array-outofbounds.js Loading commit data...
float32array-store-div.js Loading commit data...
float64array-negative-offset.js Loading commit data...
float64array-outofbounds.js Loading commit data...
float64array-store-div.js Loading commit data...
float64mul.js Loading commit data...
if-folding.js Loading commit data...
if-reduction.js Loading commit data...
if-tonumber.js Loading commit data...
infinite-loops-taken.js Loading commit data...
infinite-loops.js Loading commit data...
int16array-negative-offset.js Loading commit data...
int16array-outofbounds.js Loading commit data...
int32-div.js Loading commit data...
int32-mod.js Loading commit data...
int32-mul.js Loading commit data...
int32-tmod.js Loading commit data...
int32-udiv.js Loading commit data...
int32-umod.js Loading commit data...
int32array-constant-key.js Loading commit data...
int32array-negative-offset.js Loading commit data...
int32array-outofbounds.js Loading commit data...
int32array-unaligned.js Loading commit data...
int32div.js Loading commit data...
int32mod-constant.js Loading commit data...
int32mod.js Loading commit data...
int32modb.js Loading commit data...
int8array-negative-offset.js Loading commit data...
math-abs.js Loading commit data...
math-ceil.js Loading commit data...
math-floor.js Loading commit data...
math-fround.js Loading commit data...
redundancy1.js Loading commit data...
redundancy2.js Loading commit data...
sign-extend.js Loading commit data...
switch.js Loading commit data...
uint32-less-than-shift.js Loading commit data...
uint32div.js Loading commit data...
uint32mod-constant.js Loading commit data...
uint32mod.js Loading commit data...
uint8array-outofbounds.js Loading commit data...
word32and.js Loading commit data...
word32ror.js Loading commit data...
zero-extend.js Loading commit data...