SelectionDAG: Expand SELECT_CC to SELECT + SETCC
authorTom Stellard <thomas.stellard@amd.com>
Tue, 10 Jun 2014 16:01:22 +0000 (16:01 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 10 Jun 2014 16:01:22 +0000 (16:01 +0000)
commitf586a260ca729c933cb15c6e68cabe95163a6dcb
tree37baaed41e14f40cc2608c7bc0bae18bd9753163
parentb02d95cb66157aa49bf5e50a8778c182a7b8604e
SelectionDAG: Expand SELECT_CC to SELECT + SETCC

This consolidates code from the Hexagon, R600, and XCore targets.

No functionality change intended.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210539 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/Target/Hexagon/HexagonISelLowering.cpp
lib/Target/Hexagon/HexagonISelLowering.h
lib/Target/R600/SIISelLowering.cpp
lib/Target/R600/SIISelLowering.h
lib/Target/XCore/XCoreISelLowering.cpp
lib/Target/XCore/XCoreISelLowering.h
test/CodeGen/R600/sint_to_fp64.ll
test/CodeGen/R600/uint_to_fp.f64.ll