This is an archive of the discontinued LLVM Phabricator instance.

Fix ubsan error in tblgen with signed left shift
ClosedPublic

Authored by rampitec on Jun 16 2020, 10:52 AM.

Details

Summary

UBSAN complains when tblgen performs SHL of a negative
value.

Diff Detail

Event Timeline

rampitec created this revision.Jun 16 2020, 10:52 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 16 2020, 10:52 AM
arsenm accepted this revision.Jun 16 2020, 11:03 AM
This revision is now accepted and ready to land.Jun 16 2020, 11:03 AM
This revision was automatically updated to reflect the committed changes.