[llvm] [LV] Add initial legality checks for loops with unbound loads. (PR #152422)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 2 22:44:33 PDT 2025


================
@@ -630,6 +635,9 @@ class LoopVectorizationLegality {
   /// may work on the same memory location.
   SmallVector<HistogramInfo, 1> Histograms;
 
+  /// Hold all loads that need to be fault-only-first.
+  SmallPtrSet<const Instruction *, 4> FaultOnlyFirstLoads;
----------------
fhahn wrote:

See above regarding naming

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


More information about the llvm-commits mailing list