[llvm] [ValueTracking][NFC]: Use injected condition to compute known FPClass (PR #139832)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu May 29 03:40:56 PDT 2025


================
@@ -62,6 +62,8 @@ struct InstrInfoQuery {
 struct CondContext {
   Value *Cond;
   bool Invert = false;
+  // Condition is true if CxtI is in the true successor of Cond.
+  bool CondIsTrue = false;
----------------
nikic wrote:

This is what Invert is for.

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


More information about the llvm-commits mailing list