diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/SelectionDAG.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h index 4b3f904..82becca 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)); } |