SuccessChanges

Summary

  1. [OPENMP51] Add present modifier in defaultmap clause (details)
  2. Reland dcdef5b5b3df457566e7faf61e1e5789c42528d1 (details)
  3. Adding a test case that I accidentally dropped from 27ea7d0a6e0dc51e0214707bcc265fa6f9dc9bc6 (details)
  4. Consider reference, pointer, and pointer-to-member TemplateArguments to be different if they have different types. (details)
  5. Set decl on DeclRefExpr directly during deserialization rather than (details)
  6. [mlir] Allow nested regions in inlineRegionAndEmitStore (details)
  7. [AMDGPU] Clarify scratch initialization (details)
Commit 82f2c61ca084fec5bda631ac6638b50298ddd0f8 by cchen
[OPENMP51] Add present modifier in defaultmap clause

Support present modifier in defaultmap by adding an extra dimension
for `ImplicitMap`. Therefore, we now create OMPMapClause in `ActOnOpenMPExecutableDirective`
based on both `maptype` and `maptype-modifier`.

Reviewed By: ABataev

Differential Revision: https://reviews.llvm.org/D92427
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_defaultmap_messages.cpp
The file was modifiedclang/test/OpenMP/target_ast_print.cpp
The file was removedclang/test/OpenMP/target_defaultmap_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_defaultmap_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_defaultmap_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_defaultmap_messages.cpp
The file was modifiedclang/include/clang/Basic/OpenMPKinds.def
The file was addedclang/test/OpenMP/target_defaultmap_codegen_01.cpp
The file was modifiedclang/test/OpenMP/target_parallel_defaultmap_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_defaultmap_messages.cpp
The file was modifiedclang/test/OpenMP/target_simd_defaultmap_messages.cpp
The file was modifiedclang/test/OpenMP/target_defaultmap_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_defaultmap_messages.cpp
The file was addedclang/test/OpenMP/target_defaultmap_codegen_02.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_defaultmap_messages.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
Commit 0545680cb870f1ca81198cd8324814543eb79e64 by kbobyrev
Reland dcdef5b5b3df457566e7faf61e1e5789c42528d1

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D92198
The file was modifiedclang-tools-extra/clangd/index/remote/Client.cpp
Commit ef40d5233b8b6f82927128c5b255cdc3aed9021d by aaron
Adding a test case that I accidentally dropped from 27ea7d0a6e0dc51e0214707bcc265fa6f9dc9bc6
The file was addedclang/test/Parser/attr-availability-xcore.c
Commit 6c365cd31e323d2d075573edd927e4f7fb5ec01c by richard
Consider reference, pointer, and pointer-to-member TemplateArguments to be different if they have different types.

For the Itanium ABI, this implements the mangling rule suggested in
https://github.com/itanium-cxx-abi/cxx-abi/issues/47, namely mangling
such template arguments as being cast to the parameter type in the case
where the template name is overloadable. This can cause a mangling
change for rare cases, where

* the template argument declaration is converted from its declared type
   to the type of the template parameter, and
* the template parameter either has a deduced type or is a parameter of
   a function template.

However, such changes are necessary to avoid mangling collisions. The
ABI changes can be reversed with -fclang-abi-compat=11 or earlier.

Re-commit with a fix for a couple of regressions.

Differential Revision: https://reviews.llvm.org/D91488
The file was modifiedclang/lib/AST/TemplateBase.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.h
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/test/SemaTemplate/temp_arg_nontype.cpp
The file was modifiedclang/test/CodeGenCXX/mangle-template.cpp
The file was modifiedclang/test/CodeGenCXX/mangle-class-nttp.cpp
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/test/SemaTemplate/temp_arg_nontype_cxx1z.cpp
The file was modifiedclang/test/CodeGenCXX/clang-abi-compat.cpp
Commit 76edf98b27c45f1aa26c1972927ce1638cda50fd by richard
Set decl on DeclRefExpr directly during deserialization rather than
relying on a setter that might have additional side-effects. NFC.
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
Commit 922d3d55220dfcfde1f68d17fddca5680aff9545 by tpopp
[mlir] Allow nested regions in inlineRegionAndEmitStore

This is useful for scalar code that uses for/while loops.
This has also been confirmed to work for representing std.pow as an
scf.for loop on gpus.

Differential Revision: https://reviews.llvm.org/D93308
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Loops.cpp
Commit d5ea8f70105ad9802e7d759702830d50e4f16c7b by Tony.Tye
[AMDGPU] Clarify scratch initialization

- Clarify documentation on initializing scratch.
- Rename compute_pgm_rsrc2 field for enabling scratch from
  ENABLE_SGPR_PRIVATE_SEGMENT_WAVEFRONT_OFFSET to
  ENABLE_PRIVATE_SEGMENT to match hardware definition.

Differential Revision: https://reviews.llvm.org/D93271
The file was modifiedllvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
The file was modifiedllvm/include/llvm/Support/AMDHSAKernelDescriptor.h
The file was modifiedllvm/docs/AMDGPUUsage.rst
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp