OSDN Git Service

[NewGVN] Fix a bug that made the store verifier less effective.
authorDavide Italiano <davide@freebsd.org>
Tue, 20 Jun 2017 22:57:40 +0000 (22:57 +0000)
committerDavide Italiano <davide@freebsd.org>
Tue, 20 Jun 2017 22:57:40 +0000 (22:57 +0000)
commit84fac2c58cdc4ec87d63a60aae74f843750ff33a
treeaac18e2f9a1d006616dd6e024ea6b671c02cfc31
parentf8a3ad7e76c62f1e0d1d6f505d43182f4d398659
[NewGVN] Fix a bug that made the store verifier less effective.

We weren't actually checking for duplicated stores, as the condition
was always actually false. This was found by Coverity, and I have
no clue how to trigger this in real-world code (although I
 tried for a bit).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305867 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/NewGVN.cpp