Recognize more opportunities to use SSE min and max instructions,
authorDan Gohman <gohman@apple.com>
Thu, 3 Sep 2009 20:34:31 +0000 (20:34 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 3 Sep 2009 20:34:31 +0000 (20:34 +0000)
commit8d44b28bc6f615b9ad79b066987d53b1ea2a2942
tree4bfaf2eca9b8910a15985d9d8c2ddf10625a5f99
parent3653b13c52b9bce4fd9e2da3cbb893fc769adaec
Recognize more opportunities to use SSE min and max instructions,
swapping the operands if necessary.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80940 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAG.h
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/sse-minmax.ll [new file with mode: 0644]