[PATCH] D143677: [ValueTracking] Replace an always true condition with an assert.

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 9 14:11:45 PST 2023


spatel added inline comments.


================
Comment at: llvm/lib/Analysis/ValueTracking.cpp:2302
 
 static bool isKnownNonNullFromDominatingCondition(const Value *V,
                                                   const Instruction *CtxI,
----------------
Change the function signature to take "Constant *C" instead of a generic "Value *"?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143677/new/

https://reviews.llvm.org/D143677



More information about the llvm-commits mailing list