[llvm] [SCEV] Don't add predicates already implied by UnionPredicate. (PR #93397)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sun May 26 18:31:00 PDT 2024


================
@@ -149,3 +149,105 @@ for.cond:                                         ; preds = %for.body, %entry
 for.end:                                          ; preds = %for.cond
   ret void
 }
+
+ at h = global i64 0
+
+; TODO: Currently we generate SCEV check code for the same predicate twice.
----------------
fhahn wrote:

Dropped, thanks!

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


More information about the llvm-commits mailing list