commit | d56c0cb634aa6812916307ad6f6a72e8589864b1 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Oct 31 17:48:31 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Oct 31 17:48:31 2009 +0000 |
tree | d6729cae8d03a2f6e35e92264db908dd30d5d3e5 | |
parent | 80a0f8f856c40fcf82dafc313f76f2e7a64913c5 [diff] [blame] |
add a comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85671 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index c2194c4..d1561d6 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -10998,6 +10998,10 @@ 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. } }