diff options
author | Nikita Popov <npopov@redhat.com> | 2022-01-06 10:20:42 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-01-06 14:38:19 +0100 |
commit | 41a522779dffb79c055097b2d16aaac689e1b5e3 (patch) | |
tree | 104488426cfa5e085242b9963d5345b08b5d3290 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | f430c1eb6443282481e72e4fd209c9ada61e7cf1 (diff) | |
download | llvm-41a522779dffb79c055097b2d16aaac689e1b5e3.zip llvm-41a522779dffb79c055097b2d16aaac689e1b5e3.tar.gz llvm-41a522779dffb79c055097b2d16aaac689e1b5e3.tar.bz2 |
[LICM] Check for noalias call instead of alloc like fn
When determining whether the memory is local to the function (and
we can thus introduce spurious writes without thread-safety issues),
check for a noalias call rather than the hardcoded list of memory
allocation functions. Noalias calls are the more general way to
determine allocation functions, as long as we're only interested
in the property that the returned value is distinct from any other
accessible memory.
Differential Revision: https://reviews.llvm.org/D116728
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions