Fix missing goto block when adding edges back to the unrolled header - #6693
Conversation
b183cc7 to
46a0bb9
Compare
|
@hzongaro @vijaysun-omr May I ask you to review this change? Thank you! I'm keeping |
|
I feel a more descriptive explanation of the problem and how it is being fixed at a high level may be useful. |
|
@vijaysun-omr I added more details to the original issue eclipse-openj9/openj9#15764 (comment) using the block that shows the issue as an example with trace logs. |
|
@vijaysun-omr @hzongaro Just following up and see if there are more review comments before I do another push to address the above comment |
|
Annabelle @a7ehuo, I don't have any additional review comments. |
|
@a7ehuo : are there any more pushes coming? @hzongaro @vijaysun-omr : once Annabelle confirms or pushes final commit can you formally approve your comments? |
Yes, I have one more commit to address the above comment. I wasn't sure if @vijaysun-omr would have any further comment. If not, I'll push another commit shortly |
When `newTo` is different from `newFromNextBlock` in fall into case, goto block needs to be added besides of the cfg edges because the `newTo` block is not the fall through block. Fixes: eclipse-openj9/openj9#15764 Signed-off-by: Annabelle Huo <Annabelle.Huo@ibm.com>
46a0bb9 to
ddc6a80
Compare
|
@vijaysun-omr @hzongaro Just pushed another commit ddc6a80 to address the comment. Ready for another review. Thanks! |
hzongaro
left a comment
There was a problem hiding this comment.
I think the changes look good
|
I found more information on why eclipse-openj9/openj9#15764 happens so far only on the modified class file. I need more time to assess if this fix is the ideal fix for this bug. Change to |
|
@vijaysun-omr I added a clarification in the original issue after some offline discussion with @jdmpapin. In short, the issue hits the case where multiple cloned blocks need to jump to the loop entry which is a fall through of the original block. This case is unexpected by |
|
Thanks for that clarification, it addresses my question of why this is so rare. The rare part is that we have the fall through into loop header and we are cloning the predecessor that is falling through. |
|
Jenkins build all |
|
zos_390-64 failed with the following error. It looks like an infrastructure issue |
|
jenkins build zos |
|
@AdamBrousseau The zos has been failing consistently with |
|
The same failure was reported preivously in #6672 (comment) as well |
|
jenkins build zos |
When
newTois different fromnewFromNextBlockin fall into case, goto block needs to be added besidesof the cfg edges because the
newToblock is not the fall through block.Fixes: eclipse-openj9/openj9#15764
Signed-off-by: Annabelle Huo Annabelle.Huo@ibm.com