summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/kmp_runtime.cpp
diff options
context:
space:
mode:
authorJonas Hahnfeld <hahnjo@hahnjo.de>2017-11-03 18:28:19 +0000
committerJonas Hahnfeld <hahnjo@hahnjo.de>2017-11-03 18:28:19 +0000
commitf0a1c65fb007d727ff93bd8ff9c438f689cde77d (patch)
tree15f4808dd4e47ef7dd31bf66465d9c9b976a830d /openmp/runtime/src/kmp_runtime.cpp
parent8fe9fb0ae57b7da25bceb154f4a798d347def42f (diff)
downloadbcm5719-llvm-f0a1c65fb007d727ff93bd8ff9c438f689cde77d.tar.gz
bcm5719-llvm-f0a1c65fb007d727ff93bd8ff9c438f689cde77d.zip
Revert "Updating implementation of OMPT as specified in OpenMP 5.0 Preview 2 (TR6)"
This reverts commit r317339 which discarded some recent commits. llvm-svn: 317346
Diffstat (limited to 'openmp/runtime/src/kmp_runtime.cpp')
-rw-r--r--openmp/runtime/src/kmp_runtime.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/openmp/runtime/src/kmp_runtime.cpp b/openmp/runtime/src/kmp_runtime.cpp
index 574cfc4f079..438f7c1a313 100644
--- a/openmp/runtime/src/kmp_runtime.cpp
+++ b/openmp/runtime/src/kmp_runtime.cpp
@@ -1097,10 +1097,9 @@ inline static void propagateFPControl(kmp_team_t *team) {
// There is no point looking at t_fp_control_saved here.
// If it is TRUE, we still have to update the values if they are different
- // from those we now have.
- // If it is FALSE we didn't save anything yet, but our objective is the
- // same. We have to ensure that the values in the team are the same as
- // those we have.
+ // from those we now have. If it is FALSE we didn't save anything yet, but
+ // our objective is the same. We have to ensure that the values in the team
+ // are the same as those we have.
// So, this code achieves what we need whether or not t_fp_control_saved is
// true. By checking whether the value needs updating we avoid unnecessary
// writes that would put the cache-line into a written state, causing all
OpenPOWER on IntegriCloud