summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CodePlacementOpt.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-08-22 00:29:12 +0000
committerOwen Anderson <resistor@mac.com>2009-08-22 00:29:12 +0000
commit8e2456c2542fc030c0a09707b28902dfcb545a81 (patch)
tree5680fb02cb3570a1efb50bb31c0f62116f6aa3a3 /llvm/lib/CodeGen/CodePlacementOpt.cpp
parent48e4a6c739dcbfeb90862940f01e1e3b2ced9cd3 (diff)
downloadbcm5719-llvm-8e2456c2542fc030c0a09707b28902dfcb545a81.tar.gz
bcm5719-llvm-8e2456c2542fc030c0a09707b28902dfcb545a81.zip
Ease contention on this lock by noticing that all writes to the VTs array will
be of (dynamically) constant values, so races on it are immaterial. We just need to ensure that at least one write has completed before return the pointer into it. With this change, parllc exhibits essentially no overhead on 403.gcc. llvm-svn: 79708
Diffstat (limited to 'llvm/lib/CodeGen/CodePlacementOpt.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud