SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [mlir][openacc] Remove detach and delete operands from acc.data (details)
  2. [mlir][openacc] Switch to assembly format for acc.data (details)
  3. [mlir][openacc] Add if, deviceptr operands and default attribute (details)
  4. Canonicalize declaration pointers when forming APValues. (details)
  5. Add profiling support for APValues. (details)
  6. [Test] Add tests where we can replace condition with invariants (details)
  7. Revert "Reland [CodeGen] emit CG profile for COFF object file" (details)
  8. [PowerPC] Add tests for `select` patterns. NFC. (details)
Commit 3d2bab176f528de8d24512e092b2bfb319899b1e by clementval
[mlir][openacc] Remove detach and delete operands from acc.data

This patch remove the detach and delete operands. Those operands represent the detach
and delete clauses that will appear in another operation acc.exit_data

Reviewed By: kiranktp, kiranchandramohan

Differential Revision: https://reviews.llvm.org/D88326
The file was modifiedmlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
The file was modifiedmlir/test/Dialect/OpenACC/ops.mlir
The file was modifiedmlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
Commit 12ab4f8acadabdea1cc199e400c17543d213f5dd by clementval
[mlir][openacc] Switch to assembly format for acc.data

This patch remove the printer/parser for the acc.data operation since its syntax
fits nicely with the assembly format. It reduces the maintenance for this op.

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D88330
The file was modifiedmlir/test/Dialect/OpenACC/ops.mlir
The file was modifiedmlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
The file was modifiedmlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
Commit fa08afc3207c4b41b82a1fdfe8265712ec0509b0 by clementval
[mlir][openacc] Add if, deviceptr operands and default attribute

Add operands to represent if and deviceptr. Default clause is represented with
an attribute.

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D88331
The file was modifiedmlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
The file was modifiedmlir/test/Dialect/OpenACC/ops.mlir
Commit 9dcd96f728863d40d6f5922ed52732fdd728fb5f by richard
Canonicalize declaration pointers when forming APValues.

References to different declarations of the same entity aren't different
values, so shouldn't have different representations.

Recommit of e6393ee813178e9d3306b8e3c6949a4f32f8a2cb with fixed handling
for weak declarations. We now look for attributes on the most recent
declaration when determining whether a declaration is weak. (Second
recommit with further fixes for mishandling of weak declarations. Our
behavior here is fundamentally unsound -- see PR47663 -- but this
approach attempts to not make things worse.)
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/lib/AST/Decl.cpp
The file was modifiedclang/lib/CodeGen/CGExprConstant.cpp
The file was modifiedclang/test/CodeGenCXX/weak-external.cpp
The file was modifiedclang/include/clang/AST/APValue.h
The file was modifiedclang/lib/AST/APValue.cpp
The file was modifiedclang/lib/AST/DeclBase.cpp
The file was modifiedclang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p9.cpp
The file was modifiedclang/test/OpenMP/ordered_messages.cpp
Commit df2a1f2aabf6692daa83e849f0fdc37f9e402fca by richard
Add profiling support for APValues.

For C++20 P0732R2; unused so far. Will be used and tested by a follow-on
commit.
The file was modifiedclang/lib/AST/APValue.cpp
The file was modifiedclang/include/clang/AST/APValue.h
Commit 15985952aca66fcd5ae8b6c8a007a3a694848a03 by mkazantsev
[Test] Add tests where we can replace condition with invariants
The file was modifiedllvm/test/Transforms/IndVarSimplify/predicated_ranges.ll
Commit a2578e92e2928eefa108939b15a7a28c8a8cb4b3 by aeubanks
Revert "Reland [CodeGen] emit CG profile for COFF object file"

This reverts commit 506b6170cb513f1cb6e93a3b690c758f9ded18ac.

This still causes link errors, see https://crbug.com/1130780.
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
The file was modifiedllvm/lib/Target/TargetLoweringObjectFile.cpp
The file was removedllvm/test/MC/COFF/cgprofile.ll
The file was modifiedllvm/include/llvm/Target/TargetLoweringObjectFile.h
Commit dd3ba72066800361145431b3c6a92011bd7a62be by lkail
[PowerPC] Add tests for `select` patterns. NFC.
The file was addedllvm/test/CodeGen/PowerPC/select.ll