aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86ISelLowering.cpp
diff options
context:
space:
mode:
authorJuergen Ributzka <juergen@apple.com>2013-09-21 15:09:46 +0000
committerJuergen Ributzka <juergen@apple.com>2013-09-21 15:09:46 +0000
commit189c6235e7d783928c94cbfe4bccb39e4bd0b84f (patch)
tree5ebe6732cb4475cc336d8220726ef1b58ceace00 /lib/Target/X86/X86ISelLowering.cpp
parent95838d5caf2d234156d5862d54f8e78d649a7d1b (diff)
downloadexternal_llvm-189c6235e7d783928c94cbfe4bccb39e4bd0b84f.zip
external_llvm-189c6235e7d783928c94cbfe4bccb39e4bd0b84f.tar.gz
external_llvm-189c6235e7d783928c94cbfe4bccb39e4bd0b84f.tar.bz2
Revert "SelectionDAG: Teach the legalizer to split SETCC if VSELECT needs splitting too."
This reverts commit r191130. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191138 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86ISelLowering.cpp')
-rw-r--r--lib/Target/X86/X86ISelLowering.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp
index c5cc2cb..f1034eb 100644
--- a/lib/Target/X86/X86ISelLowering.cpp
+++ b/lib/Target/X86/X86ISelLowering.cpp
@@ -1535,16 +1535,7 @@ void X86TargetLowering::resetOperationActions() {
}
EVT X86TargetLowering::getSetCCResultType(LLVMContext &, EVT VT) const {
- if (!VT.isVector())
- return MVT::i8;
-
- const TargetMachine &TM = getTargetMachine();
- if (!TM.Options.UseSoftFloat && Subtarget->hasAVX512())
- switch(VT.getVectorNumElements()) {
- case 8: return MVT::v8i1;
- case 16: return MVT::v16i1;
- }
-
+ if (!VT.isVector()) return MVT::i8;
return VT.changeVectorElementTypeToInteger();
}