- Mar 16, 2023
-
-
Kirill Stoimenov authored
Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D146180
-
Ben Shi authored
Reviewed By: reames Differential Revision: https://reviews.llvm.org/D146108
-
Ben Shi authored
Reviewed By: reames Differential Revision: https://reviews.llvm.org/D146015
-
Siva Chandra Reddy authored
Fixes #59277 - The main part of that bug has already been addressed. This commit just adds documentation. Reviewed By: jeffbailey Differential Revision: https://reviews.llvm.org/D146115
-
Siva Chandra Reddy authored
Also, fixed a minor typo in compiler_support.rst. Reviewed By: jeffbailey, gchatelet Differential Revision: https://reviews.llvm.org/D146112
-
Douglas Yung authored
This will fix buildbots that fail because they do not have ZLIB installed such as https://lab.llvm.org/buildbot/#/builders/216/builds/18424
-
Joseph Huber authored
Summary: I forgot to add return statements to these memory comparison functions. This should hopefully resolve some BB errors.
-
LiaoChunyu authored
This patch reduces the number of unpredictable branches. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D146117
-
Joseph Huber authored
Summary: We don't use these features in the GPU build, trying to determine them can cause errors. We should just return early if this is the case.
-
WANG Xuerui authored
Similar to D98610 for RISCV. This is going to be required by the upcoming Linux/LoongArch [[ https://git.kernel.org/linus/4733f09d88074 | support for dynamic ftrace ]]. Reviewed By: SixWeining, MaskRay Differential Revision: https://reviews.llvm.org/D141785
-
Joseph Huber authored
The integration tests require the C memory functions as the compiler may emit calls to them directly. The tests normally use the `__internal__` variant that is built for testing, but these memory functions were linked directly to preserve the entrypoint. Instead, we forward delcare the internal versions and map the entrypoints to them manually inside the integration test. This allows us to use the internal versions of these files like the rest of the test objects. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D146177
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
William Huang authored
[llvm-profdata] Add more unit tests to check --output-size-limit feature when compression is enabled Add unit tests for ExtBinary format with compression. This patch doesn't imply there's a bug in the existing implementation, but as a precaution that planned changes to SampleProfileReader may cause it to break. Reviewed By: snehasish Differential Revision: https://reviews.llvm.org/D144524
-
Christopher Ferris authored
The force flag to releaseToOSMaybe does not release everything since it is an expensive operation. Modify the release flag to have three states: normal, force, forceall. Force behaves the same as setting Force to true from before this change. Forceall will release everything regardless of how much time it takes, or how much there is to release. In addition, add a new mallopt that will call the release function with the forceall flag set. Reviewed By: Chia-hungDuan Differential Revision: https://reviews.llvm.org/D146106
-
Jakub Kuderski authored
Add `template` to fix a buildbot: https://lab.llvm.org/buildbot/#/builders/199/builds/18363. This is a post-commit fix for https://reviews.llvm.org/D144503, submitted as a0a76804.
-
Jim Ingham authored
Command Interpreter mechanism. Differential Revision: https://reviews.llvm.org/D145136
-
Jakub Kuderski authored
This does not work by a mere composition of `enumerate` and `zip_equal`, because C++17 does not allow for recursive expansion of structured bindings. This implementation uses `zippy` to manage the iteratees and adds the stream of indices as the first zipped range. Because we have an upfront assertion that all input ranges are of the same length, we only need to check if the second range has ended during iteration. As a consequence of using `zippy`, `enumerate` will now follow the reference and lifetime semantics of the `zip*` family of functions. The main difference is that `enumerate` exposes each tuple of references through a new tuple-like type `enumerate_result`, with the familiar `.index()` and `.value()` member functions. Because the `enumerate_result` returned on dereference is a temporary, enumeration result can no longer be used through an lvalue ref. Reviewed By: dblaikie, zero9178 Differential Revision: https://reviews.llvm.org/D144503
-
Michael Francis authored
The current implementation of `-p` does not claim the argument once it is passed. Since it pushes `-pg` directly, it is only ever referred to again when linking. As a result, when compiling with `-S`, the compiler warns that `-p` goes unused even though that is not the case. With this patch, if both `-p` and `-pg` are passed, the argument that is passed second will take precedence. `-p` will still throw an error on unsupported platforms, regardless of precedence. This revision includes a test case, which has been placed in `clang/test/Driver/zos-profiling-error.c`. As a result, `zos-profiling-error.c` has been renamed to `ibm-profiling.c`. This revision also passes `clang/test/Driver/aix-ld.c`. Differential Revision: https://reviews.llvm.org/D145021
-
Jonas Devlieghere authored
PythonDataObjectsTest.TestExceptions started failing because the output of the python traceback printers is now consistent between python and cpython [1]. Work around the issue by supporting both variants. Thanks to Ismail for identifying the root cause. [1] https://github.com/python/cpython/issues/85203
-
Tue Ly authored
Clean up some warnings from running libc-lint for these folders. Reviewed By: michaelrj, sivachandra Differential Revision: https://reviews.llvm.org/D146048
-
Matt Arsenault authored
-
Luke Lau authored
The loop vectorizer supports generating interleaved loads and stores via shuffle patterns for fixed length vectors. This enables it for RISC-V, since interleaved shuffle patterns can be lowered to vlseg/vsseg in https://reviews.llvm.org/D145022 Reviewed By: reames Differential Revision: https://reviews.llvm.org/D145155
-
Roy Jacobson authored
If a union has explicit initializers for some members, we shouldn't delete its default constructor. Fixes https://github.com/llvm/llvm-project/issues/48416. Reviewed By: erichkeane Differential Revision: https://reviews.llvm.org/D145851
-
Jon Roelofs authored
Differential Revision: https://reviews.llvm.org/D146105
-
Jon Roelofs authored
This reverts commit 1def3141.
-
Jon Roelofs authored
Differential Revision: https://reviews.llvm.org/D146105
-
Zain Jaffal authored
[AArch64] Change GeneratePerfectShuffle to return one destination operand for zip and transpose operations. The tests added where crashing because zip instruction was returning two destination operands. ZIP according to arm returns only one destination operand. Reviewed By: dmgreen, fhahn Differential Revision: https://reviews.llvm.org/D146055
-
Florian Hahn authored
Modifying AddRecs when constructing other expressions can lead to surprising changes. It also seems like it is not really beneficial i most cases. At the moment, there's a single regression, but we still might be able to improve the flags at AddRec construction. Might help with the issue discussed in D143409. Reviewed By: mkazantsev Differential Revision: https://reviews.llvm.org/D144051
-
bixia1 authored
Previously, we choose the median of three values. We now choose the median of five values when the number of values being sorted exceed a threshold (currently 100). This is similar to std::sort. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D145534
-
Dave Lee authored
Change `dwim-print` to now disable persistent results by default, unless requested by the user with the `--persistent-result` flag. Ex: ``` (lldb) dwim-print 1 + 1 (int) 2 (lldb) dwim-print --persistent-result on -- 1 + 1 (int) $0 = 2 ``` Users who wish to enable persistent results can make and use an alias that includes `--persistent-result on`. Differential Revision: https://reviews.llvm.org/D145609
-
Arthur Eubanks authored
See comments for why we now need to pass in the MAM instead of the FAM. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D146160
-
Arthur Eubanks authored
This reverts commit d6c0724e. Breaks clang/flang builds.
-
Arthur Eubanks authored
See comments for why we now need to pass in the MAM instead of the FAM. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D146160
-
Arthur Eubanks authored
Reuse StructuralHash and allow it to be used in non-expensive checks builds. Move PreservedAnalysisChecker further down StandardInstrumentations so other Instrumentations (e.g. printing) have a chance to run before PreservedAnalysisChecker crashes. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D146003
-
Arthur Eubanks authored
In preparation for adding more checks under this flag. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D146069
-
Amir Ayupov authored
Move out prepareToParse lambda, generalize it to handle mem events perf process. Reviewed By: #bolt, rafauler Differential Revision: https://reviews.llvm.org/D146002
-