diff options
| author | Eric Christopher <echristo@apple.com> | 2011-07-06 22:41:18 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@apple.com> | 2011-07-06 22:41:18 +0000 |
| commit | ea336c797c90780d439ab04d030d60fb954c56ce (patch) | |
| tree | 0e49cebd49cd804d0831a6fb2bf238c4da67df75 /llvm/lib/CodeGen | |
| parent | 145a260f755789b7755b2a80b1791e19958a7513 (diff) | |
| download | bcm5719-llvm-ea336c797c90780d439ab04d030d60fb954c56ce.tar.gz bcm5719-llvm-ea336c797c90780d439ab04d030d60fb954c56ce.zip | |
Grammar and 80-col.
llvm-svn: 134555
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 77ce54f8092..b6ebcd28274 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -3326,13 +3326,13 @@ static bool FindOptimalMemOpLowering(std::vector<EVT> &MemOps, const TargetLowering &TLI) { assert((SrcAlign == 0 || SrcAlign >= DstAlign) && "Expecting memcpy / memset source to meet alignment requirement!"); - // If 'SrcAlign' is zero, that means the memory operation does not need load - // the value, i.e. memset or memcpy from constant string. Otherwise, it's - // the inferred alignment of the source. 'DstAlign', on the other hand, is the - // specified alignment of the memory operation. If it is zero, that means - // it's possible to change the alignment of the destination. 'MemcpyStrSrc' - // indicates whether the memcpy source is constant so it does not need to be - // loaded. + // If 'SrcAlign' is zero, that means the memory operation does not need to + // load the value, i.e. memset or memcpy from constant string. Otherwise, + // it's the inferred alignment of the source. 'DstAlign', on the other hand, + // is the specified alignment of the memory operation. If it is zero, that + // means it's possible to change the alignment of the destination. + // 'MemcpyStrSrc' indicates whether the memcpy source is constant so it does + // not need to be loaded. EVT VT = TLI.getOptimalMemOpType(Size, DstAlign, SrcAlign, NonScalarIntSafe, MemcpyStrSrc, DAG.getMachineFunction()); |

