diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-08-26 15:05:55 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-08-26 15:05:55 +0000 |
commit | c52565157d23c7b8a374b74044a5458ea67d6cb5 (patch) | |
tree | 2e11112a1cd1620394c6763dd90420cdbaf019ea /lib/CodeGen | |
parent | 8e78012457682d335ee97cf2859dfe03b7e2ae93 (diff) | |
download | external_llvm-c52565157d23c7b8a374b74044a5458ea67d6cb5.zip external_llvm-c52565157d23c7b8a374b74044a5458ea67d6cb5.tar.gz external_llvm-c52565157d23c7b8a374b74044a5458ea67d6cb5.tar.bz2 |
SelectionDAG: Use correct pointer size when splitting vector stores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189224 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp b/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp index fd5f977..52990c3 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp @@ -1270,7 +1270,7 @@ SDValue DAGTypeLegalizer::SplitVecOp_STORE(StoreSDNode *N, unsigned OpNo) { // Increment the pointer to the other half. Ptr = DAG.getNode(ISD::ADD, DL, Ptr.getValueType(), Ptr, - DAG.getIntPtrConstant(IncrementSize)); + DAG.getConstant(IncrementSize, Ptr.getValueType())); if (isTruncating) Hi = DAG.getTruncStore(Ch, DL, Hi, Ptr, |