[clang] [clang] Add support for new loop attribute [[clang::code_align()]] (PR #70762)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 2 06:02:35 PDT 2023
================
@@ -440,6 +440,14 @@ MDNode *LoopInfo::createMetadata(
Ctx, {MDString::get(Ctx, "llvm.loop.parallel_accesses"), AccGroup}));
}
+ // Setting clang::code_align attribute.
+ if (Attrs.CodeAlign > 0) {
----------------
smanna12 wrote:
Added consumption on this IR in MBBPlacement: https://github.com/llvm/llvm-project/pull/71026 by @FreddyLeaf
https://github.com/llvm/llvm-project/pull/70762
More information about the cfe-commits
mailing list