Skip to content

Commit c219bb0

Browse files
committed
[ValueTracking][NFC]: Use injected condition to compute known FPClass
1 parent af6e3c0 commit c219bb0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/include/llvm/Analysis/SimplifyQuery.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ struct InstrInfoQuery {
6363
struct CondContext {
6464
Value *Cond;
6565
bool Invert = false;
66+
// Condition is true if CxtI is in the true successor of Cond.
67+
bool CondIsTrue = false;
6668
SmallPtrSet<Value *, 4> AffectedValues;
6769

6870
CondContext(Value *Cond) : Cond(Cond) {}

0 commit comments

Comments
 (0)