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
|
 | mlir/test/Dialect/Tosa/canonicalize.mlir |
 | mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td |
 | mlir/lib/Dialect/Tosa/IR/TosaOps.cpp |
Commit
1262cf7f045fd8255f433a3335265fe3bb65c9c4
by thakisFix incorrect fallthrough in e4eb6216c2e
|
 | llvm/lib/DebugInfo/MSF/MSFBuilder.cpp |
Commit
3678326d28390a9586be40c92cacb6b98ae4f01d
by thakisRevert "ext-tsp basic block layout"
This reverts commit c68f71eb37c2b6ffcf29e865d443a910e73083bd.
Breaks tests on arm hosts, see comments on https://reviews.llvm.org/D113424
|
 | llvm/test/CodeGen/X86/code_placement_ext_tsp.ll |
 | llvm/test/CodeGen/X86/code_placement_ext_tsp_large.ll |
 | llvm/lib/Transforms/Utils/CMakeLists.txt |
 | llvm/lib/Transforms/Utils/CodeLayout.cpp |
 | llvm/lib/CodeGen/MachineBlockPlacement.cpp |
 | llvm/include/llvm/Transforms/Utils/CodeLayout.h |
Commit
6fef466779cafea30b82780c481896de187596c6
by thakis[gn build] Port 3678326d2839
|
 | llvm/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>
|
 | lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py |
 | lldb/examples/python/scripted_process/scripted_process.py |
 | lldb/source/Plugins/Process/scripted/ScriptedThread.cpp |
 | lldb/test/API/functionalities/scripted_process/invalid_scripted_process.py |
 | lldb/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
|
 | openmp/libomptarget/plugins/amdgpu/CMakeLists.txt |
Commit
50dda49c7d76b24cc5265080c0cd34efd9858c5f
by thakisTweak diagnostic text from e4eb6216c2e
|
 | llvm/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
|
 | llvm/utils/gn/secondary/compiler-rt/lib/tsan/rtl/BUILD.gn |
 | compiler-rt/lib/tsan/rtl/CMakeLists.txt |
 | llvm/utils/gn/secondary/compiler-rt/lib/tsan/BUILD.gn |
 | compiler-rt/lib/tsan/CMakeLists.txt |
 | llvm/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
|
 | mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp |
 | mlir/lib/Dialect/Linalg/ComprehensiveBufferize/LinalgInterfaceImpl.cpp |
 | mlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/TensorInterfaceImpl.h |
 | mlir/lib/Dialect/Linalg/ComprehensiveBufferize/TensorInterfaceImpl.cpp |
 | mlir/lib/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.cpp |
 | mlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.h |
 | mlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/SCFInterfaceImpl.h |
 | mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ModuleBufferization.cpp |
 | mlir/lib/Dialect/Linalg/ComprehensiveBufferize/SCFInterfaceImpl.cpp |
 | mlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/LinalgInterfaceImpl.h |
Commit
d0a8f86667b2f781f70c60ee21ef0850bc30fe11
by czhengsz[PowerPC][NFC] add cases for D114062
|
 | llvm/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
|
 | llvm/lib/Target/RISCV/RISCVSchedRocket.td |
 | llvm/lib/Target/RISCV/RISCVInstrFormats.td |
 | llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td |
Commit
615e374252c634177b3c4b8d12f883a7101da732
by mtrofin[NFC][MachineInstr] Rename some vars to conform to coding style
|
 | llvm/include/llvm/CodeGen/MachineInstr.h |
 | llvm/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
|
 | llvm/include/llvm/Support/HTTPClient.h |
 | llvm/unittests/Debuginfod/CMakeLists.txt |
 | llvm/unittests/Support/HTTPClient.cpp |
 | llvm/unittests/Support/CMakeLists.txt |
 | llvm/include/llvm/Debuginfod/HTTPClient.h |
 | llvm/lib/Support/CMakeLists.txt |
 | llvm/lib/Debuginfod/HTTPClient.cpp |
 | llvm/lib/Debuginfod/Debuginfod.cpp |
 | llvm/lib/Support/HTTPClient.cpp |
 | llvm/unittests/Debuginfod/HTTPClientTests.cpp |
 | llvm/lib/Debuginfod/CMakeLists.txt |
 | llvm/unittests/Debuginfod/DebuginfodTests.cpp |
 | llvm/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
|
 | mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td |
 | mlir/test/Dialect/Tosa/canonicalize.mlir |
 | mlir/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
|
 | llvm/lib/Demangle/DLangDemangle.cpp |
 | llvm/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
|
 | llvm/lib/Demangle/DLangDemangle.cpp |
 | llvm/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>
|
 | lldb/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
|
 | llvm/unittests/MIR/MachineMetadata.cpp |
 | llvm/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
|
 | lld/test/ELF/allow-shlib-undefined-weak.s |
 | lld/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.
|
 | llvm/test/ExecutionEngine/JITLink/X86/MachO_gdb_jit_nonzero_alignment_offsets.s |
 | llvm/test/ExecutionEngine/JITLink/X86/Inputs/MachO_strong_def_extra.s |
 | llvm/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
|
 | llvm/lib/CodeGen/MachineFunction.cpp |
 | llvm/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
|
 | llvm/lib/Target/X86/X86IndirectBranchTracking.cpp |
 | llvm/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
|
 | mlir/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
|
 | mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp |
 | mlir/test/Target/LLVMIR/openmp-llvm.mlir |
Commit
37fbf238f4427b651a16956eca1cb0e2ab5cdbfd
by llvmgnsyncbot[gn build] Port d9941f74549a
|
 | llvm/utils/gn/secondary/llvm/unittests/Debuginfod/BUILD.gn |
 | llvm/utils/gn/secondary/llvm/lib/Debuginfod/BUILD.gn |
 | llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn |
 | llvm/utils/gn/secondary/llvm/unittests/Support/BUILD.gn |