temporarily revert Sangiv's patch.

llvm-svn: 59821
This commit is contained in:
Chris Lattner
2008-11-21 16:26:37 +00:00
parent 15799fd210
commit b7f4ce3de7
2 changed files with 25 additions and 4 deletions

View File

@@ -327,7 +327,7 @@ void AggExprEmitter::EmitNullInitializationToLValue(LValue LV, QualType T) {
// There's a potential optimization opportunity in combining
// memsets; that would be easy for arrays, but relatively
// difficult for structures with the current code.
llvm::Value *MemSet = CGF.CGM.getIntrinsic(llvm::Intrinsic::memset);
llvm::Value *MemSet = CGF.CGM.getIntrinsic(llvm::Intrinsic::memset_i64);
uint64_t Size = CGF.getContext().getTypeSize(T);
const llvm::Type *BP = llvm::PointerType::getUnqual(llvm::Type::Int8Ty);