- Jun 06, 2021
-
-
Nikita Popov authored
This currently depends on a transitive include via TargetLowering.h.
-
Simon Pilgrim authored
-
Simon Pilgrim authored
Use cast<> instead which will assert that the cast is correct and not just return null - the match() should have already failed if the cast isn't valid anyhow. Fixes static analysis warning.
-
Michael Kruse authored
The current method getSingleClause requires an instance of OMPExecutableDirective to be called. Introduce a static version taking a list of clauses as argument instead that can be used during parsing/Sema before any OMPExecutableDirective has been created. This is the same approach as taken for getClausesOfKind for getting more more than a single clause of a type which also has a method and static version. NFC patch extracted out of D99459 by request. Reviewed By: ABataev Differential Revision: https://reviews.llvm.org/D103665
-
Nikita Popov authored
Move methods using IRBuilder out of line, so we can drop the dependency on the header.
-
Nikita Popov authored
These currently rely on the IRBuilder.h include in TargetLowering.h. Make them explicit.
-
Simon Pilgrim authored
We've already checked that ScanIdx == 0 a few lines above.
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Simon Pilgrim authored
PatternMatch.h - wrap WrapFlags tests inside brackets to stop static analysis warning about & vs && usage. NFCI.
-
Simon Pilgrim authored
Use cast<> instead which will assert that the cast is correct and not just return null. Fixes static analysis warnings.
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Simon Pilgrim authored
Noticed while investigating if we can remove an unnecessary MathExtras.h include from SmallVector.h
-
Simon Pilgrim authored
-
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.
-