commit | 49669e6d3a5743bf02a7b22f16fee6fa187c1930 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Jul 16 20:50:13 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Jul 16 20:50:13 2010 +0000 |
tree | ba41088d56c2245a8ea1216d81fa3fee43830734 | |
parent | 345ce549a9f79cb4c8f513564bb710a61cc8483f [diff] [blame] |
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
diff --git a/lib/Transforms/IPO/GlobalOpt.cpp b/lib/Transforms/IPO/GlobalOpt.cpp index 735a1c4..1fb9e64 100644 --- a/lib/Transforms/IPO/GlobalOpt.cpp +++ b/lib/Transforms/IPO/GlobalOpt.cpp
@@ -1467,7 +1467,7 @@ TargetData *TD) { if (!TD) return false; - + // If this is a malloc of an abstract type, don't touch it. if (!AllocTy->isSized()) return false;