diff options
author | Dan Gohman <gohman@apple.com> | 2008-04-28 17:15:20 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-04-28 17:15:20 +0000 |
commit | 1f13c686df75ddbbe15b208606ece4846d7479a8 (patch) | |
tree | a3562b2ccf01378f4421c755328b783c9dbf9c49 /include/llvm | |
parent | 23e8b715267a64381e2fff8c208da1f24b387b83 (diff) | |
download | external_llvm-1f13c686df75ddbbe15b208606ece4846d7479a8.zip external_llvm-1f13c686df75ddbbe15b208606ece4846d7479a8.tar.gz external_llvm-1f13c686df75ddbbe15b208606ece4846d7479a8.tar.bz2 |
Fix the SVOffset values for loads and stores produced by
memcpy/memset expansion. It was a bug for the SVOffset value
to be used in the actual address calculations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50359 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/CodeGen/SelectionDAG.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h index 0d0e4d3..e17e32e 100644 --- a/include/llvm/CodeGen/SelectionDAG.h +++ b/include/llvm/CodeGen/SelectionDAG.h @@ -326,17 +326,17 @@ public: SDOperand getMemcpy(SDOperand Chain, SDOperand Dst, SDOperand Src, SDOperand Size, unsigned Align, bool AlwaysInline, - const Value *DstSV, uint64_t DstOff, - const Value *SrcSV, uint64_t SrcOff); + const Value *DstSV, uint64_t DstSVOff, + const Value *SrcSV, uint64_t SrcSVOff); SDOperand getMemmove(SDOperand Chain, SDOperand Dst, SDOperand Src, SDOperand Size, unsigned Align, - const Value *DstSV, uint64_t DstOff, - const Value *SrcSV, uint64_t SrcOff); + const Value *DstSV, uint64_t DstOSVff, + const Value *SrcSV, uint64_t SrcSVOff); SDOperand getMemset(SDOperand Chain, SDOperand Dst, SDOperand Src, SDOperand Size, unsigned Align, - const Value *DstSV, uint64_t DstOff); + const Value *DstSV, uint64_t DstSVOff); /// getSetCC - Helper function to make it easier to build SetCC's if you just /// have an ISD::CondCode instead of an SDOperand. |