commit | 1e97329f2725fb5b5e88f7be99da07da6cf9fe62 | [log] [tgz] |
---|---|---|
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Sat Aug 16 01:54:34 2014 +0000 |
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Sat Aug 16 01:54:34 2014 +0000 |
tree | 62f143987818b8f0d31a8d1fa8af06ce5f91da6e | |
parent | 7a5cb43115ba3c87ac04511c804d0993aa28ddc2 [diff] |
UseListOrder: Correctly count the number of uses This is an off-by-one bug I found by inspection, which would only trigger if the bitcode writer sees more uses of a `Value` than the reader. Since this is only relevant when an instruction gets upgraded somehow, there unfortunately isn't a reasonable way to add test coverage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215804 91177308-0d34-0410-b5e6-96231b3b80d8