When disabling PRE for a value is directly redundant with itself
authorDan Gohman <dan433584@gmail.com>
Tue, 12 Feb 2013 19:05:10 +0000 (19:05 +0000)
committerDan Gohman <dan433584@gmail.com>
Tue, 12 Feb 2013 19:05:10 +0000 (19:05 +0000)
commit2001cd8f9e8695695852b416cf1e454f0a026ea3
tree764d2577eaa4a355444fdf04766dd29d89372da4
parentfaf6df6e6ecb5b3b4d209fdfe944c7592df37e3f
When disabling PRE for a value is directly redundant with itself
(through a loop), don't continue to iterate through the reamining
predecessors.

llvm-svn: 174994
llvm/lib/Transforms/Scalar/GVN.cpp