If a branch's condition has become a ConstantBool, simplify it immediately. Removing the edge saves work and exposes up more optimization opportunities in the pass. Add support for SelectInst. llvm-svn: 29970
and simplifies expressions. This implements the optimization described in PR807. llvm-svn: 29947