Fix a bug caused by indiscriminantly asking for the dominators of a predecessor.
authorOwen Anderson <resistor@mac.com>
Mon, 30 Jul 2007 16:57:08 +0000 (16:57 +0000)
committerOwen Anderson <resistor@mac.com>
Mon, 30 Jul 2007 16:57:08 +0000 (16:57 +0000)
commit4f9ba7c40c41cae3d9730c5416a2750dea4f0ff4
tree9edc9784f104da0924c68b6e3b54d9a090ae2974
parent825811dc8312684c93e7b7a74f92b6b3efcd73c3
Fix a bug caused by indiscriminantly asking for the dominators of a predecessor.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40595 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/GVN.cpp
test/Transforms/GVN/2007-07-30-PredIDom.ll [new file with mode: 0644]