aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/LoopAccessAnalysis.cpp
diff options
context:
space:
mode:
authorWael Yehia <wyehia@ca.ibm.com>2024-09-23 14:55:35 +0000
committerWael Yehia <wyehia@ca.ibm.com>2024-09-23 15:09:08 +0000
commit606557ddd68bcb082fb82fd21b0afb260222ae14 (patch)
tree3c01343d66801d70b98ebd8734bc287776ce0f16 /llvm/lib/Analysis/LoopAccessAnalysis.cpp
parent53abbced3032b555d43f5b91fafa741c8a11a050 (diff)
downloadllvm-606557ddd68bcb082fb82fd21b0afb260222ae14.zip
llvm-606557ddd68bcb082fb82fd21b0afb260222ae14.tar.gz
llvm-606557ddd68bcb082fb82fd21b0afb260222ae14.tar.bz2
[PGO] use atomics for profile counters in instrprof-dlopen-norpath.test
When two threads dlopen a shared library, one instance of the library is loaded. Hence, code inside the library needs to be thread safe, so use atomic updates for profile counters.
Diffstat (limited to 'llvm/lib/Analysis/LoopAccessAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions