Implement a FIXME by checking to make sure that a malloc is not being used
authorChris Lattner <sabre@nondot.org>
Thu, 2 Dec 2004 07:11:07 +0000 (07:11 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 2 Dec 2004 07:11:07 +0000 (07:11 +0000)
commitfa07e4fc302b1e274c292c2db4604e61d69458d5
tree62781b170451325d81e02929c10e53a24d38e4a5
parentbc965b97ade56092b5fe4251eb68695271f1d82a
Implement a FIXME by checking to make sure that a malloc is not being used
in scary and unknown ways before we promote it.  This fixes the miscompilation
of 188.ammp that has been plauging us since a globalopt patch went in.

Thanks a ton to Tanya for helping me diagnose the problem!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18418 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/GlobalOpt.cpp