]> granicus.if.org Git - llvm/commit
NewGVN: Clean up how we handle the INITIAL class so that everything in
authorDaniel Berlin <dberlin@dberlin.org>
Sat, 11 Feb 2017 12:48:50 +0000 (12:48 +0000)
committerDaniel Berlin <dberlin@dberlin.org>
Sat, 11 Feb 2017 12:48:50 +0000 (12:48 +0000)
commitf6af3ae08269aba79440a3215d33154ca5103803
tree749ce45001d7e266d3810b71568003ed0a1932d5
parent5de15e70cbc1c040638ac681eec149940b3c2e81
NewGVN: Clean up how we handle the INITIAL class so that everything in
it is dead or unreachable, as it should be.
This also makes the leader of INITIAL undef, enabling us to handle
irreducibility properly.

Summary:
This lets us verify, more than we do now, that we didn't screw up
value numbering.

Reviewers: davide

Subscribers: Prazek, llvm-commits

Differential Revision: https://reviews.llvm.org/D29842

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294844 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/NewGVN.cpp
test/Transforms/NewGVN/basic-cyclic-opt.ll