diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-09-20 17:32:21 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-09-20 17:32:21 +0000 |
| commit | bb1a1bd2bd19887de41bf3eb6edb3b66496ae937 (patch) | |
| tree | e3bb7e13410246f82a27d59f95642a437e9a61e7 /llvm/lib/CodeGen/SelectionDAG | |
| parent | 692a3ea0b78a5ea426a5bb089878d157e5bb3616 (diff) | |
| download | bcm5719-llvm-bb1a1bd2bd19887de41bf3eb6edb3b66496ae937.tar.gz bcm5719-llvm-bb1a1bd2bd19887de41bf3eb6edb3b66496ae937.zip | |
tidy up
llvm-svn: 82397
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 99673f10f6c..669526780b4 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -3047,8 +3047,8 @@ static SDValue getMemsetValue(SDValue Value, EVT VT, SelectionDAG &DAG, /// used when a memcpy is turned into a memset when the source is a constant /// string ptr. static SDValue getMemsetStringVal(EVT VT, DebugLoc dl, SelectionDAG &DAG, - const TargetLowering &TLI, - std::string &Str, unsigned Offset) { + const TargetLowering &TLI, + std::string &Str, unsigned Offset) { // Handle vector with all elements zero. if (Str.empty()) { if (VT.isInteger()) @@ -3219,7 +3219,7 @@ static SDValue getMemcpyLoadsAndStores(SelectionDAG &DAG, DebugLoc dl, SmallVector<SDValue, 8> OutChains; unsigned NumMemOps = MemOps.size(); uint64_t SrcOff = 0, DstOff = 0; - for (unsigned i = 0; i < NumMemOps; i++) { + for (unsigned i = 0; i != NumMemOps; ++i) { EVT VT = MemOps[i]; unsigned VTSize = VT.getSizeInBits() / 8; SDValue Value, Store; |

