summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-11-22 05:18:07 +0000
committerBill Wendling <isanbard@gmail.com>2013-11-22 05:18:07 +0000
commitf62b274a93d4014d56fa3a656f4fac6e7d827358 (patch)
treeeded4b0962962f5c1603f4824d7c57bd83e7e200 /include
parentee287ca22abcce9f769618c107ff3f46aa2d0cba (diff)
downloadllvm-f62b274a93d4014d56fa3a656f4fac6e7d827358.tar.gz
llvm-f62b274a93d4014d56fa3a656f4fac6e7d827358.tar.bz2
llvm-f62b274a93d4014d56fa3a656f4fac6e7d827358.tar.xz
Merging r195397:
------------------------------------------------------------------------ r195397 | tstellar | 2013-11-21 16:39:23 -0800 (Thu, 21 Nov 2013) | 11 lines Split SETCC if VSELECT requires splitting too. This patch is a rewrite of the original patch commited in r194542. Instead of relying on the type legalizer to do the splitting for us, we now peform the splitting ourselves in the DAG combiner. This is necessary for the case where the vector mask is a legal type after promotion and still wouldn't require splitting. Patch by: Juergen Ributzka NOTE: This is a candidate for the 3.4 branch. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@195413 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/SelectionDAG.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h
index 4b3f904bc6..82becca315 100644
--- a/include/llvm/CodeGen/SelectionDAG.h
+++ b/include/llvm/CodeGen/SelectionDAG.h
@@ -1149,7 +1149,8 @@ public:
/// SplitVectorOperand - Split the node's operand with EXTRACT_SUBVECTOR and
/// return the low/high part.
- std::pair<SDValue, SDValue> SplitVectorOperand(SDNode *N, unsigned OpNo) {
+ std::pair<SDValue, SDValue> SplitVectorOperand(const SDNode *N, unsigned OpNo)
+ {
return SplitVector(N->getOperand(OpNo), SDLoc(N));
}