[llvm] [IR] Add the sanitize_concurrency function attribute (PR #225779)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 23 07:22:34 PDT 2026


================
@@ -1102,6 +1102,7 @@ PreservedAnalyses ExpandMemCmpPass::run(Function &F,
   if (F.hasFnAttribute(Attribute::SanitizeAddress) ||
       F.hasFnAttribute(Attribute::SanitizeMemory) ||
       F.hasFnAttribute(Attribute::SanitizeThread) ||
+      F.hasFnAttribute(Attribute::SanitizeConcurrency) ||
----------------
arsenm wrote:

Missing tests for all these transforms (also we really need a common has-any-sanitizer somewhere) 

https://github.com/llvm/llvm-project/pull/225779


More information about the llvm-commits mailing list