Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Make ConstantData the mechanism for interacting with constant values #1027

@abrown

Description

@abrown

As mentioned in #974 (comment) and #974 (comment), Uimm128 is used for parsing and writing constant values from and to CLIF. If the constant pool is needed for types other than 128-bit vectors, then a more flexible type is needed. ConstantData can become this but needs to:

  • become a real type, not a type alias
  • acquire implementations for FromStr and Display
  • replace Uimm128 in the various places conversions are currently made (e.g. parser.rs, write.rs)

I wonder if in the end this makes Uimm128 superfluous and it can be removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions