diff options
author | Chris Lattner <sabre@nondot.org> | 2010-07-16 20:50:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-07-16 20:50:13 +0000 |
commit | 27e997a168592572176ef7117c62dcdcb24cb120 (patch) | |
tree | 07bb3635d697f4b521604df22cc8f89db77b064e /llvm/lib/Transforms/IPO/GlobalOpt.cpp | |
parent | 0030be81f57c3d2eb36f5cebfe8e92bc5afa7899 (diff) | |
download | bcm5719-llvm-27e997a168592572176ef7117c62dcdcb24cb120.tar.gz bcm5719-llvm-27e997a168592572176ef7117c62dcdcb24cb120.zip |
eliminate unlockedRefineAbstractTypeTo, types are all per-llvmcontext,
so there is no locking involved in type refinement.
llvm-svn: 108553
Diffstat (limited to 'llvm/lib/Transforms/IPO/GlobalOpt.cpp')
-rw-r--r-- | llvm/lib/Transforms/IPO/GlobalOpt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/GlobalOpt.cpp b/llvm/lib/Transforms/IPO/GlobalOpt.cpp index 735a1c47c39..1fb9e649653 100644 --- a/llvm/lib/Transforms/IPO/GlobalOpt.cpp +++ b/llvm/lib/Transforms/IPO/GlobalOpt.cpp @@ -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; |