SuccessChanges

Summary

  1. [flang][OpenMP] Enhance parser support for atomic construct to OpenMP 5.0 (details)
  2. [llvm-objcopy] Consolidate and unify version tests (details)
Commit 4536c6acb3809eaadc836f24f091db1b50b82af9 by kirankumar.tp
[flang][OpenMP] Enhance parser support for atomic construct to OpenMP 5.0

Summary:
This patch enhances parser support for atomic construct to OpenMP 5.0.
2.17.7 atomic -> ATOMIC [clause [,]] atomic-clause [[,] clause] |
                 ATOMIC [clause]
       clause -> memory-order-clause | HINT(hint-expression)
       memory-order-clause -> SEQ_CST | ACQ_REL | RELEASE | ACQUIRE | RELAXED
       atomic-clause -> READ | WRITE | UPDATE | CAPTURE

The patch includes code changes and testcase modifications.

Reviewed By: DavidTruby, kiranchandramohan, sameeranjoshi

Differential Revision: https://reviews.llvm.org/D82931
The file was modifiedflang/include/flang/Parser/parse-tree.h (diff)
The file was modifiedflang/lib/Parser/openmp-parsers.cpp (diff)
The file was modifiedflang/include/flang/Parser/dump-parse-tree.h (diff)
The file was modifiedflang/docs/OpenMP-4.5-grammar.txt (diff)
The file was modifiedflang/lib/Parser/unparse.cpp (diff)
The file was modifiedflang/test/Semantics/omp-atomic.f90 (diff)
Commit 10af5bad443dd15b79876fbad66d836ab9e9a4ed by alexshap
[llvm-objcopy] Consolidate and unify version tests

In this diff the tests which verify version printing functionality are refactored.
Since they are not specific to a particular format we move them into tool-version.test
and slightly unify (similarly to tool-name.test and tool-help-message.test).

Test plan: make check-all

Differential revision: https://reviews.llvm.org/D87211
The file was addedllvm/test/tools/llvm-objcopy/tool-version.test
The file was removedllvm/test/tools/llvm-objcopy/ELF/strip-version.test
The file was removedllvm/test/tools/llvm-objcopy/ELF/objcopy-version.test
The file was removedllvm/test/tools/llvm-objcopy/MachO/install-name-tool-version.test