mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 20:44:41 +02:00
6686791: Side effect in NumberFormat tests with -server -Xcomp
Optimization in CmpPNode::sub() removed the valid compare instruction because of false positive answer from detect_dominating_control(). Reviewed-by: jrose, sgoldman
This commit is contained in:
parent
997563be5d
commit
df8fc19aac
4 changed files with 183 additions and 28 deletions
|
@ -817,6 +817,12 @@ public:
|
|||
// for the transformations to happen.
|
||||
bool has_special_unique_user() const;
|
||||
|
||||
// Skip Proj and CatchProj nodes chains. Check for Null and Top.
|
||||
Node* find_exact_control(Node* ctrl);
|
||||
|
||||
// Check if 'this' node dominates or equal to 'sub'.
|
||||
bool dominates(Node* sub, Node_List &nlist);
|
||||
|
||||
protected:
|
||||
bool remove_dead_region(PhaseGVN *phase, bool can_reshape);
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue