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

memref: Missing reinterpret_cast #2736

Open
zero9178 opened this issue Jun 16, 2024 · 0 comments
Open

memref: Missing reinterpret_cast #2736

zero9178 opened this issue Jun 16, 2024 · 0 comments
Labels
dialects Changes on the dialects

Comments

@zero9178
Copy link
Contributor

See https://mlir.llvm.org/docs/Dialects/MemRef/#memrefreinterpret_cast-memrefreinterpretcastop

This operation is useful for many reasons with one use-case being passing memrefs across function calls. By combining it with barepointer calling convention, one can choose how the base pointer and the various metadata of a memref are passed to functions.

@zero9178 zero9178 added the dialects Changes on the dialects label Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dialects Changes on the dialects
Projects
None yet
Development

No branches or pull requests

1 participant