Fix the fabs regression on x86 by abstracting the select_cc optimization
authorNate Begeman <natebegeman@mac.com>
Sat, 13 Aug 2005 06:00:21 +0000 (06:00 +0000)
committerNate Begeman <natebegeman@mac.com>
Sat, 13 Aug 2005 06:00:21 +0000 (06:00 +0000)
commit32c392a3a5e397b5f1cc83aaedfab96368d11e8a
tree7eaee41b8b07368519c62b54fafe49be8cc0448b
parent8f331325a22746d89fc30ea59672012c8c58cf49
Fix the fabs regression on x86 by abstracting the select_cc optimization
out into SimplifySelectCC.  This allows both ISD::SELECT and ISD::SELECT_CC
to use the same set of simplifying folds.

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