- Oct 10, 2023
-
-
José Lira Junior authored
## Description This pull request adds a new `stop-at-user-entry` option to LLDB `process launch` command, allowing users to launch a process and pause execution at the entry point of the program (for C-based languages, `main` function). ## Motivation This option provides a convenient way to begin debugging a program by launching it and breaking at the desired entry point. ## Changes Made - Added `stop-at-user-entry` option to `Options.td` and the corresponding case in `CommandOptionsProcessLaunch.cpp` (short option is 'm') - Implemented `GetUserEntryPointName` method in the Language plugins available at the moment. - Declared the `CreateBreakpointAtUserEntry` method in the Target API. - Create Shell test for the command `command-process-launch-user-entry.test`. ## Usage `process launch --stop-at-user-entry` or `process launch -m` launches the process and pauses execution at the entry point of the program.
-
Slava Zakharin authored
cuda-11.8 nvcc cannot handle brace initialization of the lambda object. 12.1 works okay, but I would like to have an option to use 11.8.
-
Nico Weber authored
-
Aiden Grossman authored
Currently the email that gets sent out to people subscribing to a label that the bot tags on the PR doesn't include any authorship information which some people are interested in having. This patch adds an author field to the message with the relevant information.
-
Aiden Grossman authored
This was based on post-commit reviewer feedback in #68636.
-
ChiaHungDuan authored
…f… (#68626) This reverts commit 8dd9615d. 1. Fixed the ambiguous aliasing 2. Fixed the type conversion warning
-
Aiden Grossman authored
-
Balaji V. Iyer authored
Added OpenACCOpsInterfaces and correct dependencies to the BUILD.bazel file.
-
Juergen Ributzka authored
It's no longer possible to submit bitcode apps to the Apple App Store. The tools used to create xar archived bitcode sections inside MachO files have been discontinued. Additionally, the xar APIs have been deprecated since macOS 12, so this change removes unnecessary code from objdump and all dependencies on libxar. This fixes rdar://116600767
-
nicole mazzuca authored
The old code incorrectly checked what relative offsets were allowed. The correct check is that the offset from the target to the instruction pointer should be within $[-2^{31}, 2^{31})$; however, the check that was originally written was that the offset was within $[0, 2^{31})$. Negative offsets are certainly allowable (as long as they fit in 32 bits), and this change fixes that. -
Aart Bik authored
Used for asserting we do not run out of bounds on the expanded access pattern.
-
Aart Bik authored
Rename util genReaderBuffers -> genMapBuffers since it is no longer specific to the reader, but all MapRef data in general.
-
Roy Sundahl authored
Rather than forwarding the LLDB entrypoints into asan_abi stable ABI, leave them unimplemented for now. Doing so allows the shim and asan_abi to be solely constrained to the entrypoints expected by the instrumentation. We will take up a model for other stable ABIs (tsan, ubsan, common, etc.) at a later date after choosing an inter-sanitizer stable abi pattern after discussion and RFC. This commit modifies https://reviews.llvm.org/D159545 by simply eliminating them from the shim entirely. rdar://115974403
-
Anthony Cabrera authored
As shown in #64315, there were issues when trying to lower two flavors of Fortran code that implicitly perform `CHARACTER` conversion. This PR addresses those issues.
-
Alexey Bataev authored
If the analysis of the single vector requested, need to use original type to avoid crash
-
Daniel Thornburgh authored
-
Maksim Levental authored
This PR adds the additional generation of what I'm calling "value builders" (a term I'm not married to) that look like this: ```python def empty(sizes, element_type, *, loc=None, ip=None): return get_result_or_results(tensor.EmptyOp(sizes=sizes, element_type=element_type, loc=loc, ip=ip)) ``` which instantiates a `tensor.EmptyOp` and then immediately grabs the result (`OpResult`) and then returns that *instead of a handle to the op*. What's the point of adding these when `EmptyOp.result` already exists? My claim/feeling/intuition is that eDSL users are more comfortable with a value centric programming model (i.e., passing values as operands) as opposed to an operator instantiation programming model. Thus this change enables (or at least goes towards) the bindings supporting such a user and use case. For example, ```python i32 = IntegerType.get_signless(32) ... ten1 = tensor.empty((10, 10), i32) ten2 = tensor.empty((10, 10), i32) ten3 = arith.addi(ten1, ten2) ``` Note, in order to present a "pythonic" API and enable "pythonic" eDSLs, the generated identifiers (op names and operand names) are snake case instead of camel case and thus `llvm::convertToSnakeFromCamelCase` needed a small fix. Thus this PR is stacked on top of https://github.com/llvm/llvm-project/pull/68375. In addition, as a kind of victory lap, this PR adds a "rangefor" that looks and acts exactly like python's `range` but emits `scf.for`. -
ChiaHungDuan authored
…reelist (#67379)" This reverts commit b9c6737b.
-
Huihui Zhang authored
Add an user note to pass -fstrict-aliasing explicitly for clang-cl to enable TBAA. Also add help text for -f[no-]strict-aliasing.
-
Leonard Chan authored
This reverts commit a4d51e5b. Reverting since this breaks the lsan-test on fuchsia riscv builders. I had adjusted settings for the 64-bit allocator for asan, but forgot about standalone lsan and need to do that also.
-
Martin Storsjö authored
Treat this as an alias for the --shared option. In practice in GNU ld, they aren't exact aliases but there are small subtle differences in what happens and what doesn't, when they are set, but those differences are probably not intended by users who might be using the --dll option (which gets passed by -mdll in the compiler driver), and the differences are within the area where small details differ between LLD and GNU ld anyway.
-
Martin Storsjö authored
This reapplies the change from c218c80c, which was lost in the refactoring in 78d649a4. On Windows, the Python interpreter is by default installed in a path like "C:\Program Files\Python38\python.exe", which requires quoting when included in a concatenated command string (as opposed to a command list, where each argument is a separate element). This doesn't show up in the CI environments as they use Python installed in a different directory, like C:\Python. In addition to the python executable, also quote the path to run.py, if needed.
-
ChiaHungDuan authored
This change moves the `TransferBatch` and `BatchGroup` out of SizeClassAllocatorLocalCache. It allows us that the node in freelist can store more blocks instead of depending on the number of blocks cached. That means we will be able to store more blocks in each node of freelist and therefore reduce the memory used by BatchClass (with little performance overhead). Note that we haven't enabled that in this patch. This is the first step of this transition.
-
Felix authored
If a parameter value is either 'none', 'null', 'false', '-1' or '', we will in that case use the default value. Reviewed By: PiotrZSL Differential Revision: https://reviews.llvm.org/D159436
-
Noah Goldstein authored
Prior logic would remove the shuffle iff all of the elements in `x` where used. This is incorrect. The issue is `movmsk` only cares about the highbits, so if the width of the elements in `x` is smaller than the width of the elements for the `movmsk`, then the shuffle, even if it preserves all the elements, may change which ones are used by the highbits. For example: `movmsk64(bitcast(shuffle32(x, (1,0,3,2))))` Even though the shuffle mask `(1,0,3,2)` preserves all the elements, it flips which will be relevant to the `movmsk64` (x[1] and x[3] before and x[0] and x[2] after). The fix here, is to ensure that the shuffle mask can be scaled to the element width of the `movmsk` instruction. This ensure that the "high" elements stay "high". This is overly conservative as it misses cases like `(1,1,3,3)` where the "high" elements stay intact despite not be scalable, but for an relatively edge-case optimization that should generally be handled during simplifyDemandedBits, it seems okay.
-
Noah Goldstein authored
-
Artem Belevich authored
Make v4i8 a legal type and plumb through lowering of relevant instructions.
-
alexfh authored
This reverts commit 9a954c69, which causes clang crashes when compiling with `-fsanitize=bounds`. See https://github.com/llvm/llvm-project/commit/9a954c693573281407f6ee3f4eb1b16cc545033d#commitcomment-129529574 for details.
-
Philip Reames authored
This builds on the transform introduced in f0505c3d, and generalizes to all integer operations in 45a334d3. This change adds support for floating point sumation. A couple of notes: * I chose to leave fmaxnum and fminnum unhandled for the moment. They have a slightly different set of legality rules. * We could form strictly sequenced FADD reductions for FADDs without fast math flags. As the ordered reductions are more expensive, I left thinking about this as a future exercise. * This can't yet match the full vector reduce + start value idiom. That will be an upcoming set of changes.
-
peterbell10 authored
This adds the following canonicalization patterns: - Inverting condition: - `select(not(pred), a, b) => select(pred, b, a)` - Merging consecutive selects with the same predicate - `select(pred, select(pred, a, b), c) => select(pred, a, c)` - `select(pred, a, select(pred, b, c)) => select(pred, a, c)` - Merging consecutive selects with a common value: - `select(predA, select(predB, a, b), b) => select(and(predA, predB), a, b)` - `select(predA, select(predB, b, a), b) => select(and(predA, not(predB)), a, b)` - `select(predA, a, select(predB, a, b)) => select(or(predA, predB), a, b)` - `select(predA, a, select(predB, b, a)) => select(or(predA, not(predB)), a, b)`
-
Björn Schäpers authored
In preparation of #67906.
-
Björn Schäpers authored
In preparation of #67906.
-
Slava Zakharin authored
Conversion of `hlfir.assign` operations inside OpenACC recipe operations may result in `fir.alloca` insertion. FIRBuilder can only handle alloca insertion inside FuncOp's and outlineable OpenMP operations. I added a simple interface for OpenACC recipe operations that have executable code inside all their regions, and alloca may be inserted into the entry blocks of those regions always. With our current approach the OptimizedBufferization pass is supposed to lower these `hlfir.assign` operations into loops, because there should not be conflicts between lhs/rhs. The pass is currently only working on FuncOp, and this is why it does not optimize `hlfir.assign` inside the recipes. I will fix it in a separate commit. Since we run OptimizedBufferization only at >O0, these changes should still be useful. Note that the OpenACC codegen that applies the recipes should be aware of potential alloca operations and produce appropriate stack clean-ups.
-
Alex Langford authored
There are only ever 2 FilterRules and their operations are either "regex" or "match". This does not benefit from deduplication since the strings have static lifetime and we can just compare StringRefs pointing to them. This is also not on a fast path, so it doesn't really benefit from the pointer comparisons of ConstStrings.
-
Kazu Hirata authored
This patch fixes: third-party/unittest/googletest/include/gtest/gtest.h:1379:11: error: comparison of integers of different signs: 'const unsigned int' and 'const int' [-Werror,-Wsign-compare]
-
Guray Ozen authored
The Op selects a leader thread from a set of threads. See for more information: https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#parallel-synchronization-and-communication-instructions-elect-sync
-
Valentin Clement authored
Add support for pointer and allocatable arrays in private clause.
-
Thurston Dang authored
This reverts commit e6e9beb9 due to an ongoing buildbot breakage starting from https://lab.llvm.org/buildbot/#/builders/168/builds/16127 to present (https://lab.llvm.org/buildbot/#/builders/168/builds/16152)
-
Valentin Clement authored
This reverts commit e85cdb94. This fails some buildbots
-
Valentin Clement (バレンタイン クレメン) authored
Add support for pointer and allocatable arrays in private clause.
-