This is an archive of the discontinued LLVM Phabricator instance.

[mlir][DialectUtils] Generalize `extractFromI64ArrayAttr` helper
ClosedPublic

Authored by springerm on Jul 11 2023, 7:57 AM.

Details

Summary

Generalize extractFromI64ArrayAttr to extractFromIntegerArrayAttr, so that arbitrary integer/bool types can be extracted.

Diff Detail

Event Timeline

springerm created this revision.Jul 11 2023, 7:57 AM
Herald added a reviewer: dcaballe. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
springerm requested review of this revision.Jul 11 2023, 7:57 AM
nicolasvasilache accepted this revision.Jul 11 2023, 8:07 AM

ok for now but all occurrences of this should go away and we should use the DenseI64ElementsAttr thing

This revision is now accepted and ready to land.Jul 11 2023, 8:07 AM