summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-07-26 13:18:16 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-07-26 13:18:16 +0000
commit1d812728cc0ddeb69b9f0d3d2d7d29fa4295086f (patch)
treee56470d2c3524e9a49a3f93e96695281845e29cd /llvm/lib
parent88ac12591cc20dc17fc876790fc952e91f1c3b64 (diff)
downloadbcm5719-llvm-1d812728cc0ddeb69b9f0d3d2d7d29fa4295086f.tar.gz
bcm5719-llvm-1d812728cc0ddeb69b9f0d3d2d7d29fa4295086f.zip
Revert "Add a target legalize hook for SplitVectorOperand"
This reverts commit 187198. It broke the bots. The soft float test probably needs a -triple because of name differences. On the hard float test I am getting a "roundss $1, %xmm0, %xmm0", instead of "vroundss $1, %xmm0, %xmm0, %xmm0". llvm-svn: 187201
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp4
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp2
2 files changed, 1 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
index 72c16b5d39e..75bb6094f56 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
@@ -1031,10 +1031,6 @@ bool DAGTypeLegalizer::SplitVectorOperand(SDNode *N, unsigned OpNo) {
dbgs() << "\n");
SDValue Res = SDValue();
- // See if the target wants to custom split this node.
- if (CustomLowerNode(N, N->getOperand(OpNo).getValueType(), false))
- return false;
-
if (Res.getNode() == 0) {
switch (N->getOpcode()) {
default:
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index ad2d30891ed..e75781e6ba0 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -996,7 +996,7 @@ void X86TargetLowering::resetOperationActions() {
setLoadExtAction(ISD::EXTLOAD, MVT::v2f32, Legal);
}
- if (!TM.Options.UseSoftFloat && Subtarget->hasSSE41()) {
+ if (Subtarget->hasSSE41()) {
setOperationAction(ISD::FFLOOR, MVT::f32, Legal);
setOperationAction(ISD::FCEIL, MVT::f32, Legal);
setOperationAction(ISD::FTRUNC, MVT::f32, Legal);
OpenPOWER on IntegriCloud