Fix for bugzilla https://bugs.llvm.org/show_bug.cgi?id=39137.
Fix for bugzilla https://bugs.llvm.org/show_bug.cgi?id=39137.

Do not write to internal structure if it keeps same value.

Differential Revision: https://reviews.llvm.org/D54305


git-svn-id: f99161ee8ccfe2101cbe1bdda2220bce2ed25485@346862 91177308-0d34-0410-b5e6-96231b3b80d8

llvm-mirror/openmp,llvm-mirror/openmp,llvm-mirror/openmp,llvm-mirror/openmp,llvm-mirror/openmp