You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "George Timoshenko (JIRA)" <ji...@apache.org> on 2006/11/16 12:19:37 UTC

[jira] Created: (HARMONY-2210) unreachable nodes must be swept out after inliner

unreachable nodes must be swept out after inliner
-------------------------------------------------

                 Key: HARMONY-2210
                 URL: http://issues.apache.org/jira/browse/HARMONY-2210
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: George Timoshenko
         Attachments: test.java

inline pass of Jitrino.OPT::optimizer can produce unreachable nodes. (the testcase is attached)

some other passes can not work with such nodes in the CFG.
Attached testcase breaks on DCE pass after inliner. (run with -Xem:opt ):

java: /export/users2/gatimosh/HARMONY_SVN/trunk/working_vm/vm/jitrino/src/optimizer/deadcodeeliminator.cpp:554: void Jitrino::markLiveInst(Jitrino::Inst*, Jitrino::InstDeque&, Jitrino::BitSet&, Jitrino::BitSet&, uint8*, unsigned int, unsigned int): Assertion `def->getNode()' failed.


It is not so easy to teach inliner not to create unreachables.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2210) unreachable nodes must be swept out after inliner

Posted by "George Timoshenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2210?page=all ]

George Timoshenko updated HARMONY-2210:
---------------------------------------

    Attachment: test.java

> unreachable nodes must be swept out after inliner
> -------------------------------------------------
>
>                 Key: HARMONY-2210
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2210
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: George Timoshenko
>         Attachments: test.java
>
>
> inline pass of Jitrino.OPT::optimizer can produce unreachable nodes. (the testcase is attached)
> some other passes can not work with such nodes in the CFG.
> Attached testcase breaks on DCE pass after inliner. (run with -Xem:opt ):
> java: /export/users2/gatimosh/HARMONY_SVN/trunk/working_vm/vm/jitrino/src/optimizer/deadcodeeliminator.cpp:554: void Jitrino::markLiveInst(Jitrino::Inst*, Jitrino::InstDeque&, Jitrino::BitSet&, Jitrino::BitSet&, uint8*, unsigned int, unsigned int): Assertion `def->getNode()' failed.
> It is not so easy to teach inliner not to create unreachables.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2210) unreachable nodes must be swept out after inliner

Posted by "George Timoshenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2210?page=all ]

George Timoshenko updated HARMONY-2210:
---------------------------------------

    Attachment: HARMONY-2210.diff

a solution can be just to set 'uce' pass right after 'inline'

> unreachable nodes must be swept out after inliner
> -------------------------------------------------
>
>                 Key: HARMONY-2210
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2210
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: George Timoshenko
>         Attachments: HARMONY-2210.diff, test.java
>
>
> inline pass of Jitrino.OPT::optimizer can produce unreachable nodes. (the testcase is attached)
> some other passes can not work with such nodes in the CFG.
> Attached testcase breaks on DCE pass after inliner. (run with -Xem:opt ):
> java: /export/users2/gatimosh/HARMONY_SVN/trunk/working_vm/vm/jitrino/src/optimizer/deadcodeeliminator.cpp:554: void Jitrino::markLiveInst(Jitrino::Inst*, Jitrino::InstDeque&, Jitrino::BitSet&, Jitrino::BitSet&, uint8*, unsigned int, unsigned int): Assertion `def->getNode()' failed.
> It is not so easy to teach inliner not to create unreachables.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2210) unreachable nodes must be swept out after inliner

Posted by "George Timoshenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2210?page=all ]

George Timoshenko updated HARMONY-2210:
---------------------------------------

    Patch Info: [Patch Available]

> unreachable nodes must be swept out after inliner
> -------------------------------------------------
>
>                 Key: HARMONY-2210
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2210
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: George Timoshenko
>         Attachments: HARMONY-2210.diff, test.java
>
>
> inline pass of Jitrino.OPT::optimizer can produce unreachable nodes. (the testcase is attached)
> some other passes can not work with such nodes in the CFG.
> Attached testcase breaks on DCE pass after inliner. (run with -Xem:opt ):
> java: /export/users2/gatimosh/HARMONY_SVN/trunk/working_vm/vm/jitrino/src/optimizer/deadcodeeliminator.cpp:554: void Jitrino::markLiveInst(Jitrino::Inst*, Jitrino::InstDeque&, Jitrino::BitSet&, Jitrino::BitSet&, uint8*, unsigned int, unsigned int): Assertion `def->getNode()' failed.
> It is not so easy to teach inliner not to create unreachables.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira