Changes

Summary

  1. [mlgo] Add more workers (details)
Commit 12af08a169a07412044877cc8249826e9bff5bf3 by mtrofin
[mlgo] Add more workers
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
The file was modifiedbuildbot/osuosl/master/config/workers.py (diff)

Summary

  1. [mlir][tosa] Resubmit add tosa.conv2d as tosa.fully_connected canonicalization (details)
  2. Fix incorrect fallthrough in e4eb6216c2e (details)
  3. Revert "ext-tsp basic block layout" (details)
  4. [gn build] Port 3678326d2839 (details)
  5. [lldb/plugins] Add arm64(e) support to ScriptedProcess (details)
  6. [OpenMP][libomptarget] amdgpu plugin adds runpath for dependencies (details)
  7. Tweak diagnostic text from e4eb6216c2e (details)
  8. [tsan] Move tsan/rtl build rules into tsan/rtl/CMakeLists.txt (details)
  9. [mlir][linalg][bufferize][NFC] Clean up BufferizationState (details)
  10. [PowerPC][NFC] add cases for D114062 (details)
  11. [RISCV] Add scheduling resources for Vector pseudo instructions. (details)
  12. [NFC][MachineInstr] Rename some vars to conform to coding style (details)
  13. [Support] [Debuginfod] Move HTTPClient to Debuginfod library. (details)
  14. [mlir][tosa] Add tosa.depthwise_conv2d as tosa.mul canonicalization (details)
  15. [Demangle] Add support for D special identifiers (details)
  16. [Demangle] Add support for D function-local parent symbols (details)
  17. [lldb/test] Fix InvalidScriptedThread windows test failure (details)
  18. [MachineVerifier] Make TiedOpsRewritten computable in MIRParser (details)
  19. [ELF] Do not report undefined weak references in shared libraries (details)
  20. [ORC] Pad section start to account for alignment offset in MachO GDB JIT plugin. (details)
  21. [NFC][MachineInstr] Pass-by-value DebugLoc in CreateMachineInstr (details)
  22. [X86] Fix fentry handling in X86IndirectBranchTracking.cpp (details)
  23. [mlir][sparse] Requiring emitCInterface parameter to be explicit (details)
  24. [mlir][OpenMP] Added omp.atomic.read lowering (details)
  25. [gn build] Port d9941f74549a (details)
Commit 05e33d846f822338b4d2e1706952b42bde80000b by rob.suderman
[mlir][tosa] Resubmit add tosa.conv2d as tosa.fully_connected canonicalization

Fixed the tosa.conv2d to tosa.fully_connected canonicalization for incorrect
output channels. Included uptes to tests to include checks for the result
shapes during canonicalization.

This allows conv2d to transform to the simpler fully_connected operation.

Reviewed By: mravishankar

Differential Revision: https://reviews.llvm.org/D115170
The file was modifiedmlir/test/Dialect/Tosa/canonicalize.mlir
The file was modifiedmlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
The file was modifiedmlir/lib/Dialect/Tosa/IR/TosaOps.cpp
Commit 1262cf7f045fd8255f433a3335265fe3bb65c9c4 by thakis
Fix incorrect fallthrough in e4eb6216c2e
The file was modifiedllvm/lib/DebugInfo/MSF/MSFBuilder.cpp
Commit 3678326d28390a9586be40c92cacb6b98ae4f01d by thakis
Revert "ext-tsp basic block layout"

This reverts commit c68f71eb37c2b6ffcf29e865d443a910e73083bd.

Breaks tests on arm hosts, see comments on https://reviews.llvm.org/D113424
The file was removedllvm/test/CodeGen/X86/code_placement_ext_tsp.ll
The file was removedllvm/test/CodeGen/X86/code_placement_ext_tsp_large.ll
The file was modifiedllvm/lib/Transforms/Utils/CMakeLists.txt
The file was removedllvm/lib/Transforms/Utils/CodeLayout.cpp
The file was modifiedllvm/lib/CodeGen/MachineBlockPlacement.cpp
The file was removedllvm/include/llvm/Transforms/Utils/CodeLayout.h
Commit 6fef466779cafea30b82780c481896de187596c6 by thakis
[gn build] Port 3678326d2839
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/Utils/BUILD.gn
Commit caea440a11e47bf86b0e43feb28a9287e4fbe3f8 by medismail.bennani
[lldb/plugins] Add arm64(e) support to ScriptedProcess

This patch adds support for arm64(e) targets to ScriptedProcess, by
providing the `DynamicRegisterInfo` to the base `lldb.ScriptedThread` class.
This allows create and debugging ScriptedProcess on Apple Silicon
hardware as well as Apple mobile devices.

It also replace the C++ asserts on `ScriptedThread::GetDynamicRegisterInfo`
by some error logging, re-enables `TestScriptedProcess` for arm64
Darwin platforms and adds a new invalid Scripted Thread test.

rdar://85892451

Differential Revision: https://reviews.llvm.org/D114923

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/test/API/functionalities/scripted_process/TestScriptedProcess.py
The file was modifiedlldb/examples/python/scripted_process/scripted_process.py
The file was modifiedlldb/source/Plugins/Process/scripted/ScriptedThread.cpp
The file was addedlldb/test/API/functionalities/scripted_process/invalid_scripted_process.py
The file was modifiedlldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
Commit 21a51cebf1669293620f62f719ed02eb522de972 by yeluo
[OpenMP][libomptarget] amdgpu plugin adds runpath for dependencies

amdgpu plugin depends on libhsa-runtime64 library. Add runpath in case it is not on the LD_LIBRARY_PATH.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D115198
The file was modifiedopenmp/libomptarget/plugins/amdgpu/CMakeLists.txt
Commit 50dda49c7d76b24cc5265080c0cd34efd9858c5f by thakis
Tweak diagnostic text from e4eb6216c2e
The file was modifiedllvm/lib/DebugInfo/MSF/MSFBuilder.cpp
Commit 63d518f31ac0d4e2cc3314953659c6cddc0c43cc by thakis
[tsan] Move tsan/rtl build rules into tsan/rtl/CMakeLists.txt

That way, the build rules are closer to the source files they describe.

No intended behavior change.

Differential Revision: https://reviews.llvm.org/D115155
The file was addedllvm/utils/gn/secondary/compiler-rt/lib/tsan/rtl/BUILD.gn
The file was addedcompiler-rt/lib/tsan/rtl/CMakeLists.txt
The file was removedllvm/utils/gn/secondary/compiler-rt/lib/tsan/BUILD.gn
The file was modifiedcompiler-rt/lib/tsan/CMakeLists.txt
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn
Commit 7ce427e3bc0bcf50cb2f3b5944852219be03db9e by springerm
[mlir][linalg][bufferize][NFC] Clean up BufferizationState

Make fields private and clean up the interface. In particular, BufferizableOpInterface::bufferize no longer has access to `aliasInfo`. This was potentially dangerous because some of the ops registered in BufferizationAliasInfo may have been deleted.

Differential Revision: https://reviews.llvm.org/D114931
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/LinalgInterfaceImpl.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/TensorInterfaceImpl.h
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/TensorInterfaceImpl.cpp
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.h
The file was modifiedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/SCFInterfaceImpl.h
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/ModuleBufferization.cpp
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/SCFInterfaceImpl.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/LinalgInterfaceImpl.h
Commit d0a8f86667b2f781f70c60ee21ef0850bc30fe11 by czhengsz
[PowerPC][NFC] add cases for D114062
The file was modifiedllvm/test/CodeGen/PowerPC/load-and-splat.ll
Commit 2ba7698423967170331430e4e2b53ee808c98df1 by kai.wang
[RISCV] Add scheduling resources for Vector pseudo instructions.

Add the scheduling resources for the V extension pseudo instructions.

Authored-by: Evandro Menezes <evandro.menezes@sifive.com>

Differential Revision: https://reviews.llvm.org/D113353
The file was modifiedllvm/lib/Target/RISCV/RISCVSchedRocket.td
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrFormats.td
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
Commit 615e374252c634177b3c4b8d12f883a7101da732 by mtrofin
[NFC][MachineInstr] Rename some vars to conform to coding style
The file was modifiedllvm/include/llvm/CodeGen/MachineInstr.h
The file was modifiedllvm/lib/CodeGen/MachineInstr.cpp
Commit d9941f74549a2e7f21112eecef349b123afc6213 by shutty
[Support] [Debuginfod] Move HTTPClient to Debuginfod library.

Following the discussion in D112753, this moves the HTTPClient from Support to Debuginfod library so that tools depending on Support do not automatically depend on Curl as well. This also removes `HTTPClient::initialize()` and `HTTPClient::cleanup()` from `InitLLVM` so these steps should be implemented by user tools instead.

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D115131
The file was removedllvm/include/llvm/Support/HTTPClient.h
The file was modifiedllvm/unittests/Debuginfod/CMakeLists.txt
The file was removedllvm/unittests/Support/HTTPClient.cpp
The file was modifiedllvm/unittests/Support/CMakeLists.txt
The file was addedllvm/include/llvm/Debuginfod/HTTPClient.h
The file was modifiedllvm/lib/Support/CMakeLists.txt
The file was addedllvm/lib/Debuginfod/HTTPClient.cpp
The file was modifiedllvm/lib/Debuginfod/Debuginfod.cpp
The file was removedllvm/lib/Support/HTTPClient.cpp
The file was addedllvm/unittests/Debuginfod/HTTPClientTests.cpp
The file was modifiedllvm/lib/Debuginfod/CMakeLists.txt
The file was modifiedllvm/unittests/Debuginfod/DebuginfodTests.cpp
The file was modifiedllvm/lib/Support/InitLLVM.cpp
Commit 5911a29aa92065549031c998ce03ef75d8d61118 by rob.suderman
[mlir][tosa] Add tosa.depthwise_conv2d as tosa.mul canonicalization

For a 1x1 weight and stride of 1, the input/weight can be reshaped and
multiplied elementwise then reshaped back

Reviewed By: rsuderman, KoolJBlack

Differential Revision: https://reviews.llvm.org/D115207
The file was modifiedmlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
The file was modifiedmlir/test/Dialect/Tosa/canonicalize.mlir
The file was modifiedmlir/lib/Dialect/Tosa/IR/TosaOps.cpp
Commit 8a7ddf9e2296c2b188c49f689ea51eab6114a662 by contact
[Demangle] Add support for D special identifiers

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D114308
The file was modifiedllvm/lib/Demangle/DLangDemangle.cpp
The file was modifiedllvm/unittests/Demangle/DLangDemangleTest.cpp
Commit 83087c096af9e8ca63362714cf82d5c477c00e73 by contact
[Demangle] Add support for D function-local parent symbols

    Internally `__Sddd` function-local parent symbols are used to solve ambiguities on symbols in
    the same scope with the same mangled name.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D114309
The file was modifiedllvm/lib/Demangle/DLangDemangle.cpp
The file was modifiedllvm/unittests/Demangle/DLangDemangleTest.cpp
Commit 9c144b3b0d6a995c2a1eecb53db06f3896e878ff by medismail.bennani
[lldb/test] Fix InvalidScriptedThread windows test failure

This patch should fix a Windows test failure for the
InvalidScriptedThread test:

https://lab.llvm.org/buildbot/#/builders/83/builds/12571

This refactors the test to stop using python `tempfile` since it's not
supported on Windows and creates a logfile at runtime in the test folder.

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/test/API/functionalities/scripted_process/TestScriptedProcess.py
Commit b206ee69061120d559d8315bede6c63758b06154 by lkail
[MachineVerifier] Make TiedOpsRewritten computable in MIRParser

This patch is to address post-commit comment https://reviews.llvm.org/D80538#anchor-inline-1091625, which make the constraint stronger based on what https://reviews.llvm.org/D80538 does, i.e., "TiedOpsRewritten is set iff leave-ssa and all tied operands share the same register".

Reviewed By: MatzeB

Differential Revision: https://reviews.llvm.org/D114573
The file was modifiedllvm/unittests/MIR/MachineMetadata.cpp
The file was modifiedllvm/lib/CodeGen/MIRParser/MIRParser.cpp
Commit ce25eb12dd5abae6c769168a70a8f377b608228c by ikudrin
[ELF] Do not report undefined weak references in shared libraries

This fixes an issue introduced in D101996.

A weak reference in a shared library could be incorrectly reported if
there is another library that has a strong reference to the same symbol.

Differential Revision: https://reviews.llvm.org/D115041
The file was addedlld/test/ELF/allow-shlib-undefined-weak.s
The file was modifiedlld/ELF/InputFiles.cpp
Commit 02095f2dd7d96768432af8a53e2d743e881e7447 by Lang Hames
[ORC] Pad section start to account for alignment offset in MachO GDB JIT plugin.

In order to present a well-formed MachO debug object for debugger registration
the first block in each section must have a zero alignment offset (since there
is no way to represent a non-zero offset in a MachO section load command). This
patch updates the MachODebugObjectSynthesizer class to introduce a padding
padding block at the start of the section if necessary to guarantee a zero
alignment offset.
The file was addedllvm/test/ExecutionEngine/JITLink/X86/MachO_gdb_jit_nonzero_alignment_offsets.s
The file was addedllvm/test/ExecutionEngine/JITLink/X86/Inputs/MachO_strong_def_extra.s
The file was modifiedllvm/lib/ExecutionEngine/Orc/DebuggerSupportPlugin.cpp
Commit 2bd7384d3a99edd345fcc5e8ee8d550bd65dddb2 by mtrofin
[NFC][MachineInstr] Pass-by-value DebugLoc in CreateMachineInstr

DebugLoc is cheap to move, passing it by-val rather than const ref to
take advantage of the fact that it is consumed that way by the
MachineInstr ctor, which creates some optimization oportunities.

Differential Revision: https://reviews.llvm.org/D115208
The file was modifiedllvm/lib/CodeGen/MachineFunction.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineFunction.h
Commit dfcf69770bc522b9e411c66454934a37c1f35332 by phoebe.wang
[X86] Fix fentry handling in X86IndirectBranchTracking.cpp

When compiling with indirect branch tracking and fentry (-fcf-protection=branch -mfentry -pg) the X86IndirectBranchTrackingPass will attempt to place endbr in basic blocks, checking for Calls/IsCallReturnTwice. For calling the function IsCallReturnTwice(), the pass attempts to retrieve the first operand of the respective machine instruction. Since FENTRY_CALL is considered a call, and it does not have any argument, the condition inside the pass will attempt to call IsCallReturnTwice on the machine instruction, but since it does not have operands, it will lead into a crash.

Kudos to Alyssa Milburn for helping in the issue triage. The diff brings a test, but to reproduce the problem, follow the steps below.

```
echo "int main() {};" > repro.c
clang repro.c -fcf-protection=branch -mfentry -pg
```

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D111108
The file was modifiedllvm/lib/Target/X86/X86IndirectBranchTracking.cpp
The file was addedllvm/test/CodeGen/X86/fentry-ibt.ll
Commit d8731bfc93c2946de6d1e2242cea25d0a76aeb85 by 2998727+wrengr
[mlir][sparse] Requiring emitCInterface parameter to be explicit

Depends On D115004

Cleans up code legibility by requiring the `emitCInterface` parameter to be explicit at all call-sites, and defining boolean aliases for that parameter.

Reviewed By: aartbik, rriddle

Differential Revision: https://reviews.llvm.org/D115005
The file was modifiedmlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
Commit 31cf42bd9a71c53c7ddc6f0e3ec41fcea24f2f7c by Shraiysh.Vaishay
[mlir][OpenMP] Added omp.atomic.read lowering

This patch adds lowering from omp.atomic.read to LLVM IR along with the
memory ordering clause. Tests for the same are also added.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D115134
The file was modifiedmlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
The file was modifiedmlir/test/Target/LLVMIR/openmp-llvm.mlir
Commit 37fbf238f4427b651a16956eca1cb0e2ab5cdbfd by llvmgnsyncbot
[gn build] Port d9941f74549a
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Debuginfod/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Debuginfod/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Support/BUILD.gn

Summary

  1. [mlgo] Add more workers (details)
Commit 12af08a169a07412044877cc8249826e9bff5bf3 by mtrofin
[mlgo] Add more workers
The file was modifiedbuildbot/osuosl/master/config/builders.py
The file was modifiedbuildbot/osuosl/master/config/workers.py