OSDN Git Service

[SelectionDAG] Remove the code that handles SETCC with a scalar result type from...
authorCraig Topper <craig.topper@intel.com>
Tue, 5 Dec 2017 17:37:19 +0000 (17:37 +0000)
committerCraig Topper <craig.topper@intel.com>
Tue, 5 Dec 2017 17:37:19 +0000 (17:37 +0000)
commit394c6e8c3cf1d38365778dddad3850a85eb1ee09
treeb801674e862c0aafc7d426399b01267a893e6f76
parentb0c5aec965477c0b54e37bffb5308333cb484cca
[SelectionDAG] Remove the code that handles SETCC with a scalar result type from vector widening.

There's no such thing as a setcc with vector operands and scalar result. And if we're trying to widen the result we would have to already be looking at a vector result type.

So this patch renames the VSETCC function as the SETCC function and delete the original SETCC function.

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