Displaying 1 result from an estimated 1 matches for "uniskip".
2017 Aug 31
3
[RFC] Value Range Based Optimization Opportunity in LLVM
...ReturningArbitraryi64(p);
len = LENGTH(c);
} else {
len = LENGTH(c);
}
#endif
// ...
return len;
}
In this case, we see that creating an else block and replicating the
return statement in both the if and else branch (like the code snippet
guarded by the #else) enables the macro UNISKIP in the else branch to be
optimized.
Most of the examples we have come up with so far are centered around value
ranges along the conditional branches. When the range of values a symbol
can have along different branches is provably different, opportunities for
optimization may arise. However,...