SuccessChanges

Summary

  1. [InstCombine] Avoid redundant or out-of-order debug value sinking (details)
  2. [mlir] Replace deprecated 'getAttrs' (details)
  3. [X86] Allow PTILEZEROV and PTILELOADDV to be rematerializable (details)
  4. [clangd][remote] Add flag to set idletimeout (details)
  5. [libcxxabi] Fewer assumptions about path from libcxx to libcxxabi (details)
  6. [mlir] Silence some deprecation warnings after dffc487b07d9a50f8c65eccb9241f72af3486c79 (details)
  7. [mlir][linalg] Allow TC ops taking an unused shaped operand. (details)
  8. [Utils] collectBitParts - bail for integers > 128-bits (details)
  9. [mlir][linalg] Add pooling ops to Linalg TC ops. (details)
  10. [libc++] Remove the now unused macos-trunk and macos-backdeployment CI scripts (details)
Commit ec7b9b0c18bb9c9669231bdfa71b0aa7a71140c1 by stephen.tozer
[InstCombine] Avoid redundant or out-of-order debug value sinking

This patch modifies TryToSinkInstruction in the InstCombine pass, to prevent
redundant debug intrinsics from being produced, and also prevent the intrinsics
from being emitted in an incorrect order. It does this by ensuring that when
this pass sinks an instruction and creates clones of the debug intrinsics that
use that instruction, it inserts those debug intrinsics in their original order,
and only inserts the last debug intrinsic for each variable in the Instruction's
block.

Differential revision: https://reviews.llvm.org/D95463
The file was modifiedllvm/test/Transforms/InstCombine/debuginfo-sink.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
The file was modifiedllvm/test/Transforms/InstCombine/debuginfo_add.ll
Commit 56774bdda5788e48dce1ae87de1ff378918e318e by marius.brehler
[mlir] Replace deprecated 'getAttrs'

'getAttrs' has been explicitly marked deprecated. This patch refactors
to use Operation::getAttrs().

Reviewed By: csigg

Differential Revision: https://reviews.llvm.org/D97546
The file was modifiedmlir/test/lib/Dialect/Test/TestDialect.cpp
The file was modifiedmlir/lib/Conversion/SCFToGPU/SCFToGPU.cpp
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/Transforms/SPIRVConversion.cpp
The file was modifiedmlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp
The file was modifiedmlir/lib/Conversion/OpenMPToLLVM/OpenMPToLLVM.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/GPUToSPIRV.cpp
Commit ad9091c5fa9f3749496d1a8ce8481f0011ed40da by pengfei.wang
[X86] Allow PTILEZEROV and PTILELOADDV to be rematerializable

Spilling and reloading AMX registers are expensive. We allow PTILEZEROV
and PTILELOADDV to be rematerializable to avoid the register spilling.

Reviewed By: LuoYuanke

Differential Revision: https://reviews.llvm.org/D97453
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-spill-merge.ll
The file was modifiedllvm/lib/Target/X86/X86InstrAMX.td
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-across-func.ll
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-lower-tile-copy.ll
Commit 1a5dfb7db23e3c0aec0b4356a60b9d6b7c8f9683 by kadircet
[clangd][remote] Add flag to set idletimeout

By default gRPC has no idletimeout and some firewalls might drop idle
connections after a certain period. This results in idle clients
shouting into void until server resets the connection.

Differential Revision: https://reviews.llvm.org/D97536
The file was modifiedclang-tools-extra/clangd/index/remote/server/Server.cpp
Commit 72b18a86e11ebc970be96a8c2b11aa3a31c14c5d by thakis
[libcxxabi] Fewer assumptions about path from libcxx to libcxxabi

This is useful for projects that pull in libcxx and libcxxabi and build
them using out-of-tree build files, but don't make them sibling
directories (or don't call the sibling directories libcxx and libcxxabi
for some reason).

Fixes PR49313.

Differential Revision: https://reviews.llvm.org/D97379
The file was modifiedlibcxxabi/src/stdlib_stdexcept.cpp
The file was modifiedllvm/utils/gn/secondary/libcxxabi/src/BUILD.gn
The file was modifiedlibcxxabi/src/CMakeLists.txt
Commit 4941fef9c41c42ac11cbe6fcc3e6a43511a5dfed by benny.kra
[mlir] Silence some deprecation warnings after dffc487b07d9a50f8c65eccb9241f72af3486c79
The file was modifiedmlir/include/mlir/IR/FunctionSupport.h
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/GPUToSPIRV.cpp
The file was modifiedmlir/tools/mlir-tblgen/OpFormatGen.cpp
Commit 855a1196049705344ec90cc1f3fd09b426416311 by hanchung
[mlir][linalg] Allow TC ops taking an unused shaped operand.

If one operand is not used in the formula, it will be considered a
shaped operand. And the result of indexing map of the operand will be the first
reduction dims.

Depends On D97383

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D97384
The file was modifiedmlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-gen.cpp
The file was modifiedmlir/docs/Dialects/Linalg.md
The file was modifiedmlir/test/mlir-linalg-ods-gen/test-linalg-ods-gen.tc
Commit 455d43b951ae31dac133a8650532797f01343a36 by llvm-dev
[Utils] collectBitParts - bail for integers > 128-bits

collectBitParts uses int8_t for the bit indices, leaving a 128-bit limit.

We already test for this before calling collectBitParts, but rGb94c215592bd added truncate handling which meant we could end up processing wider integers.

Thanks to @manojgupta for the repro.
The file was modifiedllvm/test/Transforms/InstCombine/bswap.ll
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp
Commit bfd3771c9eecdb5fd8d3f2714e5fc3500bb7d4da by hanchung
[mlir][linalg] Add pooling ops to Linalg TC ops.

- Add EDSC builders for std_cmpf_ogt and std_cmpf_olt.
- Add pooling_nhwc_min/max/sum ops

Depends On D97384

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D97385
The file was modifiedmlir/include/mlir/Dialect/StandardOps/EDSC/Intrinsics.h
The file was modifiedmlir/test/Dialect/Linalg/named-ops.mlir
The file was modifiedmlir/test/Dialect/Linalg/generalize-named-ops.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOpsSpec.tc
Commit cb3de0950309ad0f3546e6e7c5e75eb3bf146662 by Louis Dionne
[libc++] Remove the now unused macos-trunk and macos-backdeployment CI scripts

We use the run-buildbot script everywhere now.
The file was removedlibcxx/utils/ci/macos-backdeployment.sh
The file was removedlibcxx/utils/ci/macos-trunk.sh