- Dec 01, 2021
-
-
Jameson Nash authored
It seems clearer to me that this would check for *any of* instead of *all of* these option categories, as it looks to me like that was the intent. But apparently this logic has always has been inverted, and possibly never fully used? Differential Revision: https://reviews.llvm.org/D114572
-
Michael Jones authored
Up until now, all references to `errno` were marked with `NOLINT`, since it was technically calling an external function. This fixes the lint rules so that `errno`, as well as `malloc`, `calloc`, `realloc`, and `free` are all allowed to be called as external functions. All of the relevant `NOLINT` comments have been removed, and the documentation has been updated. Reviewed By: sivachandra, lntue, aaron.ballman Differential Revision: https://reviews.llvm.org/D113946
-
Snehasish Kumar authored
The memprof unittest also needs to include the MemProfData.inc header directly to have access to MEMPROF_RAW_MAGIC and MEMPROF_RAW_VERSION globals.
-
Fangrui Song authored
This reverts the PPC64PCRelLongBranchThunk part from D86706. PPC64PCRelLongBranchThunk is the same as PPC64R12SetupStub. Use `__gep_setup_` instead of `__long_branch_pcrel_` for the stub symbol name as it more closely indicates the operation. (Note: GNU ld uses `*.long_branch.*` and `*.plt_branch.*`). Reviewed By: NeHuang, nemanjai Differential Revision: https://reviews.llvm.org/D114656
-
Jonas Devlieghere authored
-
Jonas Devlieghere authored
Make sure to add the PrivateFrameworks directory to the frameworks path when using an internal SDK. This is necessary for the "on-device" test suite. rdar://84519268 Differential revision: https://reviews.llvm.org/D114742
-
Sanjay Patel authored
https://alive2.llvm.org/ce/z/4PaPDy There's a related fold where the inner 'or' is replaced by 'and', but that needs to be more careful about matching a 'not'.
-
Sanjay Patel authored
-
Sanjay Patel authored
Also, vary the types in a couple of tests for better coverage.
-
Fangrui Song authored
There is a trend of having more optional options (usually security hardening related) like -z cet-report=, -z bti-report=, -z force-bti. If ld.lld 14.0.0 uses a warning, in 15/16/17/... timeframe when people add new options to software, they can worry less about linker errors on ld.lld 14.0.0. In some cases `-z foo` does essential work where a silent ignore can be problematic, but the user has received a warning. From my observation, the doing-essential-work `-z foo` is much fewer than the converse. In addition, the user who cares can use `--fatal-warnings` (Note: GNU ld doesn't upgrade warnings to errors). It is unclear whether we need something like `clang -Wunknown-warning-option`. If we ever run into unfortunate transition like `-z start-stop-gc`, the affected software (e.g. ldc is a compiler which passes linker options to the underlying ld) can blindly add the `-z` option, without worrying it may cause a linker error to LLD 14.0.0. Reviewed By: jrtc27, peter.smith Differential Revision: https://reviews.llvm.org/D114748
-
LLVM GN Syncbot authored
-
Snehasish Kumar authored
This commit adds initial support to llvm-profdata to read and print summaries of raw memprof profiles. Summary of changes: * Refactor shared defs to MemProfData.inc * Extend show_main to display memprof profile summaries. * Add a simple raw memprof profile reader. * Add a couple of tests to tools/llvm-profdata. Differential Revision: https://reviews.llvm.org/D114286
-
Peter Klausler authored
An earlier fix to evaluate::IsSaved() needed to preserve its treatment of named constants in modules and main programs -- i.e. they would appear to be saved -- until a correction was added to the lowering code. This TODO can now be resolved. Differential Revision: https://reviews.llvm.org/D114756
-
Hans Wennborg authored
-
Alexey Bataev authored
Extended support for undefined source vector/extract indices/non-fixed vector types, also no need to check for the parent of the extractelement instructions with the constant indicies. Differential Revision: https://reviews.llvm.org/D114121
-
Sanjay Patel authored
-
Sanjay Patel authored
Half of the tests had an extra instruction so were not testing the minimal patterns.
-
Sanjay Patel authored
Reduce duplication for handling the top-level commuted operands. There are several other folds that should be moved in here, but we need to make sure there's good test coverage.
-
Sanjay Patel authored
The code for these transforms can be refactored, but the existing tests are incomplete.
-
Sanjay Patel authored
The tests are adapted from the xor patterns used with: 892648b1 b326c058
-
Alexey Bataev authored
NFC.
-
Nikita Popov authored
Revert "Use VersionTuple for parsing versions in Triple. This makes it possible to distinguish between "16" and "16.0" after parsing, which previously was not possible." This reverts commit 1e828646. llvm/test/Transforms/LoopStrengthReduce/X86/2009-11-10-LSRCrash.ll fails with assertion failure: llc: /home/nikic/llvm-project/llvm/include/llvm/ADT/Optional.h:196: T& llvm::optional_detail::OptionalStorage<T, true>::getValue() & [with T = unsigned int]: Assertion `hasVal' failed. ... #8 0x00005633843af5cb llvm::MCStreamer::emitVersionForTarget(llvm::Triple const&, llvm::VersionTuple const&) #9 0x0000563383b47f14 llvm::AsmPrinter::doInitialization(llvm::Module&)
-
kpyzhov authored
Differential Revision: https://reviews.llvm.org/D114310
-
Nikita Popov authored
ValuesAtScopes maps a SCEV and a Loop to another SCEV. While we invalidate entries if the left-hand SCEV is invalidated, we currently don't do this for the right-hand SCEV. Fix this by tracking users in a reverse map and using it for invalidation. This is conceptually the same change as D114738, but using the reverse map to avoid performance issues. Differential Revision: https://reviews.llvm.org/D114788
-
Steven Wu authored
Size 0 sections can have symbols that have size 0. Build those sections and symbols into the LinkGraph so they can be used properly if needed. Reviewed By: lhames Differential Revision: https://reviews.llvm.org/D114749
-
Steven Wu authored
Add support for reading extended table in ELF object file. This allows JITLink to support ELF object files with many sections. Reviewed By: lhames Differential Revision: https://reviews.llvm.org/D114747
-
Hongtao Yu authored
For nodes that are in a cycle of a profiled call graph, the current order the underlying scc_iter computes purely depends on how those nodes are reached from outside the SCC and inside the SCC, based on the Tarjan algorithm. This does not honor profile edge hotness, thus does not gurantee hot callsites to be inlined prior to cold callsites. To mitigate that, I'm adding an extra sorter on top of scc_iter to sort scc functions in the order of callsite hotness, instead of changing the internal of scc_iter. Sorting on callsite hotness can be optimally based on detecting cycles on a directed call graph, i.e, to remove the coldest edge until a cycle is broken. However, detecting cycles isn't cheap. I'm using an MST-based approach which is faster and appear to deliver some performance wins. Reviewed By: wenlei Differential Revision: https://reviews.llvm.org/D114204
-
Paul Robinson authored
-
Benjamin Kramer authored
Looks like this is actually dead code?
-
Philip Reames authored
-
Ryan Mansfield authored
During the renaming of blacklist to ignorelist this test got renamed incorrectly. Differential revision: https://reviews.llvm.org/D114710
-
Mateja Marjanovic authored
Combine V_RCP and V_SQRT into V_RSQ on AMDGPU for GlobalISel. Change-Id: I93c5dcb412483156a6e8b68c4085cbce83ac9703
-
Valentin Clement authored
This reverts commit cf3422d3. This fails on some buildbots
-
Valentin Clement authored
Remove unused fct added with 47f75930
-
- Nov 30, 2021
-
-
gysit authored
Add the decompose patterns that lower higher dimensional convolutions to lower dimensional ones to CodegenStrategy and use CodegenStrategy to test the decompose patterns. Additionally, remove the assertion that checks the anchor op name is set in the CodegenStrategyTest pass. Removing the assertion allows us to simplify the pipelines used in the interchange and decompose tests. Depends On D114797 Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D114798
-
gysit authored
The revision updates the convolution decomposition patterns to take a linalg transformation filter. The transformation filter in a later revision allows use the patterns from CodegenStrategy. Depends On D114690 Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D114797
-
James Farrell authored
Use VersionTuple for parsing versions in Triple. This makes it possible to distinguish between "16" and "16.0" after parsing, which previously was not possible. See also https://github.com/android/ndk/issues/1455. Differential Revision: https://reviews.llvm.org/D114163
-
Florian Hahn authored
Using the optimized access enables additional optimizations in cases where the defining access is a non-aliasing store. Alternatively we could also walk upwards and skip non-aliasing defs here, but my experiments so far showed that this will noticeably increase compile-time for little extra gain compared to just using the optimized access. Improvements of dse.NumRedundantStores on MultiSource/CINT2006/CPF2006 on X86 with -O3: test-suite...-typeset/consumer-typeset.test 1.00 76.00 7500.0% test-suite.../Benchmarks/Bullet/bullet.test 3.00 12.00 300.0% test-suite...006/453.povray/453.povray.test 3.00 6.00 100.0% test-suite...telecomm-gsm/telecomm-gsm.test 1.00 2.00 100.0% test-suite...ediabench/gsm/toast/toast.test 1.00 2.00 100.0% test-suite...marks/7zip/7zip-benchmark.test 1.00 2.00 100.0% test-suite...ications/JM/lencod/lencod.test 7.00 10.00 42.9% test-suite...6/464.h264ref/464.h264ref.test 6.00 8.00 33.3% test-suite...ications/JM/ldecod/ldecod.test 6.00 7.00 16.7% test-suite...006/447.dealII/447.dealII.test 33.00 33.00 0.0% test-suite...6/471.omnetpp/471.omnetpp.test NaN 1.00 nan% test-suite...006/450.soplex/450.soplex.test NaN 2.00 nan% test-suite.../CINT2006/403.gcc/403.gcc.test NaN 7.00 nan% test-suite...lications/ClamAV/clamscan.test NaN 1.00 nan% test-suite...CI_Purple/SMG2000/smg2000.test NaN 3.00 nan% Follow-up to D111727. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D112315 -
gysit authored
Add support for an empty anchor op string in vectorization. An empty anchor op string is useful after fusion when there are multiple different operations to vectorize. Depends On D114689 Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D114690
-
Yitzhak Mandelbaum authored
Adds a missing virtual destructor.
-