eliminate unlockedRefineAbstractTypeTo, types are all per-llvmcontext,

so there is no locking involved in type refinement.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108553 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2010-07-16 20:50:13 +00:00
parent 345ce549a9
commit 49669e6d3a
4 changed files with 5 additions and 18 deletions

View File

@@ -1467,7 +1467,7 @@ static bool TryToOptimizeStoreOfMallocToGlobal(GlobalVariable *GV,
TargetData *TD) {
if (!TD)
return false;
// If this is a malloc of an abstract type, don't touch it.
if (!AllocTy->isSized())
return false;