This is an archive of the discontinued LLVM Phabricator instance.

[builtins][test] Fix divmodti4_test.c on Windows
ClosedPublic

Authored by aeubanks on Mar 22 2023, 3:57 PM.

Details

Summary

By making the 64 bit integer literals unsigned. Otherwise some of them
are unexpectedly sign extended (and the compiler rightly diagnosed this
with warnings)

Initially added in D80506.

Diff Detail

Event Timeline

aeubanks created this revision.Mar 22 2023, 3:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 22 2023, 3:57 PM
Herald added a subscriber: Enna1. · View Herald Transcript
aeubanks requested review of this revision.Mar 22 2023, 3:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 22 2023, 3:57 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
aeubanks edited the summary of this revision. (Show Details)Mar 22 2023, 3:57 PM
aeubanks added a reviewer: craig.topper.
MaskRay accepted this revision.Mar 23 2023, 1:14 PM
This revision is now accepted and ready to land.Mar 23 2023, 1:14 PM
This revision was landed with ongoing or failed builds.Mar 23 2023, 7:09 PM
This revision was automatically updated to reflect the committed changes.