aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/raw_ostream.cpp
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2009-08-31 06:32:45 +0000
committerTanya Lattner <tonic@nondot.org>2009-08-31 06:32:45 +0000
commitafeffeb1d700b94221435f716becfb968a624514 (patch)
tree4dc46a4328795beea346f7778bcfbb0aa5032856 /lib/Support/raw_ostream.cpp
parentc219c0aba297f5599a21b99eb4c818b800ae0d19 (diff)
Merge from mainline.
Rename Instruction::isIdenticalTo to Instruction::isIdenticalToWhenDefined, and introduce a new Instruction::isIdenticalTo which tests for full identity, including the SubclassOptionalData flags. Also, fix the Instruction::clone implementations to preserve the SubclassOptionalData flags. Finally, teach several optimizations how to handle SubclassOptionalData correctly, given these changes. This fixes the counterintuitive behavior of isIdenticalTo not comparing the full value, and clone not returning an identical clone, as well as some subtle bugs that could be caused by these. Thanks to Nick Lewycky for reporting this, and for an initial patch! git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@80553 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/raw_ostream.cpp')
0 files changed, 0 insertions, 0 deletions