From ae986f1f1e8a9a91107c82699e43be9c1c751670 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Wed, 11 Jan 2006 22:15:48 +0000 Subject: Support for MEMCPY and MEMSET. llvm-svn: 25226 --- llvm/lib/Target/X86/X86ISelPattern.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Target/X86/X86ISelPattern.cpp') diff --git a/llvm/lib/Target/X86/X86ISelPattern.cpp b/llvm/lib/Target/X86/X86ISelPattern.cpp index 563539d0903..6ca4078047d 100644 --- a/llvm/lib/Target/X86/X86ISelPattern.cpp +++ b/llvm/lib/Target/X86/X86ISelPattern.cpp @@ -3558,8 +3558,8 @@ void ISel::Select(SDOperand N) { Opcode = X86::REP_STOSB; } - // No matter what the alignment is, we put the source in ESI, the - // destination in EDI, and the count in ECX. + // No matter what the alignment is, we put the destination in EDI, and the + // count in ECX. unsigned TmpReg1 = SelectExpr(Node->getOperand(1)); BuildMI(BB, X86::MOV32rr, 1, X86::ECX).addReg(CountReg); BuildMI(BB, X86::MOV32rr, 1, X86::EDI).addReg(TmpReg1); -- cgit v1.2.3