Skip to content

Extractvalue in global constant not supported? #89

Open
@moll

Description

@moll

Hey,

Thanks for maintaining the LLVM IR pretty printer!

Is it me or is the ExtractValue constant not supported?

instance Pretty C.Constant where
seems to err with "Non-function argument. (Malformed AST)" upon meeting one. As far as I can tell, it seems to be valid syntax. E.g:

%Age = type {i32}

@answer = private unnamed_addr constant i32 extractvalue (%Age {i32 42}, 0)

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions