commit | 28f3d34a9bf9060b68abef97845cf89bc6e2c403 | [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 | 438b583dbd20f63b70d0b5abb7780a50bf03dd83 [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. } }