This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Ensure index attrs are always 64-bit APInts
ClosedPublic

Authored by Mogball on Aug 31 2022, 3:09 PM.

Details

Summary

This patch ensures that index integer attributes can only be
constructed with APInts whose widths are equal to the index
internal storage bitwidth (64).

Diff Detail

Event Timeline

Mogball created this revision.Aug 31 2022, 3:09 PM
Herald added a project: Restricted Project. · View Herald Transcript
Mogball requested review of this revision.Aug 31 2022, 3:09 PM
Mogball edited the summary of this revision. (Show Details)Aug 31 2022, 3:09 PM
rriddle accepted this revision.Aug 31 2022, 3:29 PM
This revision is now accepted and ready to land.Aug 31 2022, 3:29 PM
This revision was automatically updated to reflect the committed changes.