mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 06:39:12 +00:00
add a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85671 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
438b583dbd
commit
28f3d34a9b
@ -10998,6 +10998,10 @@ Instruction *InstCombiner::visitPHINode(PHINode &PN) {
|
||||
PN.setIncomingValue(i, VB);
|
||||
PN.setIncomingBlock(j, BBA);
|
||||
PN.setIncomingValue(j, VA);
|
||||
// NOTE: Instcombine normally would want us to "return &PN" if we
|
||||
// modified any of the operands of an instruction. However, since we
|
||||
// aren't adding or removing uses (just rearranging them) we don't do
|
||||
// this in this case.
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user