SuccessChanges

Summary

  1. [flang][openacc] Add check for tile clause restriction (details)
  2. [MSAN] Add fiber switching APIs (details)
  3. [flang][openacc] Fix gang-argument parsing and add validity tests for !$acc loop (details)
Commit 4df2a5f782db1d4e2e11ed1cf64e085e6fce7893 by clementval
[flang][openacc] Add check for tile clause restriction

The tile clause in OpenACC 3.0 imposes some restriction. Element in the tile size list are either * or a
constant positive integer expression. If there are n tile sizes in the list, the loop construct must be immediately
followed by n tightly-nested loops.
This patch implement these restrictions and add some tests.

Reviewed By: klausler

Differential Revision: https://reviews.llvm.org/D86655
The file was modifiedflang/include/flang/Parser/parse-tree.h (diff)
The file was modifiedflang/test/Semantics/acc-canonicalization-validity.f90 (diff)
The file was modifiedllvm/include/llvm/Frontend/OpenACC/ACC.td (diff)
The file was modifiedflang/lib/Semantics/canonicalize-acc.cpp (diff)
The file was modifiedflang/lib/Parser/openacc-parsers.cpp (diff)
The file was modifiedflang/test/Semantics/acc-clause-validity.f90 (diff)
The file was modifiedflang/include/flang/Parser/dump-parse-tree.h (diff)
Commit 1d3ef5f122fe0b25283b7d72d5664474eabfb61e by Vitaly Buka
[MSAN] Add fiber switching APIs

Add functions exposed via the MSAN interface to enable MSAN within
binaries that perform manual stack switching (e.g. through using fibers
or coroutines).

This functionality is analogous to the fiber APIs available for ASAN and TSAN.

Fixes google/sanitizers#1232

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D86471
The file was modifiedcompiler-rt/lib/msan/msan_thread.h (diff)
The file was modifiedcompiler-rt/lib/msan/msan_interface_internal.h (diff)
The file was addedcompiler-rt/test/msan/Linux/swapcontext_annotation.cpp
The file was addedcompiler-rt/test/msan/Linux/swapcontext_annotation_reset.cpp
The file was modifiedcompiler-rt/lib/msan/msan.cpp (diff)
The file was modifiedcompiler-rt/lib/msan/msan_thread.cpp (diff)
The file was modifiedcompiler-rt/include/sanitizer/msan_interface.h (diff)
Commit 832c8a72988a3d5889a1ae16322df39f0215d5a2 by clementval
[flang][openacc] Fix gang-argument parsing and add validity tests for !$acc loop

This patch fix the prasing for the gang-arg values for the gang clause. It also adds
some clause validity tests for the loop construct.

Reviewed By: klausler

Differential Revision: https://reviews.llvm.org/D86584
The file was modifiedflang/lib/Parser/openacc-parsers.cpp (diff)
The file was modifiedflang/test/Semantics/acc-clause-validity.f90 (diff)