Changes

Summary

  1. [SYCL] Fix test to conform to SYCL2020 (details)
  2. [mlir][Linalg] Adding a greedy packing transform dialect op. (details)
  3. [flang] Fixed uninitialized std::unique_ptr dereference. (details)
  4. [flang] Fixed restrictions checking for OpenACC loop-associated constructs. (details)
  5. [bazel] Add missing dependency after 55cf0de35e (details)
  6. [test][lldb-vscode] Fix unclean shutdown in test_terminate_commands (details)
  7. test-release.sh: Use parallel xz for packaging the binaries (details)
  8. [NFC] Optimize vector usage in lld (details)
  9. [mlir][tensor] Add a tiling interface registration for pack/unpack only. (details)
Commit c10615e4a94fc8dec65a48a6eb8f7efccc3fb1fc by elizabeth.andrews
[SYCL] Fix test to conform to SYCL2020
The file was modifiedclang/test/SemaSYCL/bf16.cpp (diff)
Commit 55cf0de35efd6cb81d6a21fee35186f6fb6864c2 by nicolas.vasilache
[mlir][Linalg] Adding a greedy packing transform dialect op.

This PR adds a `pack_greedily` transform operation that infers the packing for gemm
subcomputations embedded within in any LinalgOp and packs accordingly.
A normalization step guarantees that we get the innermost op dimensions in one of `8`
possible `(m, n, k)` orders, specified as a parameter, from which we can emit all
packed forms.

The current implementation takes an arbitrary LinalgOp and tries to pack it along
the specified dimensions with specified sizes and inner dim permutation.

This achieves a new level of normalization and generalization for any `n-D`
LinalgOp that contains a gemm embedded within it:
we will always see a predictable packed form for any of these ops.

Differential Revision: https://reviews.llvm.org/D142661
The file was addedmlir/test/Dialect/Linalg/transform-pack-greedily.mlir
The file was modifiedmlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td (diff)
Commit e054e0da9fd7055142188036ee713e8c0697324b by szakharin
[flang] Fixed uninitialized std::unique_ptr dereference.

This fixes unittest failures reported in D142279:
  flang-Unit :: Frontend/./FlangFrontendTests/5/7
  flang-Unit :: Frontend/./FlangFrontendTests/6/7
The file was modifiedflang/lib/Frontend/FrontendActions.cpp (diff)
Commit 02445263e2f533573a935c1bd502d848bbe6bb27 by szakharin
[flang] Fixed restrictions checking for OpenACC loop-associated constructs.

CheckDoConcurrentClauseRestriction and CheckTileClauseRestriction expect
that the construct has associated DoConstruct, while it is not set
when the do-loop has no loop control. The change is to skip the clauses
checks, when the do-loop does not have the loop control.

An alternative fix would be to associate the DoConstruct even when
the do-loop has no loop control and let Check*ClauseRestriction run their
checks, but I am not sure if associating invalid DoConstruct is a good idea.

This fixes failure in Semantics/OpenACC/acc-canonicalization-validity.f90
reported in D142279.

Reviewed By: clementval

Differential Revision: https://reviews.llvm.org/D142652
The file was modifiedflang/lib/Semantics/canonicalize-acc.cpp (diff)
Commit f617c6cc91c0de5604c9df1fe2c70100aed963ac by benny.kra
[bazel] Add missing dependency after 55cf0de35e
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel (diff)
Commit dc682ed590f73f7b7417ecf66d18b303ab957c62 by rupprecht
[test][lldb-vscode] Fix unclean shutdown in test_terminate_commands

This test manually sends `terminateCommands` to shutdown, but then the test attempts another `terminateCommands` request in test tear down, which fails since it's already torn down. This error is ignored in LLDB's old fork of unittest2, but will be reported as a test failure in `unittest` from the Python standard library. Use `disconnectAutomatically` to avoid terminating twice.
The file was modifiedlldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py (diff)
Commit 009048810ac635a7ad6c5f788d537172418b6054 by tstellar
test-release.sh: Use parallel xz for packaging the binaries

Reviewed By: amyk, dim, hans

Differential Revision: https://reviews.llvm.org/D142417
The file was modifiedllvm/utils/release/test-release.sh (diff)
Commit 3df4c5a92f7f68d97ada6886c13d8900a5c7eef1 by jezng
[NFC] Optimize vector usage in lld

By using emplace_back, as well as converting some loops to for-each, we can do more efficient vectorization.

Make copy constructor for TemporaryFile noexcept.

Reviewed By: #lld-macho, int3

Differential Revision: https://reviews.llvm.org/D139552
The file was modifiedlld/COFF/Writer.cpp (diff)
The file was modifiedlld/ELF/InputFiles.cpp (diff)
The file was modifiedlld/ELF/OutputSections.cpp (diff)
The file was modifiedlld/MachO/SyntheticSections.h (diff)
The file was modifiedlld/COFF/MinGW.cpp (diff)
The file was modifiedlld/ELF/MapFile.cpp (diff)
The file was modifiedlld/COFF/DriverUtils.cpp (diff)
The file was modifiedlld/COFF/Driver.cpp (diff)
The file was modifiedlld/MachO/Arch/ARM64.cpp (diff)
The file was modifiedlld/COFF/Chunks.cpp (diff)
Commit adcb98880972bec908249d091ed5634524250fa4 by hanchung
[mlir][tensor] Add a tiling interface registration for pack/unpack only.

Reviewed By: mravishankar

Differential Revision: https://reviews.llvm.org/D141977
The file was modifiedmlir/lib/Dialect/Tensor/IR/TensorTilingInterfaceImpl.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/Tensor/IR/TensorTilingInterfaceImpl.h (diff)