Enhance GVN to propagate simple conditionals. This fixes PR3921.
authorOwen Anderson <resistor@mac.com>
Wed, 1 Apr 2009 01:20:45 +0000 (01:20 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 1 Apr 2009 01:20:45 +0000 (01:20 +0000)
commitf41fcbb60d909ebae0e31300322b94922c1ee886
treeea3ccfd501e3fc58088cddb7809a1f8e1866316c
parentb0426e86af15d2ff419d2dc9bfefa573f3dfe29c
Enhance GVN to propagate simple conditionals.  This fixes PR3921.

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