[llvm-commits] [poolalloc] r133722 - /poolalloc/trunk/lib/AssistDS/TypeChecksOpt.cpp
Arushi Aggarwal
aggarwa4 at illinois.edu
Thu Jun 23 09:59:23 PDT 2011
Author: aggarwa4
Date: Thu Jun 23 11:59:23 2011
New Revision: 133722
URL: http://llvm.org/viewvc/llvm-project?rev=133722&view=rev
Log:
When setting to TOP use 0xFF.
Modified:
poolalloc/trunk/lib/AssistDS/TypeChecksOpt.cpp
Modified: poolalloc/trunk/lib/AssistDS/TypeChecksOpt.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/AssistDS/TypeChecksOpt.cpp?rev=133722&r1=133721&r2=133722&view=diff
==============================================================================
--- poolalloc/trunk/lib/AssistDS/TypeChecksOpt.cpp (original)
+++ poolalloc/trunk/lib/AssistDS/TypeChecksOpt.cpp Thu Jun 23 11:59:23 2011
@@ -236,7 +236,7 @@
assert(AI);
std::vector<Value*>Args;
Args.push_back(CI->getOperand(3));
- Args.push_back(ConstantInt::get(Int8Ty, 1));
+ Args.push_back(ConstantInt::get(Int8Ty, 255));
Args.push_back(CI->getOperand(2));
Args.push_back(ConstantInt::get(Int32Ty, AI->getAlignment()));
CallInst::Create(memsetF, Args.begin(), Args.end(), "", CI);
More information about the llvm-commits
mailing list