diff options
author | Dale Johannesen <dalej@apple.com> | 2010-11-18 01:35:23 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2010-11-18 01:35:23 +0000 |
commit | ed0d8408386e225c21daa2eb8b7195e6c2d470c9 (patch) | |
tree | 6113b06d84b3498bf88447e53da230bc32f6ff94 /llvm/lib/CodeGen | |
parent | a2f30cc12138625c93e5f0a7f92690270423f76f (diff) | |
download | bcm5719-llvm-ed0d8408386e225c21daa2eb8b7195e6c2d470c9.tar.gz bcm5719-llvm-ed0d8408386e225c21daa2eb8b7195e6c2d470c9.zip |
Do not throw away alignment when generating the DAG for
memset; we may need it to decide between MOVAPS and MOVUPS
later. Adjust a test that was looking for wrong code.
PR 3866 / 8675131.
llvm-svn: 119605
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 5477e7bf60d..08ef505babc 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -3487,7 +3487,7 @@ static SDValue getMemsetStores(SelectionDAG &DAG, DebugLoc dl, SDValue Store = DAG.getStore(Chain, dl, Value, getMemBasePlusOffset(Dst, DstOff, DAG), DstPtrInfo.getWithOffset(DstOff), - isVol, false, 0); + isVol, false, Align); OutChains.push_back(Store); DstOff += VTSize; } |