Fix in getAllocationDataForFunction
authorDavid Chisnall <csdavec@swan.ac.uk>
Tue, 28 Aug 2018 08:59:06 +0000 (08:59 +0000)
committerDavid Chisnall <csdavec@swan.ac.uk>
Tue, 28 Aug 2018 08:59:06 +0000 (08:59 +0000)
commit5e52cadf89472a1165dad65c0e1c83c4b71aa9f6
tree0c2d50eaebe842e241fdfb0165982344488d4687
parentf0eedbce4418cfde0ee3bb18fcbd44fcb7f2da2d
Fix in getAllocationDataForFunction

Summary:
Correct to use set like behaviour of AllocType.  Should check for
subset, not precise value.

Reviewers: theraven

Reviewed By: theraven

Subscribers: hiraditya, llvm-commits

Differential Revision: https://reviews.llvm.org/D50959

llvm-svn: 340807
llvm/lib/Analysis/MemoryBuiltins.cpp