mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 12:04:39 +02:00
8072422: Cleanup: Remove some unused flags/code in loop optimizations
Remove unused flags, change test using them. Reviewed-by: kvn, twisti
This commit is contained in:
parent
fa667c5409
commit
69d14c811b
8 changed files with 179 additions and 373 deletions
|
@ -661,8 +661,7 @@ void Parse::do_all_blocks() {
|
|||
// (Note that dead locals do not get phis built, ever.)
|
||||
ensure_phis_everywhere();
|
||||
|
||||
if (block->is_SEL_head() &&
|
||||
(UseLoopPredicate || LoopLimitCheck)) {
|
||||
if (block->is_SEL_head() && UseLoopPredicate) {
|
||||
// Add predicate to single entry (not irreducible) loop head.
|
||||
assert(!block->has_merged_backedge(), "only entry paths should be merged for now");
|
||||
// Need correct bci for predicate.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue