- Jun 06, 2021
-
-
Simon Pilgrim authored
Revert rG0b18c4c0 "SmallVector.h - remove unused MathExtras.h header (REAPPLIED). NFCI." Buildbots still seem to find implicit header dependencies that I can't locally....
-
Simon Pilgrim authored
Try again to remove this header - I think I've found the implicit dependencies (mainly for <cmath>) on linux builds now.
-
Liqiang Tao authored
-
Liqiang Tao authored
This patch abstract Calls in Inliner:run() to InlineOrder. With this patch, it's possible to customize the inlining order, i.e. use queue or priority queue. Reviewed By: kazu Differential Revision: https://reviews.llvm.org/D103315
-
Simon Pilgrim authored
Noticed while investigating if we can remove an unnecessary MathExtras.h include from SmallVector.h (necessary for gcc builds but not MSVC)
-
Simon Pilgrim authored
-
Simon Pilgrim authored
Noticed while investigating if we can remove an unnecessary MathExtras.h include from SmallVector.h (necessary for gcc builds but not MSVC)
-
Simon Pilgrim authored
Revert rG7b839b35 - "SmallVector.h - remove unused MathExtras.h header. NFCI." Breaks on linux buildbots as I seem to have missed some implicit header dependencies....
-
Alexander Shaposhnikov authored
This diff adds support for $ld$install_name symbols. Test plan: make check-lld-macho Differential revision: https://reviews.llvm.org/D103746
-
Simon Pilgrim authored
-
David Green authored
This NEG node is just a vector negation, easily represented as a SUB zero. Removing it from the one place it is generated is essentially an NFC, but can allow some extra folding. The updated tests are now loading different constant literals, which have already been negated. Differential Revision: https://reviews.llvm.org/D103703
-
Simon Pilgrim authored
-
Simon Pilgrim authored
Noticed while investigating if we can remove an unnecessary MathExtras.h include from SmallVector.h
-
Simon Pilgrim authored
Noticed while investigating if we can remove an unnecessary MathExtras.h include from SmallVector.h
-
Simon Pilgrim authored
Noticed while investigating if we can remove an unnecessary MathExtras.h include from SmallVector.h
-
Simon Pilgrim authored
Noticed while investigating if we can remove an unnecessary MathExtras.h include from SmallVector.h
-
Simon Pilgrim authored
Noticed while investigating if we can remove an unnecessary MathExtras.h include from SmallVector.h
-
Simon Pilgrim authored
Noticed while investigating if we can remove an unnecessary MathExtras.h include from SmallVector.h
-
Arthur O'Dwyer authored
The "root nodes" of the graph are displayed in bold. My intent here was to bold just the public-API headers, e.g. <vector> and <experimental/coroutine> and <stdlib.h>, but not helper headers such as <__functional_base> and <__iterator/next.h>. However, the recent mass helper-header-ification has exposed defects in this logic: all the new helpers were ending up bolded! Fix this. Also, add <__undef_macros> to the list of headers we don't display by default (like <__config>); it's not interesting to see those edges. Also, add a sample `dot` command line to the `--help` text.
-
Arthur O'Dwyer authored
The `operator[]` of `_UnaryOp` and `_BinaryOp` returns the result of calling `__op_`, so its return type should be `__result_type`, not e.g. `_A0::value_type`. However, `_UnaryOp::value_type` also should never have been `_A0::value_type`; it needs to be the correct type for the result of the unary op, e.g. `bool` when the op is `logical_not`. This turns out to matter when multiple operators are nested, e.g. `+(v == v)` needs to have a `value_type` of `bool`, not `int`, even when `v` is of type `valarray<int>`. Differential Revision: https://reviews.llvm.org/D103416
-
- Jun 05, 2021
-
-
Aaron Puchert authored
That's how it was originally intended but that wasn't possible because we still needed to support older CMake versions. The problem here is that the sources in TableGenGlobalISel are meant to be linked into both llvm-tblgen and TableGenTests (a unit test), but not be part of LLVM proper. So they shouldn't be an ordinary LLVM component. Because they are used in llvm-tblgen, they can't draw in the LLVM dylib dependency, but then we'd have to do the same thing in TableGenTests to make sure we don't link both a static Support library and another copy through the LLVM dylib. With an object library we're just reusing the object files and don't have to care about dependencies at all. Differential Revision: https://reviews.llvm.org/D74588
-
Mark de Wever authored
The first part of the <format> header patch series is now complete for review. This updates the status document.
-
Roman Lebedev authored
[NFC] Promote willNotOverflow() / getStrengthenedNoWrapFlagsFromBinOp() from IndVars into SCEV proper We might want to use it when creating SCEV proper in createSCEV(), now that we don't `forgetValue()` in `SimplifyIndvar::strengthenOverflowingOperation()`, which might have caused us to loose some optimization potential.
-
Nikita Popov authored
-
Bruce Mitchener authored
This reverts commit 8d33437d. This broke one of the buildbots.
-
Nikita Popov authored
Loop peeling is currently performed as part of UnrollLoop(). Outside test scenarios, it is always performed with an unroll count of 1. This means that unrolling doesn't actually do anything apart from performing post-unroll simplification. When testing, it's currently possible to specify both an explicit peel count and an explicit unroll count. This doesn't perform any sensible operation and may result in miscompiles, see https://bugs.llvm.org/show_bug.cgi?id=45939. This patch moves peeling from UnrollLoop() into tryToUnrollLoop(), so that peeling does not also perform a susequent unroll. We only run the post-unroll simplifications. Specifying both an explicit peel count and unroll count is forbidden. In the future, we may want to support both (non-PGO) peeling a loop and unrolling it, but this needs to be done by first performing the peel and then recalculating unrolling heuristics on a now possibly analyzable loop. Differential Revision: https://reviews.llvm.org/D103362
-
Alexander Shaposhnikov authored
Fix typo in the test special-symbol-ld-previous.s. NFC.
-
Vitaly Buka authored
Revert "Update and improve compiler-rt tests for -mllvm -asan_use_after_return=(never|[runtime]|always)." Windows is still broken. This reverts commit 927688a4.
-
Amir Ayupov authored
This diff adds getLSDASection method to MCObjectFileInfo. Test plan: make check-all Differential revision: https://reviews.llvm.org/D102298
-
Kevin Athey authored
In addition: - optionally add global flag to capture compile intent for UAR: __asan_detect_use_after_return_always. The global is a SANITIZER_WEAK_ATTRIBUTE. for issue: https://github.com/google/sanitizers/issues/1394 Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D103304 -
Vitaly Buka authored
Not needed after d8a4a2cb. This reverts commit 00542932.
-
Bruce Mitchener authored
This is another step towards implementing the equivalent of `platform process list` and related functionality. `uint32_t` is used for the argument count and index despite the underlying value being `size_t` to be consistent with other index-based access to arguments. Differential Revision: https://reviews.llvm.org/D103675
-
Fangrui Song authored
-
Alexander Shaposhnikov authored
This diff adds first bits to support special symbols $ld$previous* in LLD. $ld$* symbols modify properties/behavior of the library (e.g. its install name, compatibility version or hide/add symbols) for specific target versions. Test plan: make check-lld-macho Differential revision: https://reviews.llvm.org/D103505
-
Vitaly Buka authored
-
Vitaly Buka authored
-
Vitaly Buka authored
-
Vitaly Buka authored
-
Vitaly Buka authored
-
Jim Lin authored
This is for D100288 to reduce the changes. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D103682
-