Changes

Summary

  1. [BOLT] Set jobs=2 for bolt-worker-aarch64 (details)
Commit 58f12fafc988fb7bf8a2fec4d62c8c37d761991b by amir.aupov
[BOLT] Set jobs=2 for bolt-worker-aarch64
The file was modifiedbuildbot/osuosl/master/config/workers.py (diff)

Summary

  1. [llvm-profdata] Add option to cap profile output size (details)
  2. Revert "[llvm-profdata] Add option to cap profile output size" (details)
  3. [mlir][vector] Support 0-D vector when eliding single element reduction (details)
  4. [Clang] Disable building tools for 32-bit hosts as well (details)
  5. [MachineCopyPropagation] Eliminate spillage copies that might be caused by eviction chain (details)
Commit 48f163b889a8f373474c7d198c43e27779f38692 by williamjhuang
[llvm-profdata] Add option to cap profile output size

D139603 (add option to llvm-profdata to reduce output profile size) contains test cases that are not cross-platform. Moving those tests to unit test and making sure the feature is callable from llvm library

Reviewed By: snehasish

Differential Revision: https://reviews.llvm.org/D141446
The file was modifiedllvm/include/llvm/ProfileData/SampleProfWriter.h (diff)
The file was modifiedllvm/include/llvm/ProfileData/SampleProf.h (diff)
The file was addedllvm/unittests/tools/llvm-profdata/CMakeLists.txt
The file was modifiedllvm/lib/ProfileData/SampleProfWriter.cpp (diff)
The file was modifiedllvm/unittests/tools/CMakeLists.txt (diff)
The file was addedllvm/unittests/tools/llvm-profdata/OutputSizeLimitTest.cpp
The file was modifiedllvm/tools/llvm-profdata/llvm-profdata.cpp (diff)
Commit 981218e0f88c78fbf83e45abbae65d09b787f2c1 by williamjhuang
Revert "[llvm-profdata] Add option to cap profile output size"

This reverts commit 48f163b889a8f373474c7d198c43e27779f38692.
The file was modifiedllvm/unittests/tools/CMakeLists.txt (diff)
The file was removedllvm/unittests/tools/llvm-profdata/CMakeLists.txt
The file was modifiedllvm/include/llvm/ProfileData/SampleProf.h (diff)
The file was modifiedllvm/include/llvm/ProfileData/SampleProfWriter.h (diff)
The file was modifiedllvm/lib/ProfileData/SampleProfWriter.cpp (diff)
The file was modifiedllvm/tools/llvm-profdata/llvm-profdata.cpp (diff)
The file was removedllvm/unittests/tools/llvm-profdata/OutputSizeLimitTest.cpp
Commit 3941355d8fee763e99c259ecd02f6fe567583296 by lewuathe
[mlir][vector] Support 0-D vector when eliding single element reduction

ElideSingleElementReduction causes assertion failure when we give 0-D vector. It's possible to fold the case by using vector.extractelement op instead. It's originally reported in https://github.com/llvm/llvm-project/issues/60193.

Reviewed By: dcaballe

Differential Revision: https://reviews.llvm.org/D143242
The file was modifiedmlir/lib/Dialect/Vector/IR/VectorOps.cpp (diff)
The file was modifiedmlir/test/Dialect/Vector/canonicalize.mlir (diff)
Commit 472393eff45002f60826f04fcc9261eeaa9f8691 by jhuber6
[Clang] Disable building tools for 32-bit hosts as well

Summary:
Offloading is not supported on 32-bit applications. We already disable
this for 32-bit cross-compiling but we also need to disable it for
32-bit native machines as well.
The file was modifiedclang/tools/amdgpu-arch/CMakeLists.txt (diff)
The file was modifiedclang/tools/nvptx-arch/CMakeLists.txt (diff)
Commit 96aaebd12e734610fe0ef61329f99fdac253ef9f by lkail
[MachineCopyPropagation] Eliminate spillage copies that might be caused by eviction chain

Remove spill-reload like copy chains. For example
```
r0 = COPY r1
r1 = COPY r2
r2 = COPY r3
r3 = COPY r4
<def-use r4>
r4 = COPY r3
r3 = COPY r2
r2 = COPY r1
r1 = COPY r0
```
will be folded into
```
r0 = COPY r1
r1 = COPY r4
<def-use r4>
r4 = COPY r1
r1 = COPY r0
```

Reviewed By: qcolombet

Differential Revision: https://reviews.llvm.org/D122118
The file was modifiedllvm/include/llvm/CodeGen/TargetSubtargetInfo.h (diff)
The file was modifiedllvm/lib/CodeGen/MachineCopyPropagation.cpp (diff)
The file was modifiedllvm/lib/Target/PowerPC/PPCSubtarget.h (diff)
The file was addedllvm/test/CodeGen/PowerPC/mcp-elim-eviction-chain.mir