Skip to content

Emit LLVM range metadata for call instructions #50157

Closed
@hanna-kruppe

Description

@hanna-kruppe

Adding !range to a call instruction to communicate the possible range of the return value (analogous to !range on loads) already works in LLVM today, we just need to use it. Fixes the test case in #49572 and we already have the information anyway, so it's a cheap and easy win. cc @eddyb

Metadata

Metadata

Assignees

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