OSDN Git Service

Generalize the setcc -> PHI and Select folding optimizations to work with
authorChris Lattner <sabre@nondot.org>
Sat, 23 Apr 2005 15:31:55 +0000 (15:31 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 23 Apr 2005 15:31:55 +0000 (15:31 +0000)
commit6970b661cbdb25b8a2a4f8a8ad2d52f307662693
tree15c644c352fdb66273afe8b6514455e46d316dad
parent17ce8d22c32bb1b12c767b83fea011dae2d816d3
Generalize the setcc -> PHI and Select  folding optimizations to work with
any constant RHS, not just a constant integer RHS.  This implements
select.ll:test17

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21470 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp