- Nov 12, 2020
-
-
Stella Stamenova authored
This reverts commit ae3640e3. The new test is failing on the Windows LLDB buildbot.
-
Jay Foad authored
-
Alex Richardson authored
I was trying to add .cfi_ annotations to assembly code in the FreeBSD kernel and changed a macro that then resulted in incorrectly nested directives. However, clang's diagnostics said the error was happening at <unknown>:0. This addresses one of the TODOs added in D51695. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D89787
-
Alex Lorenz authored
Differential Revision: https://reviews.llvm.org/D90891
-
Simon Pilgrim authored
-
- Nov 11, 2020
-
-
Simon Pilgrim authored
Noticed while fixing unused prefix warnings - there isn't actually any diff in the loop unrolled ir between old/new pass managers any more, so the broken checks were superfluous
-
Simon Pilgrim authored
-
Simon Pilgrim authored
Noticed while fixing unused prefix warnings
-
Sam McCall authored
Similar to the previous patch, this doesn't convert *all* the classes that could be converted. It also doesn't enforce any new invariants etc. It *does* include some data we don't use yet: specific token types that are allowed and optional/required status of sequence items. (Similar to Dmitri's prototype). I think these are easier to add as we go than later, and serve a useful documentation purpose. Differential Revision: https://reviews.llvm.org/D90659
-
Hans Wennborg authored
This broke both Firefox and Chromium (PR47905) due to what seems like dllimport function not being handled correctly. > This patch adds support for creating Guard Address-Taken IAT Entry Tables (.giats$y sections) in object files, matching the behavior of MSVC. These contain lists of address-taken imported functions, which are used by the linker to create the final GIATS table. > Additionally, if any DLLs are delay-loaded, the linker must look through the .giats tables and add the respective load thunks of address-taken imports to the GFIDS table, as these are also valid call targets. > > Reviewed By: rnk > > Differential Revision: https://reviews.llvm.org/D87544 This reverts commit cfd8481d.
-
Sam McCall authored
Differential Revision: https://reviews.llvm.org/D90662
-
Simon Pilgrim authored
-
Simon Pilgrim authored
Noticed while fixing unused prefix warnings,
-
Nico Weber authored
This reverts commit e1eeb026. Test fails: https://reviews.llvm.org/D91208#2388613
-
Sander de Smalen authored
This reverts commits: * [LoopVectorizer] NFCI: Calculate register usage based on TLI.getTypeLegalizationCost. b873aba3. * [LoopVectorizer] Silence warning in GetRegUsage. 9ff70110.
-
Simon Pilgrim authored
[ValueTracking] computeKnownBitsFromShiftOperator - merge zero/one callbacks to single KnownBits callback. NFCI. Another cleanup for D90479 - handle the Known Ones/Zeros in a single callback, which will make it much easier to jump over to the KnownBits shift handling.
-
Nico Weber authored
-
Paul Lietar authored
The MLIR_ASYNCRUNTIME_EXPORT macro was being defined to be either __declspec(dllexport) or __declspec(dllimport), depending on whether mlir_c_runner_utils_EXPORTS is defined. The latter was a copy/paste error and should have been mlir_async_runtime_EXPORTS. Additionally, the uses of that macro in the .cpp file were unnecessary, as only function declarations need to be exported, not their definitions. Differential Revision: https://reviews.llvm.org/D91196
-
LLVM GN Syncbot authored
-
Elvina Yakubova authored
This patch makes Clang recognize -cl-std=1.0 as a value argument, before only -std=cl1.0 has to be used instead. Fixes https://bugs.llvm.org/show_bug.cgi?id=47981 Reviewed By: Anastasia Differential Revision: https://reviews.llvm.org/D91237
-
Adrian Kuegel authored
-
Nico Weber authored
-
Nico Weber authored
-
Nico Weber authored
This reverts commit 04ce13e4. The commit message was wrong. Will reland with fixed message.
-
Adrian Kuegel authored
This mimics the recent similar patch for GPUToNVVM. Differential Revision: https://reviews.llvm.org/D91252
-
Andrzej Warzynski authored
`-###` has always been supported in the new flang driver. This patch merely makes sure that it's included when printing the help screen (i.e. `flang-new -help`).
-
Caroline Concatto authored
This patch adds/fixes memory op cost model for SVE with fixed-width vector. Differential Revision: https://reviews.llvm.org/D90950
-
Nico Weber authored
-
Simon Pilgrim authored
We have a frequent pattern where we're merging two KnownBits to get the common/shared bits, and I just fell for the gotcha where I tried to use the & operator to merge them........
-
Max Kazantsev authored
-
Jan Svoboda authored
Merge existing marhsalling info kinds and add some primitives to express flag options that contribute to a bitfield. Depends on D82574 Reviewed By: Bigcheese Differential Revision: https://reviews.llvm.org/D82860
-
Kerry McLaughlin authored
Lowers the llvm.masked.scatter intrinsics (scalar plus vector addressing mode only) Changes included in this patch: - Custom lowering for MSCATTER, which chooses the appropriate scatter store opcode to use. Floating-point scatters are cast to integer, with patterns added to match FP reinterpret_casts. - Added the getCanonicalIndexType function to convert redundant addressing modes (e.g. scaling is redundant when accessing bytes) - Tests with 32 & 64-bit scaled & unscaled offsets Reviewed By: sdesmalen Differential Revision: https://reviews.llvm.org/D90941 -
Sam McCall authored
This defines two node archetypes with trivial class definitions: - Alternatives: the generated abstract classes are trivial as all functionality is via LLVM RTTI - Unconstrained: this is a placeholder, I think all of these are going to be Lists but today they have no special accessors etc, so we just say "could contain anything", and migrate them one-by-one to Sequence later. Compared to Dmitri's prototype, Nodes.td looks more like a class hierarchy and less like a grammar. (E.g. variants list the Alternatives parent rather than vice versa). The main reasons for this: - the hierarchy is an important part of the API we want direct control over. - e.g. we may introduce abstract bases like "loop" that the grammar doesn't care about in order to model is-a concepts that might make refactorings more expressive. This is less natural in a grammar-like idiom. - e.g. we're likely to have to model some alternatives as variants and others as class hierarchies, the choice will probably be based on natural is-a relationships. - it reduces the cognitive load of switching from editing *.td to working with code that uses the generated classes Differential Revision: https://reviews.llvm.org/D90543 -
Aleksandr Platonov authored
This is a try to improve clangd-indexer tool performance: - avoid processing already processed files. - use different mutexes for different entities (e.g. do not block insertion of references while symbols are inserted) Results for LLVM project indexing: - before: ~30 minutes - after: ~10 minutes Reviewed By: kadircet Differential Revision: https://reviews.llvm.org/D91051
-
Andrzej Warzynski authored
This reverts commit b6701899. This patch causes shared library builds (BUILD_SHARED_LIBS=ON) to fail: * http://lab.llvm.org:8011/#/builders/33/builds/626 I wasn't able to identify any easy fix, hence reverting.
-
Krasimir Georgiev authored
In JavaScript breaking before a `@tag` in a comment puts it on a new line, and machinery that parses these comments will fail to understand such comments. This adapts clang-format to not break before `@`. Similar functionality exists for not breaking before `{`. Reviewed By: mprobst Differential Revision: https://reviews.llvm.org/D91078 -
Florian Hahn authored
This patch adds a reduction of 'special' globals that lead to further reductions (e.g. alias or regular globals reduction) being less efficient because there are special constraints on values referenced in those special globals. For example, values in @llvm.used and @llvm.compiler.used need to be named, so replacing all uses of an alias/global with undef or a different unnamed constant results in invalid IR. More details: https://llvm.org/docs/LangRef.html#intrinsic-global-variables Reviewed By: lebedev.ri Differential Revision: https://reviews.llvm.org/D90302
-
Kerry McLaughlin authored
This patch adds the IsTruncatingStore flag to MaskedScatterSDNode, set by getMaskedScatter(). Updated SelectionDAGDumper::print_details for MaskedScatterSDNode to print the details of masked scatters (is truncating, signed or scaled). This is the first in a series of patches which adds support for scalable masked scatters Reviewed By: sdesmalen Differential Revision: https://reviews.llvm.org/D90939
-
Sander de Smalen authored
This patch silences the warning: error: lambda capture 'DL' is not used [-Werror,-Wunused-lambda-capture] auto GetRegUsage = [&DL, &TTI=TTI](Type *Ty, ElementCount VF) { ~^~~ 1 error generated. Introduced in: https://reviews.llvm.org/rGb873aba3943c067a5efd5303cbdf5aeb0732cf88
-