Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8194993

Loop Strip Mining has some leftover debugging code

XMLWordPrintable

    • b40

        In PhaseIdealLoop::create_outer_strip_mined_loop():

                    while (be->is_Store() && old_new[be->_idx] != NULL) {
                      ShouldNotReachHere();
                      be = be->in(MemNode::Memory);
                    }

        and
                  while (be->is_Store() && old_new[be->_idx] != NULL) {
                    ShouldNotReachHere();
                    be = be->in(MemNode::Memory);
                  }

        This code would trigger with sunk stores and stores on backedge. I couldn't trigger it with a test case and it wasn't caught by testing. Still, if this happens in the wild it would cause a crash.

              roland Roland Westrelin
              roland Roland Westrelin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: