[llvm] [Analysis][ValueTracking] Unify most of the tracking between AssumptionCache and DomConditionCache (PR #83161)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 4 10:58:38 PST 2024
================
@@ -1195,6 +1195,12 @@ std::optional<bool> isImpliedByDomCondition(CmpInst::Predicate Pred,
const Value *LHS, const Value *RHS,
const Instruction *ContextI,
const DataLayout &DL);
+
+// Call `InsertAffected` on all Values whose known bits / value may be affected
+// the condition `Cond`. Used by AssumptionCache and DomConditionCache.
----------------
dtcxzyw wrote:
https://llvm.org/docs/CodingStandards.html#comment-formatting
> In general, prefer C++-style comments (// for normal comments, /// for doxygen documentation comments).
https://github.com/llvm/llvm-project/pull/83161
More information about the llvm-commits
mailing list