[9] RFR (S): 8152773: C2: LoadNode properties aren't preserved when converting between signed/unsigned variants

John Rose john.r.rose at oracle.com
Fri Mar 25 18:11:38 UTC 2016


On Mar 25, 2016, at 11:10 AM, John Rose <john.r.rose at oracle.com> wrote:
> 
> On Mar 25, 2016, at 11:04 AM, Vladimir Kozlov <vladimir.kozlov at oracle.com <mailto:vladimir.kozlov at oracle.com>> wrote:
>> 
>> Why convert_to_signed_load() does not do the same checks as convert_to_unsigned_load()?
> 
> Because all nodes have signed variants?

Answer to self:  No, only the integral types have signed variants.
That's what the check should be.
(Look at the uses of convert-to-signed.  They will fail on floats!!)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20160325/25b12bac/attachment.html>


More information about the hotspot-compiler-dev mailing list