summaryrefslogtreecommitdiff
path: root/test/Transforms/GlobalOpt/2009-11-16-MallocSingleStoreToGlobalVar.ll
Commit message (Collapse)AuthorAge
* Add unnamed_addr when we can show that address of a global is not used.Rafael Espindola2011-01-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123834 91177308-0d34-0410-b5e6-96231b3b80d8
* Invert isSafeToGetMallocArraySize check because we return NULL when we don't ↵Victor Hernandez2009-10-16
know the size. Thanks to Duncan Sands for noticing this bug. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84260 91177308-0d34-0410-b5e6-96231b3b80d8