summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/DFAPacketizer.cpp
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2018-11-09 06:39:45 +0000
committerDean Michael Berris <dberris@google.com>2018-11-09 06:39:45 +0000
commitaeae5450649b6aa58570b74ace273e3bba980d22 (patch)
tree1ea2bffb7bb3e000d59e57f918daa7f2fb1eb867 /llvm/lib/CodeGen/DFAPacketizer.cpp
parentda375a67f8f64fb6398ffdc1afc1bd9e829eaff8 (diff)
downloadbcm5719-llvm-aeae5450649b6aa58570b74ace273e3bba980d22.tar.gz
bcm5719-llvm-aeae5450649b6aa58570b74ace273e3bba980d22.zip
[XRay] Add atomic fences around non-atomic reads and writes
Summary: We need these fences to ensure that other threads attempting to read bytes in the buffer will see thw writes committed before the extents are updated. Without these, the writes can be un-committed by the time the buffer extents counter is updated -- the fences should ensure that the records written into the log have completed by the time we observe the buffer extents from different threads. Reviewers: mboerger Subscribers: jfb, llvm-commits Differential Revision: https://reviews.llvm.org/D54291 llvm-svn: 346474
Diffstat (limited to 'llvm/lib/CodeGen/DFAPacketizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud