diff options
author | Chris Lattner <sabre@nondot.org> | 2009-11-29 21:09:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-11-29 21:09:36 +0000 |
commit | 1903d97c2c5ab2e67ffc7f5d6d817266d51a676d (patch) | |
tree | c8458215ae4d4302a34b1a319d3a28eb35e88042 /lib/Analysis/ConstantFolding.cpp | |
parent | 4aac07e8983d31c6bbbcd100ad119859fb4bb968 (diff) |
Fix a really nasty caching bug I introduced in memdep. An entry
was being added to the Result vector, but not being put in the
cache. This means that if the cache was reused wholesale for a
later query that it would be missing this entry and we'd do an
incorrect load elimination.
Unfortunately, it's not really possible to write a useful
testcase for this, but this unbreaks 255.vortex.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90093 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ConstantFolding.cpp')
0 files changed, 0 insertions, 0 deletions