add a new -enable-value-prop flag for llcbeta, that enables propagation
authorChris Lattner <sabre@nondot.org>
Tue, 17 Jun 2008 06:09:18 +0000 (06:09 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 17 Jun 2008 06:09:18 +0000 (06:09 +0000)
commitead0d88ad7659dabd66cc3149af97d98256fca84
treea93b1e796f1fbca3cfab1feaa81b3fa261a69702
parenta47c6c37034f4e57bc8187e959da4eadb6e24afa
add a new -enable-value-prop flag for llcbeta, that enables propagation
of value info (sign/zero ext info) from one MBB to another.  This doesn't
handle much right now because of two limitations:

1) only handles zext/sext, not random bit propagation (no assert exists
   for this)
2) doesn't handle phis.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52383 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAG.h
include/llvm/CodeGen/SelectionDAGISel.h
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp