Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Fix optimization of CAST(int)(LSH(long)<<CNS_INT 32+ with side effects).#19899

Merged
sandreenko merged 2 commits intodotnet:masterfrom
sandreenko:GitHub_19272
Sep 12, 2018
Merged

Fix optimization of CAST(int)(LSH(long)<<CNS_INT 32+ with side effects).#19899
sandreenko merged 2 commits intodotnet:masterfrom
sandreenko:GitHub_19272

Conversation

@sandreenko
Copy link

Fix #19272.
Thanks @jakobbotsch for the issue and the repro.

@sandreenko
Copy link
Author

sandreenko commented Sep 11, 2018

@mmitche could you please take a look at Ubuntu x64 job? It fails with Disk has run out of space and cannot get latest changes. Please contact netciadmin@microsoft.com. IOException: No space left on device (example).

@mmitche
Copy link
Member

mmitche commented Sep 11, 2018

@safern Got a link? I don't see the failure. Machine can usually just be deleted.

const ssize_t shiftAmountValue = shiftAmount->AsIntCon()->IconValue();

if (shiftAmountValue >= 64)
if ((shiftAmountValue >= 64) && (shiftAmountValue < 0))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be || I suppose?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, of course. Thank you.

@sandreenko
Copy link
Author

@safern Got a link? I don't see the failure. Machine can usually just be deleted.

Added an example link.

@sandreenko
Copy link
Author

PTAL @AndyAyersMS @dotnet/jit-contrib

Copy link

@CarolEidt CarolEidt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sandreenko
Copy link
Author

@dotnet-bot test this please

Copy link
Member

@AndyAyersMS AndyAyersMS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this.

@sandreenko
Copy link
Author

Hm, I see only 13 jobs were run for this job (3 pending and 10 successful checks ), lets try to restart.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants