| commit | 2a3443c7c5eb314aba8bce2f38d8846ecb815f85 | [log] [tgz] |
|---|---|---|
| author | Peter Collingbourne <peter@pcc.me.uk> | Thu Jun 25 18:32:02 2015 +0000 |
| committer | Peter Collingbourne <peter@pcc.me.uk> | Thu Jun 25 18:32:02 2015 +0000 |
| tree | 1974cde24ccc4db78336692283eb5447149d8c61 | |
| parent | d21e5c6684642a4e17b0f6d7802d55b0a32c5837 [diff] |
GVN: If a branch has two identical successors, we cannot declare either dead. This previously caused miscompilations as a result of phi nodes receiving undef incoming values from blocks dominated by such successors. Differential Revision: http://reviews.llvm.org/D10726 llvm-svn: 240670