- Code clean up to reduce indentation.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 14 Apr 2010 20:52:55 +0000 (20:52 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 14 Apr 2010 20:52:55 +0000 (20:52 +0000)
commit86cd445645803282db7eccda297e0c19e9e25b51
treea4af555c3e6e1d192b51696bde04747f366242f8
parent7b975f411f03a00e352c6ef7d9745e76ad070fd2
- Code clean up to reduce indentation.
- TryToOptimizeStoreOfMallocToGlobal should check if TargetData is available and bail out if it is not. The transformations being done requires TD.

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