add initial support for converting select_cc -> fsel in the legalizer
authorChris Lattner <sabre@nondot.org>
Fri, 26 Aug 2005 00:52:45 +0000 (00:52 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 26 Aug 2005 00:52:45 +0000 (00:52 +0000)
commite4bc9ea0a560d8a0ba42f5a2da617e1f1f834710
treedaa4a0347d9546c7396e6ff54c4875e637356a2d
parentd7050a9c50211dd215cb3c2bc28b4fb6bfa4a116
add initial support for converting select_cc -> fsel in the legalizer
instead of in the backend.  This currently handles fsel cases with registers,
but doesn't have the 0.0 and -0.0 optimization enabled yet.

Once this is finished, special hack for fp immediates can go away.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23075 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/PowerPC/PPCISelLowering.h
lib/Target/PowerPC/PPCISelPattern.cpp