- Aug 04, 2022
-
-
Augusto Noronha authored
It may be useful to search symbol table entries by mangled instead of demangled names. Add this optional functionality in the SymbolTable functions. Differential Revision: https://reviews.llvm.org/D130803
-
Siva Chandra Reddy authored
Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D130966
-
Jonas Devlieghere authored
Add a newline after LLDB_INSTRUMENT_VA to match the output of lldb-instr and keep everything consistent.
-
isuckatcs authored
In ExprEngine::bindReturnValue() we cast an SVal to DefinedOrUnknownSVal, however this SVal can also be Undefined, which leads to an assertion failure. Fixes: #56873 Differential Revision: https://reviews.llvm.org/D130974
-
Michał Górny authored
This reverts commit 446b61cf. Of course it does not work on Windows.
-
Amy Huang authored
Reduce the size of the test-columns.pdb file from 6MB to 72KB by not including standard libraries when building. Also update the instructions for building the exe/pdb files. context https://reviews.llvm.org/D81950#3692893 Differential Revision: https://reviews.llvm.org/D131035
-
Ben Langmuir authored
As progress towards having FileManager::getFileRef() return the path as-requested by default, return a FileEntryRef that can use getNameAsRequested() to retrieve this path, with the ultimate goal that this should be the behaviour of getName() and clients should explicitly request the "external" name if they need to (see comment in FileManager::getFileRef). For now, getName() continues to return the external path by looking through the redirects. For now, the new function is only used in unit tests. Differential Revision: https://reviews.llvm.org/D131004
-
Michał Górny authored
Refactor the mechanism for sending interrupt packets to send them from async thread (i.e. the same thread that sends the continue packet preceding them and that waits for the response), rather than from the thread requesting the interrupt. This is going to become especially important when using the vCtrlC packet as part of the non-stop protocol, as -- unlike the simple ^c sent in the all-stop mode -- this packet involves an explicit reply. Suggested by Pavel Labath in D126614. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.llvm.org/D131075
-
Adrian Vogelsgesang authored
Implements part of: * P1614R2 The Mothership has Landed Fixes LWG3427 Reviewed By: #libc, Mordante Differential Revision: https://reviews.llvm.org/D130852
-
Louis Dionne authored
-
Jennifer Yu authored
https://github.com/llvm/llvm-project/issues/56884 The root problem is in isOpenMPRebuildMemberExpr, it is only need to rebuild for field expression. No need for member function call. The fix is to check field for member expression and skip rebuild for member function call. Differential Revision: https://reviews.llvm.org/D131024
-
Casey Carter authored
-
John Regehr authored
-
- Aug 03, 2022
-
-
Nicolai Hähnle authored
This reverts commit 38817af6. Buildbots report a Windows build error. Revert until I can look at it more carefully.
-
Philip Reames authored
-
Nicolai Hähnle authored
Differential Revision: https://reviews.llvm.org/D129127
-
Yitzhak Mandelbaum authored
This patch modifies context-sensitive analysis of functions to use a cache, rather than recreate the `ControlFlowContext` from a function decl on each encounter. However, this is just step 1 (of N) in adding support for a configurable map of "modeled" function decls (see issue #56879). The map will go from the actual function decl to the `ControlFlowContext` used to model it. Only functions pre-configured in the map will be modeled in a context-sensitive way. We start with a cache because it introduces the desired map, while retaining the current behavior. Here, functions are mapped to their actual implementations (when available). Differential Revision: https://reviews.llvm.org/D131039
-
Philip Reames authored
This is mostly a stylistic change to make the uniform memop widening cost code fit more naturally with the sourounding code. Its not strictly speaking NFC as I added in the store with invariant value case, and we could in theory have a target where a gather/scatter is cheaper than a single load/store... but it's probably NFC in practice. Note that the scatter/gather result can still be overriden later if the result is uniform-by-parts.
-
Erich Keane authored
When doing that NFC refactor, I'd messed up how char8_t was reported, which resulted in it being considered a 'future' keyword, without the corresponding diagnostic, which lead to an assert. This patch corrects the char8_t to ONLY be future in C++ mode.
-
Nico Weber authored
Matches the CMake build, and might help with a flaky test on Windows. See https://bugs.chromium.org/p/chromium/issues/detail?id=1348730#c2 for details.
-
Pavel Labath authored
Currently, lldb-server was opening the executable file to determine the process architecture (to differentiate between 32 and 64 bit architecture flavours). This isn't a particularly trustworthy source of information (the file could have been changed since the process was started) and it is not always available (file could be deleted or otherwise inaccessible). Unfortunately, ptrace does not give us a direct API to access the process architecture, but we can still infer it via some of its responses -- given that the general purpose register set of 64-bit applications is larger [citation needed] than the GPR set of 32-bit ones, we can just ask for the application GPR set and check its size. This is what this patch does. Differential Revision: https://reviews.llvm.org/D130985
-
Erich Keane authored
The getKeywordStatus function is a horrible mess of inter-dependent 'if' statements that depend significantly on the ORDER of the checks. This patch removes the dependency on order by checking each set-flag only once. It does this by looping through each of the set bits, and checks each individual flag for its effect, then combines them at the end. This might slow down startup performance slightly, as there are only a few hundred keywords, and a vast majority will only get checked 1x still. This patch ALSO removes the KEYWORD_CONCEPTS flag, because it has since become synonymous with C++20. Differential Revision: https://reviews.llvm.org/D131007
-
Jonas Paulsson authored
The SystemZ ABI says that 128 bit integers should be aligned to only 8 bytes. Reviewed By: Ulrich Weigand, Nikita Popov Differential Revision: https://reviews.llvm.org/D130900
-
Louis Dionne authored
Trying to be generic didn't work properly because we had to special-case some interface libraries that we didn't want in the linker script. Instead, only look at the ABI and the unwinding libraries explicitly. This should solve the issue reported by @dim in [1]. [1]: https://discourse.llvm.org/t/15-0-0-rc1-has-been-tagged/64174/22 Differential Revision: https://reviews.llvm.org/D131037
-
Louis Dionne authored
It must have been a copy-paste error, since cxx-include is never defined by the libunwind config. Differential Revision: https://reviews.llvm.org/D131030
-
Louis Dionne authored
-
David Truby authored
This patch ensures consistency in the construction of FP_ROUND nodes such that they always use ISD::TargetConstant instead of ISD::Constant. This additionally fixes a bug in the AArch64 SVE backend where patterns were matching against TargetConstant nodes and sometimes failing when passed a Constant node. Reviewed By: paulwalker-arm Differential Revision: https://reviews.llvm.org/D130370
-
Alex Bradbury authored
An unnecessary sext.w is generated when masking the result of the riscv_masked_cmpxchg_i64 intrinsic. Implementing handling of the intrinsic in ComputeNumSignBitsForTargetNode allows it to be removed. Although this isn't a particularly important optimisation, removing the sext.w simplifies implementation of an additional cmpxchg-related optimisation in D130192. Although I can't produce a test with different codegen for the other atomics intrinsics, these are added as well for completeness. Differential Revision: https://reviews.llvm.org/D130191
-
Nicolai Hähnle authored
Differential Revision: https://reviews.llvm.org/D129126
-
Dmitry Preobrazhensky authored
Enable SGPRs for the following operands of these opcodes: - src operands of VOP3 variant. - src2 operand of DPP variants. Differential Revision: https://reviews.llvm.org/D130989
-
Dmitry Preobrazhensky authored
Encode dst=EXEC but allow disassembler accept any dst value. Differential Revision: https://reviews.llvm.org/D130978
-
Michele Scuttari authored
The reconciliation pass has been improved to introduce the support for chains of casts, thus not limiting anymore the reconciliation to just consider pairs of unrealized casts. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D130711
-
Nicolai Hähnle authored
Differential Revision: https://reviews.llvm.org/D129124
-
Rainer Orth authored
As reported in Issue #56850, mlir/lib/Analysis/Presburger/Utils.cpp doesn't compile on Solaris 11.4/SPARC with the bundled GCC 11, as seen when testing LLVM 15.0.0 rc1: /var/llvm/reltest/llvm-15.0.0-rc1/rc1/llvm-project/mlir/include/mlir/Analysis/Presburger/MPInt.h:260:47: error: inlining failed in call to ‘always_inline’ ‘int64_t mlir::presburger::int64FromMPInt(const mlir::presburger::MPInt&)’: indirect function call with a yet undetermined callee This patch hacks around this and allowed the build to finish. Tested on `sparcv9-sun-solaris2.11`. Differential Revision: https://reviews.llvm.org/D131060
-
Johannes Reifferscheid authored
Reviewed By: pifon2a Differential Revision: https://reviews.llvm.org/D131061
-
Fraser Cormack authored
These should be named like the non-VP versions for consistency. Reviewed By: reames Differential Revision: https://reviews.llvm.org/D130967
-
Phoebe Wang authored
`BMI` new instruction `tzcnt` has better performance than `bsf` on new processors. Its encoding has a mandatory prefix '0xf3' compared to `bsf`. If we force emit `rep` prefix for `bsf`, we will gain better performance when the same code run on new processors. GCC has already done this way: https://c.godbolt.org/z/6xere6fs1 Fixes #34191 Reviewed By: skan Differential Revision: https://reviews.llvm.org/D130956
-
Johannes Reifferscheid authored
Unfortunately, this overflow is extremely hard to reproduce reliably (in fact, I was unable to do so). The issue is that: - getOperandsToCreate sometimes skips creating an SCEV for the LHS - then, createSCEV is called for the BinaryOp - ... which calls getNoWrapFlagsFromUB - ... which under certain circumstances calls isSCEVExprNeverPoison - ... which under certain circumstances requires the SCEVs of all operands For certain deep dependency trees, this causes a stack overflow. Reviewed By: bkramer, fhahn Differential Revision: https://reviews.llvm.org/D129745
-
Timm Bäder authored
-
Markus Böck authored
`split-file` is essentially a development tool used for writing tests. Other related tooling for this purpose such as `FileCheck`, `count`, `not` and more are already created via `add_llvm_utility` instead of `add_llvm_tool`. The later is more meant as LLVM tools used as part of a toolchain (eg. `llvm-ar`), not for tools for the development of LLVM itself. The main semantic difference this makes is that `split-file` is now built and installed via the `LLVM_INSTALL_UTILS` and `LLVM_BUILD_UTILS` instead of `LLVM_BUILD_TOOLS` and `LLVM_INSTALL_TOOLS` cmake flags. That way one can use `LLVM_BUILD_TOOLS=OFF LLVM_INSTALL_UTILS=ON` and have `split-file` installed along side the other testing tools. Differential Revision: https://reviews.llvm.org/D130977
-