[PATCH] D159203: [InstCombine] Fold (A/-B)==(A/B) to (A/B)==0

Marc Auberer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 30 12:48:59 PDT 2023


marcauberer marked an inline comment as done.
marcauberer added inline comments.


================
Comment at: llvm/lib/Analysis/ValueTracking.cpp:3153
+}
+
 /// Return true if it is known that V1 != V2.
----------------
goldstein.w.n wrote:
> This at the very least should be a seperate patch and should probably fit into:
> `IsCondKnownTrue` not be its own API.
I cannot find `IsCondKnownTrue`. Where can I find it?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D159203



More information about the llvm-commits mailing list