[Analysis] Become aware of MSVC's new/delete functions
authorDavid Majnemer <david.majnemer@gmail.com>
Thu, 3 Dec 2015 22:45:19 +0000 (22:45 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Thu, 3 Dec 2015 22:45:19 +0000 (22:45 +0000)
commit68c9f5ec88b3d7679f09d6634c64e6f1d209f097
tree6e736d8d2043c62c53c2b54647a8106c2971fe52
parentbb300c512008269c1caabff9613a6dbc49f83fa4
[Analysis] Become aware of MSVC's new/delete functions

The compiler can take advantage of the allocation/deallocation
function's properties.  We knew how to do this for Itanium but had no
support for MSVC-style functions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254656 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/TargetLibraryInfo.def
lib/Analysis/MemoryBuiltins.cpp
test/Transforms/InstCombine/malloc-free-delete.ll