summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/JumpThreading.cpp
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2015-12-23 02:34:03 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2015-12-23 02:34:03 +0000
commit2c295c4e53f7d6712819251685b3410869bb1c7f (patch)
tree0d8ae9f25fabf71d16b12f0459b0a19d67f93bec /llvm/lib/Transforms/Scalar/JumpThreading.cpp
parent22d0d31a727eab92864074ff0fb56a9e55e70db7 (diff)
downloadbcm5719-llvm-2c295c4e53f7d6712819251685b3410869bb1c7f.tar.gz
bcm5719-llvm-2c295c4e53f7d6712819251685b3410869bb1c7f.zip
Fix build error: OMPT_SUPPORT=true was not tested after hinted lock changes
Recent changes to support dynamic locks didn't consider the code compiled when OMPT_SUPPORT=true. As a result, the OMPT support was broken by recent changes to nested locks to support dynamic locks. For OMPT to work with dynamic locks, they need to provide a return code indicating whether a nested lock acquisition was the first or not. This patch moves the OMPT support for nested locks into the #else case when DYNAMIC locks were not used. New support is needed for dynamic locks. This patch fixes the build and leaves a placeholder where the missing OMPT callbacks can be added either the author of the OMPT support for locks, or the dynamic locking support. Patch by John Mellor-Crummey Differential Revision: http://reviews.llvm.org/D15656 llvm-svn: 256314
Diffstat (limited to 'llvm/lib/Transforms/Scalar/JumpThreading.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud