mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
Add a comment explaining why you would ever want to do this.
llvm-svn: 82319
This commit is contained in:
parent
86c1fbbc0a
commit
e539e55f2a
@ -223,6 +223,9 @@ void SparseSolver::visitTerminatorInst(TerminatorInst &TI) {
|
||||
}
|
||||
|
||||
void SparseSolver::visitPHINode(PHINode &PN) {
|
||||
// The lattice function may store more information on a PHINode than could be
|
||||
// computed from its incoming values. For example, SSI form stores its sigma
|
||||
// functions as PHINodes with a single incoming value.
|
||||
if (LatticeFunc->IsSpecialCasedPHI(&PN)) {
|
||||
LatticeVal IV = LatticeFunc->ComputeInstructionState(PN, *this);
|
||||
if (IV != LatticeFunc->getUntrackedVal())
|
||||
|
Loading…
x
Reference in New Issue
Block a user