PR21145: Teach LLVM about C++14 sized deallocation functions.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 3 Oct 2014 20:17:06 +0000 (20:17 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 3 Oct 2014 20:17:06 +0000 (20:17 +0000)
commit2451e5b5812c8e70619b219c9b0ee52fd256ea21
treef33519fb1c060181f06ab182d8b78387123aba44
parent83902832de6aacf9949ae227c04755497f67c974
PR21145: Teach LLVM about C++14 sized deallocation functions.

C++14 adds new builtin signatures for 'operator delete'. This change allows
new/delete pairs to be removed in C++14 onwards, as they were in C++11 and
before.

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