Enhance GVN to propagate simple conditionals. This fixes PR3921.
commit9a017548c2d92cec58d9a9f076bf6fcb08e1be8a
authorOwen Anderson <resistor@mac.com>
Wed, 1 Apr 2009 01:20:45 +0000 (1 01:20 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 1 Apr 2009 01:20:45 +0000 (1 01:20 +0000)
treeea3ccfd501e3fc58088cddb7809a1f8e1866316c
parentcf26bab18410ffa10a1ab941c1238cb8cef028a7
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]