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 | 49669e6d3a5743bf02a7b22f16fee6fa187c1930 (patch) | |
tree | ba41088d56c2245a8ea1216d81fa3fee43830734 /lib/Transforms | |
parent | 345ce549a9f79cb4c8f513564bb710a61cc8483f (diff) |
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
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/IPO/GlobalOpt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/GlobalOpt.cpp b/lib/Transforms/IPO/GlobalOpt.cpp index 735a1c47c3..1fb9e64965 100644 --- a/lib/Transforms/IPO/GlobalOpt.cpp +++ b/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; |