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

[Clang][CodeGen] Add [[clang::asm_dialect]] attribute #101871

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MitalAshok
Copy link
Contributor

This attribute applies to GCCAsmStmt statements or functions. If a function is declared with this, it is effectively the default for all GCCAsmStmts contained in the function.

Takes one string argument: "intel", "att" or "reset". If "reset", the dialect used will be the one specified on the command line.

Resolves #101328

Copy link

github-actions bot commented Aug 4, 2024

✅ With the latest revision this PR passed the C/C++ code formatter.

@MitalAshok MitalAshok force-pushed the attribute-asm-dialect branch from 7f8c820 to 6dd98b5 Compare August 4, 2024 09:27
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.

Support choosing assembly dialect per snippet in clang
1 participant