This is an archive of the discontinued LLVM Phabricator instance.

[mlir][llvm] Fix export of 64-bit integer function attributes
ClosedPublic

Authored by Mogball on Jul 28 2023, 3:03 PM.

Details

Summary

The allocsize attribute is weird because it packs two 32-bit values
into a 64-bit value. It also turns out that the passthrough attribute
exporter was using int, which is incorrectly handling 64-bit integers.

Diff Detail

Event Timeline

Mogball created this revision.Jul 28 2023, 3:03 PM
Herald added a reviewer: dcaballe. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Mogball requested review of this revision.Jul 28 2023, 3:03 PM
rriddle accepted this revision.Jul 28 2023, 3:08 PM
This revision is now accepted and ready to land.Jul 28 2023, 3:08 PM