- Dec 07, 2021
-
-
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
-
- Dec 06, 2021
-
-
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.
-
Balázs Kéri authored
Declaration context of template parameters of a FunctionTemplateDecl may be different for each one parameter if the template is a deduction guide. This case is handled correctly after this change. Reviewed By: martong Differential Revision: https://reviews.llvm.org/D114418
-
Nick Desaulniers authored
This diagnostic is really to highlight lack of support for hard thread pointers in post-RA instruction scheduling for non-armv6k+ targets; something that isn't run for assembler sources. Fixes: https://github.com/ClangBuiltLinux/linux/issues/1502 Link: https://lore.kernel.org/all/814585495.6773.1636629846970@jenkins.jenkins/ Reviewed By: ardb Differential Revision: https://reviews.llvm.org/D114124
-
Nico Weber authored
This reverts commit f0cda715. 4a16fe13 got reverted in f45c9c56.
-
Noah Shutty authored
This reverts commit 4a16fe13 because it caused failures on Windows builds.
-
Aaron Ballman authored
-
Arnold Schwaighofer authored
It does not handle loops correctly i.e it moves the lifetime.start intrinsic into a loop rendering the stack object as not alive for part of the loop. ``` entry: %obj = alloca i8 lifetime.start(%obj) br loop loop: coro.suspend() escape(%obj) cond_br %cond, label %exit, label loop br loop exit: lifetime.end(%obj ``` After sinking: ``` entry: %obj = alloca i8 br loop loop: coro.suspend() lifetime.start(%obj) escape(%obj) cond_br %cond, label %exit, label loop br loop exit: lifetime.end(%obj ``` rdar://83411917 Differential Revision: https://reviews.llvm.org/D110953
-
Aaron Ballman authored
The test is the same whether it's testing _BitInt or _ExtInt, so use the type which is not deprecated.
-
Louis Dionne authored
I assume nobody ever uses std::string_view::max_size() outside of testing. However, we should still return a value that is based on something with a reasonable rationale. Previously, we would forget to take into account the size of the character type stored in the string, and this patch takes that into account. Thanks to @mclow.lists for pointing out this issue. Differential Revision: https://reviews.llvm.org/D114395
-