[llvm] [DA] Simplify runtime predicate collection and extend to all dependence tests (PR #157523)

Sjoerd Meijer via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 9 11:54:57 PDT 2025


================
@@ -285,7 +285,8 @@ class LLVM_ABI FullDependence final : public Dependence {
 class DependenceInfo {
 public:
   DependenceInfo(Function *F, AAResults *AA, ScalarEvolution *SE, LoopInfo *LI)
-      : AA(AA), SE(SE), LI(LI), F(F) {}
+      : AA(AA), SE(SE), LI(LI), F(F), Assumptions({}, *SE),
+        UnderRuntimeAssumptions(false) {}
----------------
sjoerdmeijer wrote:

For testing purposes, and maybe to actually use this at some pointer, can `UnderRuntimeAssumptions ` be enabled by an option? Would that allow to add tests for this?

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


More information about the llvm-commits mailing list