diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2021-06-17 11:11:16 -0500 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2021-06-18 01:07:52 -0500 |
commit | 9959eee0015a97f3eb6bdb1b7b1f500190d66f53 (patch) | |
tree | d34a003d601a3dda998f3d73d674d04fbfd30826 /llvm/lib/Demangle/RustDemangle.cpp | |
parent | 9a23e673caebdd54d8cc285fcad78f18fa2e919a (diff) | |
download | llvm-9959eee0015a97f3eb6bdb1b7b1f500190d66f53.zip llvm-9959eee0015a97f3eb6bdb1b7b1f500190d66f53.tar.gz llvm-9959eee0015a97f3eb6bdb1b7b1f500190d66f53.tar.bz2 |
[Attributor] Make sure Heap2Stack works properly on a GPU target
If the target stack is not accessible between different running
"threads" we have to make sure not to create allocas for mallocs
that might be used by multiple "threads". The "use check" is
sufficient to prevent this but if we apply the "free check" we have
to make sure the pointer is not communicated to others before
the free is reached.
Differential Revision: https://reviews.llvm.org/D98608
Diffstat (limited to 'llvm/lib/Demangle/RustDemangle.cpp')
0 files changed, 0 insertions, 0 deletions