[llvm] [LoopVectorize][X86] Rewrite guaranteed-safe masked stores as load-blend-store] (PR #206654)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 1 10:58:44 PDT 2026


github-actions[bot] wrote:

<!--LLVM IDS CHECK COMMENT-->


:warning: LLVM ABI annotation checker, ids-check found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
Build idt from compnerd/ids, then for each changed header:
    idt -p build/ --main-file <matching-source.cpp> \
        --apply-fixits --inplace <header>
``````````

</details>

<details>
<summary>
View the diff from ids-check here.
</summary>

``````````diff
diff --git a/llvm/include/llvm/Analysis/MemSafetyAnalysis.h b/llvm/include/llvm/Analysis/MemSafetyAnalysis.h
index baa47f70a..5c3f33d5b 100644
--- a/llvm/include/llvm/Analysis/MemSafetyAnalysis.h
+++ b/llvm/include/llvm/Analysis/MemSafetyAnalysis.h
@@ -60,9 +60,9 @@ public:
   BlockMemInfo(BasicBlock *BB, bool GuaranteedToExecute)
       : BB(BB), GuaranteedToExecute(GuaranteedToExecute) {}
 
-  void addMemoryAccess(const SCEV *S, MemProperty AccessTy);
+  LLVM_ABI void addMemoryAccess(const SCEV *S, MemProperty AccessTy);
   bool isBlockGuaranteedToExecute() const { return GuaranteedToExecute; }
-  void copyBlockMemInfo(BlockMemInfo *BMI);
+  LLVM_ABI void copyBlockMemInfo(BlockMemInfo *BMI);
 };
 
 /// MemSafetyAnalysis -- per-loop analysis that builds a SCEV-keyed map of
@@ -76,10 +76,10 @@ public:
 /// See `examples` block in MemSafetyAnalysis.cpp for canonical cases.
 class MemSafetyAnalysis {
 public:
-  MemSafetyAnalysis(Loop *L, LoopInfo *LI, ScalarEvolution *SE,
+  LLVM_ABI MemSafetyAnalysis(Loop *L, LoopInfo *LI, ScalarEvolution *SE,
                     DominatorTree *DT, const TargetLibraryInfo *TLI,
                     const TargetTransformInfo *TTI);
-  ~MemSafetyAnalysis();
+  LLVM_ABI ~MemSafetyAnalysis();
 
   MemSafetyAnalysis(const MemSafetyAnalysis &) = delete;
   MemSafetyAnalysis &operator=(const MemSafetyAnalysis &) = delete;
@@ -90,10 +90,10 @@ public:
 
   /// True if the access at SCEV \p S is guaranteed to execute on every
   /// iteration of the loop body.
-  bool isGuaranteedMemoryAccess(const SCEV *S) const;
+  LLVM_ABI bool isGuaranteedMemoryAccess(const SCEV *S) const;
 
   /// Debug: dump the analysis state to dbgs().
-  void printAnalysis() const;
+  LLVM_ABI void printAnalysis() const;
 
 private:
   Loop *L;

``````````

</details>


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


More information about the llvm-commits mailing list