summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CodeGenDAGPatterns.h
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2017-05-31 20:33:56 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2017-05-31 20:33:56 +0000
commit9f5df8b02e27703b2f1febd51dac3450d6431345 (patch)
tree1ba8ea60dc3da11e407d67cf4597d14e40f9a4ee /llvm/utils/TableGen/CodeGenDAGPatterns.h
parentac4beccaca713c8500afc8abb9630b8b38564e36 (diff)
downloadbcm5719-llvm-9f5df8b02e27703b2f1febd51dac3450d6431345.tar.gz
bcm5719-llvm-9f5df8b02e27703b2f1febd51dac3450d6431345.zip
Address default pinning OpenMP process with multiple processor groups
This change checks if the initial affinity mask is equal to exactly one Windows processor group's affinity mask. If it is, then the code does not respect the initial affinity mask and uses the entire machine instead. The reasoning behind this is that, by default, Windows assigns exactly one processor group as the initial affinity mask even when there are multiple Windows processor groups available. User's typically want to use the whole machine, so we ignore this special case and use the entire machine. If the initial affinity mask is a proper subset of one group, or spans multiple groups, then the initial affinity mask is respected since we can assume that the operating system did not assign this initial affinity mask. This change only affects machines with multiple processor groups Differential Revision: https://reviews.llvm.org/D33210 llvm-svn: 304343
Diffstat (limited to 'llvm/utils/TableGen/CodeGenDAGPatterns.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud