]> granicus.if.org Git - llvm/commit
[MSSA] Fix PR28632 in the 3.9 branch.
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Thu, 21 Jul 2016 21:09:24 +0000 (21:09 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Thu, 21 Jul 2016 21:09:24 +0000 (21:09 +0000)
commite41f8904d335aa83309beb9d00595edf873c9663
tree545e84e7b76d2d481778aec9afea561a6b63a51d
parentc6561de565f8f0052e2fde8038f009756fdefb20
[MSSA] Fix PR28632 in the 3.9 branch.

The now-removed assertion was really more for initial debugging; it's
perfectly valid (albeit relatively rare) for `Q.Visited.size()` to be
greater than 1,000. A similar patch hasn't been applied to trunk
because the piece of code this assertion was a part of no longer exists
in trunk.

Fix okayed by Danny, merge to 3.9 okayed by Hans.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_39@276337 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/MemorySSA.cpp