harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-4751) [drlvm][jit][opt] branch translator may incorrectly remove branches depending on local vars
Date Fri, 07 Sep 2007 11:42:31 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-4751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexey Varlamov closed HARMONY-4751.
------------------------------------

    Resolution: Fixed

Applied at revision: 573551 

> [drlvm][jit][opt] branch translator may incorrectly remove branches depending on local
vars
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4751
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4751
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: IA32/EM64T platforms
>            Reporter: Pavel Ozhdikhin
>            Assignee: Alexey Varlamov
>         Attachments: btr.patch, btr_regtest.patch
>
>
> Branch translator may incorrectly remove branches depending on local vars. If a temporary
operand in a branch condition originated from a local var and this local var is re-assigned
before the branch condition but after creation of the temporary operand, than the new value
of the var will be propagated to the branch condition. Thus the branch may be eliminated basing
on a wrong value. Example:
> t2 = v1
> v1 = n
> CMP t2, 0
> JZ ...
> In the example above value n may be used to eliminate the branch in the branch translator
instead of the original v1 value.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message