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

emitc: Add fmtArgs to verbatim #383

Merged
merged 2 commits into from
Oct 9, 2024
Merged

Conversation

mgehre-amd
Copy link
Collaborator

Allows to print pragmas that refer to arguments or local variables.
E.g. emitc.verbatim "#pragma abc var={}" %arg0 : !emitc.ptr<i32> is printed as #pragma abc var=v1

Copy link

@TinaAMD TinaAMD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

mlir/include/mlir/Dialect/EmitC/IR/EmitC.td Outdated Show resolved Hide resolved
@mgehre-amd mgehre-amd merged commit f977e14 into feature/fused-ops Oct 9, 2024
4 checks passed
@mgehre-amd mgehre-amd deleted the matthias.verbatim_args branch October 9, 2024 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants