mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 04:24:49 +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
|
@ -70,7 +70,7 @@ public:
|
|||
static Node *optimize_simple_memory_chain(Node *mchain, const TypePtr *t_adr, PhaseGVN *phase);
|
||||
static Node *optimize_memory_chain(Node *mchain, const TypePtr *t_adr, PhaseGVN *phase);
|
||||
// This one should probably be a phase-specific function:
|
||||
static bool detect_dominating_control(Node* dom, Node* sub);
|
||||
static bool all_controls_dominate(Node* dom, Node* sub);
|
||||
|
||||
// Is this Node a MemNode or some descendent? Default is YES.
|
||||
virtual Node *Ideal_DU_postCCP( PhaseCCP *ccp );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue