Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pretty-print inrange keyword in constant getelementptr expressions #111

Open
RyanGlScott opened this issue Apr 24, 2023 · 0 comments
Open
Labels
bug Something isn't working llvm/4.0

Comments

@RyanGlScott
Copy link
Collaborator

Currently, the pretty-printer ignores the optional inrange keyword in ConstGEP, as evidences by the _mix below:

https://github.com/elliottt/llvm-pretty/blob/d099d5d0feab8066bc682f11c8a46c82fb7166b5/src/Text/LLVM/PP.hs#L879-L882

We should pretty-print this according to the logic in the LLVM pretty-printer here.

@RyanGlScott RyanGlScott added bug Something isn't working llvm/4.0 labels Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working llvm/4.0
Projects
None yet
Development

No branches or pull requests

1 participant