diff options
author | Tom Eccles <tom.eccles@arm.com> | 2024-11-07 12:27:31 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-07 12:27:31 +0000 |
commit | 8269c400b430e4beb9fdb51b94dbc79b84c37f70 (patch) | |
tree | 65c700b2b0804f200a17d829e614fe1504e22ad2 /llvm/lib/Analysis/MemoryBuiltins.cpp | |
parent | b358f218a114c1495cfb356b1b95c866c32f72c4 (diff) | |
download | llvm-8269c400b430e4beb9fdb51b94dbc79b84c37f70.zip llvm-8269c400b430e4beb9fdb51b94dbc79b84c37f70.tar.gz llvm-8269c400b430e4beb9fdb51b94dbc79b84c37f70.tar.bz2 |
[mlir][OpenMP][NFC] delayed privatisation cleanup (#115298)
Upstreaming some code cleanups ahead of supporting delayed task
execution.
- Make allocatePrivateVars not need to be a template (it will need to
operate separately on firstprivate and private variables for delayed
task execution so it can't index into lists of all variables in the
operation).
- Use llvm::SmallVectorImpl for function arguments
- collectPrivatizationDecls already reserves size for privateDecls so we
don't need to do that in callers
- Use llvm::zip_equal instead of C-style array indexing
Diffstat (limited to 'llvm/lib/Analysis/MemoryBuiltins.cpp')
0 files changed, 0 insertions, 0 deletions