Progress:
In progressChanges

Summary

  1. Parse vector bool when stdbool.h and altivec.h are included (details)
  2. [HIP] Add __builtin_amdgcn_groupstaticsize (details)
  3. [AMDGPU] Only allow global fp atomics with unsafe option (details)
Commit 8fa168fc50ba4f63b79773c947ef5b3e43d5c02f by zarko
Parse vector bool when stdbool.h and altivec.h are included

Currently when including stdbool.h and altivec.h declaration of `vector bool` leads to
errors due to `bool` being expanded to '_Bool`. This patch allows the parser
to recognize `_Bool`.

Reviewed By: hubert.reinterpretcast, Everybody0523

Differential Revision: https://reviews.llvm.org/D102064
The file was modifiedclang/include/clang/Parse/Parser.h
The file was modifiedclang/lib/Parse/Parser.cpp
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was addedclang/test/Parser/altivec-zvector-bool.c
Commit 6a67e05a26eb5f58665bd6d063b9f389e7dd28a7 by enye.shi
[HIP] Add __builtin_amdgcn_groupstaticsize

Differential Revision: https://reviews.llvm.org/D102403
The file was modifiedclang/test/CodeGenOpenCL/builtins-amdgcn-vi.cl
The file was modifiedclang/include/clang/Basic/BuiltinsAMDGPU.def
The file was modifiedclang/test/CodeGenOpenCL/builtins-amdgcn-gfx10.cl
The file was modifiedclang/test/CodeGenOpenCL/builtins-amdgcn-ci.cl
The file was modifiedclang/test/CodeGenOpenCL/builtins-amdgcn-gfx9.cl
Commit 8f98356bb53dca07a86bf098556d446e0d5af6fe by Stanislav.Mekhanoshin
[AMDGPU] Only allow global fp atomics with unsafe option

Previously we were allowing to use FP atomics without
-amdgpu-unsafe-fp-atomics option if a scope is less then
system. This is not safe just as well if we have UC memory.

This change only allows global and flat FP atomics with
the unsafe option. Consequentially that makes a check for
denorm mode redundant since we skip it with the unsafe
option and do not have a way to produce these instructions
without it anyway.

Differential Revision: https://reviews.llvm.org/D102347
The file was modifiedllvm/test/CodeGen/AMDGPU/global-atomics-fp.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/fp64-atomics-gfx90a.ll