Grammar and 80-col.

llvm-svn: 134555
This commit is contained in:
Eric Christopher 2011-07-06 22:41:18 +00:00
parent 145a260f75
commit ea336c797c
1 changed files with 7 additions and 7 deletions

View File

@ -3326,13 +3326,13 @@ static bool FindOptimalMemOpLowering(std::vector<EVT> &MemOps,
const TargetLowering &TLI) { const TargetLowering &TLI) {
assert((SrcAlign == 0 || SrcAlign >= DstAlign) && assert((SrcAlign == 0 || SrcAlign >= DstAlign) &&
"Expecting memcpy / memset source to meet alignment requirement!"); "Expecting memcpy / memset source to meet alignment requirement!");
// If 'SrcAlign' is zero, that means the memory operation does not need load // If 'SrcAlign' is zero, that means the memory operation does not need to
// the value, i.e. memset or memcpy from constant string. Otherwise, it's // load the value, i.e. memset or memcpy from constant string. Otherwise,
// the inferred alignment of the source. 'DstAlign', on the other hand, is the // it's the inferred alignment of the source. 'DstAlign', on the other hand,
// specified alignment of the memory operation. If it is zero, that means // is the specified alignment of the memory operation. If it is zero, that
// it's possible to change the alignment of the destination. 'MemcpyStrSrc' // means it's possible to change the alignment of the destination.
// indicates whether the memcpy source is constant so it does not need to be // 'MemcpyStrSrc' indicates whether the memcpy source is constant so it does
// loaded. // not need to be loaded.
EVT VT = TLI.getOptimalMemOpType(Size, DstAlign, SrcAlign, EVT VT = TLI.getOptimalMemOpType(Size, DstAlign, SrcAlign,
NonScalarIntSafe, MemcpyStrSrc, NonScalarIntSafe, MemcpyStrSrc,
DAG.getMachineFunction()); DAG.getMachineFunction());