United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6468406 PhiNode Identity & Ideal must find the same unique input patterns
JDK-6468406 : PhiNode Identity & Ideal must find the same unique input patterns

Details
Type:
Bug
Submit Date:
2006-09-07
Status:
Resolved
Updated Date:
2010-04-02
Project Name:
JDK
Resolved Date:
2006-11-14
Component:
hotspot
OS:
solaris_9
Sub-Component:
compiler
CPU:
sparc
Priority:
P4
Resolution:
Fixed
Affected Versions:
5.0
Fixed Versions:
hs10 (b03)

Related Reports
Backport:
Backport:

Sub Tasks

Description
Mostly a refactoring of the code in PhiNode's Identity and Ideal
which identified phi's receiving a unique value on multiple control
paths, possibly masked by constaint casts and self loops.  The
factored code was encapsulated in a new method PhiNode::unique_input.
This fixes a bug caused by PhiNode Identity and Ideal not looking for
the same patterns.

Also, common code was factored out from PhiNode's Identity and Ideal
which looked for patterns like: x = (x==0)?0:x and generalized
to allow constraint casts in the pattern.

                                    

Comments
EVALUATION

See Description.
                                     
2006-09-07
SUGGESTED FIX

http://analemma.sfbay.sun.com/net/prt-archiver.sfbay/data/archived_workspaces/main/c2_baseline/2006/20060917112843.nips.phicast/workspace/webrevs/webrev-2006.09.17/index.html
                                     
2006-09-18



Hardware and Software, Engineered to Work Together