Skip to content

Commit

Permalink
[ValueLattice] Clarify that constant state can reached from undef.
Browse files Browse the repository at this point in the history
As suggested as post-commit comment in D75845.
  • Loading branch information
fhahn committed Mar 17, 2020
1 parent 73b1da1 commit 873ab73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion llvm/include/llvm/Analysis/ValueLattice.h
Expand Up @@ -43,7 +43,8 @@ class ValueLatticeElement {

/// This Value has a specific constant value. The constant cannot be undef.
/// (For constant integers, constantrange is used instead. Integer typed
/// constantexprs can appear as constant.)
/// constantexprs can appear as constant.) Note that the constant state
/// can be reached by merging undef & constant states.
/// Transition allowed to the following states:
/// overdefined
constant,
Expand Down

0 comments on commit 873ab73

Please sign in to comment.