diff options
author | Chris Lattner <sabre@nondot.org> | 2006-11-07 04:11:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-11-07 04:11:44 +0000 |
commit | 94c231f453239a5a1af352d6d4885e622dadf128 (patch) | |
tree | 658d595dd12e1a6b20e90c88914267e2e1bcc15e | |
parent | e553746e49178c9a52d51e508f0f6d77e5c9f943 (diff) | |
download | llvm-94c231f453239a5a1af352d6d4885e622dadf128.zip llvm-94c231f453239a5a1af352d6d4885e622dadf128.tar.gz llvm-94c231f453239a5a1af352d6d4885e622dadf128.tar.bz2 |
Fix PR988 and CodeGen/Generic/2006-11-06-MemIntrinsicExpand.ll.
The low part goes in the first operand of expandop, not the second one.
llvm-svn: 31487
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index b1dfc90..59f4767 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -2039,7 +2039,7 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) { case Expand: { // Length is too big, just take the lo-part of the length. SDOperand HiPart; - ExpandOp(Node->getOperand(3), HiPart, Tmp4); + ExpandOp(Node->getOperand(3), Tmp4, HiPart); break; } case Legal: |