- Dec 07, 2021
-
-
Mircea Trofin authored
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
-
Lang Hames authored
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.
-
Igor Kudrin authored
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
-
Kai Luo authored
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
-
Med Ismail Bennani authored
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>
-
Luís Ferreira authored
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 -
Luís Ferreira authored
Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D114308
-
not-jenni authored
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
-
Noah Shutty authored
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
-
Mircea Trofin authored
-
Evandro Menezes authored
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
-
Chen Zheng authored
-
Matthias Springer authored
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
-
Nico Weber authored
That way, the build rules are closer to the source files they describe. No intended behavior change. Differential Revision: https://reviews.llvm.org/D115155
-
Nico Weber authored
-
Ye Luo authored
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
-
Med Ismail Bennani authored
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>
-
Nico Weber authored
-
Nico Weber authored
This reverts commit c68f71eb. Breaks tests on arm hosts, see comments on https://reviews.llvm.org/D113424
-
Nico Weber authored
-
Rob Suderman authored
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
-
Dave Lee authored
While profiling lldb (from swift/llvm-project), these timers were noticed to be short lived and high firing, and so they add noise more than value. The data points I recorded are: `FindTypes_Impl`: 49,646 calls, 812ns avg, 40.33ms total `AppendSymbolIndexesWithName`: 36,229 calls, 913ns avg, 33.09ms total `FindAllSymbolsWithNameAndType`: 36,229 calls, 1.93µs avg, 70.05ms total `FindSymbolsWithNameAndType`: 23,263 calls, 3.09µs avg, 71.88ms total Differential Revision: https://reviews.llvm.org/D115182
-
Chris Davis authored
Enable the pdbpagesize flag to allow linking of PDB files > 4GB. Also includes a couple small fixes to change to uint64_t to support the larger file sizes. I updated the max file size check in MSFBuilder.cpp to take into account the page size. Differential Revision: https://reviews.llvm.org/D115051
-
LLVM GN Syncbot authored
-
Nico Weber authored
This reverts commit 4b63562e. The debuginfod change relanded in 0e0f1b28
-
Kirill Stoimenov authored
This reverts commit 2f3bb59f. Reviewed By: kstoimenov Differential Revision: https://reviews.llvm.org/D115193
-
Daniele Castagna authored
Select the OpenCLKernel calling convention for kernels when compiling CUDA targeting SPIR-V. In this way the generated LLVM IR will have a spir_kernel calling convention that will be translated to an OpEntryPoint when converting to SPIRV. Reviewed By: jlebar, tra Differential Revision: https://reviews.llvm.org/D114407
-
James Nagurne authored
The Pre-RA VLIWMachineScheduler used by Hexagon is a relatively generic implementation that would make sense to use on other VLIW targets. This commit lifts those classes into their own header/source file with the root VLIWMachineScheduler. I chose this path rather than adding the strategy et al. into MachineScheduler to avoid bloating the file with other implementations. Target-specific behaviors have been captured and replicated through function overloads. - Added an overloadable DFAPacketizer creation member function. This is mainly done for our downstream, which has the capability to override the DFAPacketizer with custom implementations. This is an upstreamable TODO on our end. Currently, it always returns the result of TargetInstrInfo::CreateTargetScheduleState - Added an extra helper which returns the number of instructions in the current packet. This is used in our downstream, and may be useful elsewhere. - Placed the priority heuristic values into the ConvergingVLIWscheduler class instead of defining them as local statics in the implementation - Added a overridable helper in ConvergingVLIWScheduler so that targets can create their own VLIWResourceModel Differential Revision: https://reviews.llvm.org/D113150
-
wren romano authored
Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D115004
-
Noah Shutty authored
This adds a Debuginfod client library which queries servers specified by the `DEBUGINFOD_URLS` environment variable for the debuginfo, executable, or a specified source file associated with a given build id. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D112758
-
Kirill Stoimenov authored
Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D115075
-
Yaxun (Sam) Liu authored
This patch fixes issues for -fgpu-rdc for Windows MSVC toolchain: Fix COFF specific section flags and remove section types in llvm-mc input file for Windows. Escape fatbin path in llvm-mc input file. Add -triple option to llvm-mc. Put __hip_gpubin_handle in comdat when it has linkonce_odr linkage. Reviewed by: Artem Belevich Differential Revision: https://reviews.llvm.org/D115039
-
Danil Stefaniuc authored
[formatters] Add a pointer and reference tests for a list and forward_list formatters for libstdcpp and libcxx This adds extra tests for libstdcpp and libcxx list and forward_list formatters to check whether formatter behaves correctly when applied on pointer and reference values. Reviewed By: wallace Differential Revision: https://reviews.llvm.org/D115137
-
Walter Erquinigo authored
This adds the formatters for libstdcpp's deque as a python implementation. It adds comprehensive tests for the two different storage strategies deque uses. Besides that, this fixes a couple of bugs in the libcxx implementation. Finally, both implementation run against the same tests. This is a minor improvement on top of Danil Stefaniuc's formatter.
-
Eugene Zhulenev authored
Do load and store to verify that we process each element of the iteration space once. Reviewed By: cota Differential Revision: https://reviews.llvm.org/D115152
-
David Blaikie authored
-
Michael Kruse authored
Do not explicitly store the BasicBlocks for Preheader, Body and After inside CanonicalLoopInfo, but look the up when needed using their position relative to the other loop control blocks. By definition, instructions inside these are not managed by CanonicalLoopInfo (except terminator for Preheader) hence it makes sense to think of them as connections to the CanonicalLoopInfo instead of part of the CanonicalLoopInfo itself. In particular for Preheader, it makes using SplitBasicBlock easier since inserting control flow at an InsertPoint may otherwise require updating the CanonicalLoopInfo's Preheader because the branch that jumps to the header is moved to another BasicBlock. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D114368
-
Rob Suderman authored
math.ctpop maths to the llvm.ctpop intrinsic. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D114998
-
Arnold Schwaighofer authored
Infinite loops can lead to an IR representation where the lifetime.end intrinsice is missing. The code to do lifetime based optimization then fails to see that an address escapes (is life) accross a supspend. Eventually, we could detect such situations and disable it under more narrow circumstances. For now, do the correct thing. rdar://83635953 Differential Revision: https://reviews.llvm.org/D110949
-
Simon Pilgrim authored
v32i16 rotation lowering is only lowered on non-BWI targets.
-