- Jan 17, 2022
-
-
Fangrui Song authored
-
Kito Cheng authored
Those two TTI hooks are used during vectorization for calculating register pressure, the default implementation isn't consider for LMUL, and that's also definitly wrong value for register number (all register class are 8 registers). So in this patch we tried to: 1. Calculate right register usage for vector type and scalar type. 2. Return right number of register for general purpose register and vector register. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D116890
-
Qiu Chaofan authored
Targets with VSX feature but without native float128 instructions can also use that type with supplementary libcalls. We don't enable it by default now because Glibc assumes long double and float128 can be implicitly converted in between, which is not available under default 'ibmlongdouble' semantics in clang. This commit partly relands cbd93cee.
-
Fangrui Song authored
After the D33630 fallout was properly fixed by a4c5db30. Tested by D37462/D44986 tests, the new --no-rosegment test in build-id.s, and a few --rosegment/--no-rosegment programs.
-
Fangrui Song authored
The new tests in build-id.s would catch problems if we made a mistake here.
-
Fangrui Song authored
-
Fangrui Song authored
-
https://reviews.llvm.org/D113825esmeyi authored
-
Fangrui Song authored
-
Fangrui Song authored
5~6% speedup when linking clang and chrome.
-
Fangrui Song authored
Similar to D116843 for Gnu.cpp Reviewed By: dim Differential Revision: https://reviews.llvm.org/D117388
-
John Ericson authored
I am breaking apart D99484 so the cause of build failures is easier to understand. Differential Revision: https://reviews.llvm.org/D117420
-
eopXD authored
Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D117404
-
Dominik Grewe authored
Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D117403
-
Nikita Popov authored
The idiomatic way would be to call remove() with an AttributeMask constructed from an AttributeSet.
-
Nikita Popov authored
This is unused, and doesn't make a lot of sense as an API. The usual pattern would be to combine the AttrBuilder(AttributeSet) constructor with the overlaps() method.
-
Bjorn Pettersson authored
Update code comments in DAGCombiner::ReduceLoadWidth and refactor the handling of SRL a bit. The refactoring is done with the intent of adding support for folding away SRA by using SEXTLOAD in a follow-up patch. The function is also renamed as DAGCombiner::reduceLoadWidth. Differential Revision: https://reviews.llvm.org/D117104
-
Stanislav Gatev authored
This is part of the implementation of the dataflow analysis framework. See "[RFC] A dataflow analysis framework for Clang AST" on cfe-dev. Differential Revision: https://reviews.llvm.org/D117339
-
Arjun P authored
-
LLVM GN Syncbot authored
-
Alexandre Ganea authored
It seems to be causing issues on https://lab.llvm.org/buildbot/#/builders/123/builds/8383
-
- Jan 16, 2022
-
-
Alexandre Ganea authored
[LLD] Supplement with more comments. Clarify the intention in f860fe36.
-
hyeongyu kim authored
-
LLVM GN Syncbot authored
-
Alexandre Ganea authored
Move all variables at file-scope or function-static-scope into a hosting structure (lld::CommonLinkerContext) that lives at lldMain()-scope. Drivers will inherit from this structure and add their own global state, in the same way as for the existing COFFLinkerContext. See discussion in https://lists.llvm.org/pipermail/llvm-dev/2021-June/151184.html Differential Revision: https://reviews.llvm.org/D108850
-
Florian Hahn authored
After d4a8fc3a LV stopped adding metadata to disable runtime unrolling to the vectorized epilogue loop. This was missed because 278aa65c removed the relevant test coverage. This patch fixes that by adding the relevant metadata after vector loop generation.
-
hyeongyu kim authored
1b1c8d changed `enable-noundef-analysis` flag to `disable-noundef-analysis`. noundef_analysis.cpp was using old `enable-noundef-analysis` flag and this patch fixes it.
-
owenca authored
https://github.com/llvm/llvm-project/issues/53220 Differential Revision: https://reviews.llvm.org/D117414
-
Florian Hahn authored
Move up the definition of AddRuntimeUnrollDisableMetaData, so it can be re-used earlier in the file in a follow-up patch.
-
hyeongyu kim authored
Turning on `enable_noundef_analysis` flag allows better codegen by removing freeze instructions. I modified clang by renaming `enable_noundef_analysis` flag to `disable-noundef-analysis` and turning it off by default. Test updates are made as a separate patch: D108453 Reviewed By: eugenis Differential Revision: https://reviews.llvm.org/D105169
-
Fangrui Song authored
-
Fangrui Song authored
Seems applicable since we demote lazy symbols to Undefined (D111365).
-
Fangrui Song authored
-
Fangrui Song authored
When computeBinding is inlined into includeInDynsym and computeIsPreemptible, the optimizer can remove the config->gnuUnique load.
-
Fangrui Song authored
-
Fangrui Song authored
-
Fangrui Song authored
Sorting dynamic relocations is a bottleneck. Simplifying the comparator improves performance. Linking clang is 4~5% faster with --threads=8. This change may shuffle R_MIPS_REL32 for Mips and is a NFC for non-Mips.
-
Luo, Yuanke authored
instruction.
-
John Ericson authored
https://lab.llvm.org/buildbot/#/builders/46/builds/21146 Still have this odd error, not sure how to reproduce, so I will just try breaking up my patch. This reverts commit 4a678f80.
-
John Ericson authored
This is the original patch in my GNUInstallDirs series, now last to merge as the final piece! It arose as a new draft of D28234. I initially did the unorthodox thing of pushing to that when I wasn't the original author, but since I ended up - Using `GNUInstallDirs`, rather than mimicking it, as the original author was hesitant to do but others requested. - Converting all the packages, not just LLVM, effecting many more projects than LLVM itself. I figured it was time to make a new revision. I have used this patch series (and many back-ports) as the basis of https://github.com/NixOS/nixpkgs/pull/111487 for my distro (NixOS), which was merged last spring (2021). It looked like people were generally on board in D28234, but I make note of this here in case extra motivation is useful. --- As pointed out in the original issue, a central tension is that LLVM already has some partial support for these sorts of things. Variables like `COMPILER_RT_INSTALL_PATH` have already been dealt with. Variables like `LLVM_LIBDIR_SUFFIX` however, will require further work, so that we may use `CMAKE_INSTALL_LIBDIR`. These remaining items will be addressed in further patches. What is here is now rote and so we should get it out of the way before dealing more intricately with the remainder. Reviewed By: #libunwind, #libc, #libc_abi, compnerd Differential Revision: https://reviews.llvm.org/D99484
-