[llvm-commits] [poolalloc] r131216 - /poolalloc/trunk/lib/AssistDS/TypeChecks.cpp
Arushi Aggarwal
aggarwa4 at illinois.edu
Wed May 11 18:06:30 PDT 2011
Author: aggarwa4
Date: Wed May 11 20:06:30 2011
New Revision: 131216
URL: http://llvm.org/viewvc/llvm-project?rev=131216&view=rev
Log:
This seems to cause programs to break. Specifically
164.gzip. Revert till fixed.
Modified:
poolalloc/trunk/lib/AssistDS/TypeChecks.cpp
Modified: poolalloc/trunk/lib/AssistDS/TypeChecks.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/AssistDS/TypeChecks.cpp?rev=131216&r1=131215&r2=131216&view=diff
==============================================================================
--- poolalloc/trunk/lib/AssistDS/TypeChecks.cpp (original)
+++ poolalloc/trunk/lib/AssistDS/TypeChecks.cpp Wed May 11 20:06:30 2011
@@ -516,11 +516,11 @@
bool TypeChecks::visitGlobal(Module &M, GlobalVariable &GV,
Constant *C, Instruction &I, unsigned offset) {
- if(EnableTypeSafeOpt) {
+ /*if(EnableTypeSafeOpt) {
if(TS->isTypeSafe(&GV, I.getParent()->getParent())) {
return false;
}
- }
+ }*/
if(ConstantArray *CA = dyn_cast<ConstantArray>(C)) {
const Type * ElementType = CA->getType()->getElementType();
unsigned int t = TD->getTypeStoreSize(ElementType);
More information about the llvm-commits
mailing list