This is an archive of the discontinued LLVM Phabricator instance.

[GlobalOpt] prevent crashing on wide integer types (PR42932)
ClosedPublic

Authored by spatel on Aug 8 2019, 1:42 PM.

Details

Summary

I don't know anything about this pass, so this is a minimal fix to prevent the crashing seen in:
https://bugs.llvm.org/show_bug.cgi?id=42932
...when converting a constant integer of arbitrary width to uint64_t.

Diff Detail

Event Timeline

spatel created this revision.Aug 8 2019, 1:42 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 8 2019, 1:42 PM
rnk accepted this revision.Aug 8 2019, 3:10 PM

lgtm

This revision is now accepted and ready to land.Aug 8 2019, 3:10 PM
This revision was automatically updated to reflect the committed changes.