The value held in the vector may be RAUW'ed by some of the canonicalization
authorBill Wendling <isanbard@gmail.com>
Wed, 2 May 2012 09:59:45 +0000 (09:59 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 2 May 2012 09:59:45 +0000 (09:59 +0000)
commit55e7098bbc363473c01229517097d2a04e04e9b0
treec3b240028b5376b8032808b7a52d237f0175c72e
parent0a552d611efe9d1070aff1d35c7f169dd1ab0be7
The value held in the vector may be RAUW'ed by some of the canonicalization
methods. Use a weak value handle to keep up with this.
PR12245

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155984 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/Reassociate.cpp
test/Transforms/Reassociate/pr12245.ll [new file with mode: 0644]