- Jul 25, 2020
-
-
Craig Topper authored
[X86] Use X86_MC::ParseX86Triple to add mode features to feature string in X86Subtarget::initSubtargetFeatures. Remove mode flags from constructor and remove calls to ToggleFeature for the mode bits. By adding them to the feature string we handle initializing the mode member variables in X86Subtarget and the feature bits in MCSubtargetInfo in one shot.
-
Meera Nakrani authored
Added extra patterns to VABD instruction so it is selected in place of VSUB and VABS. Added corresponding regression test too. Differential Revision: https://reviews.llvm.org/D84500
-
Kostya Kortchinsky authored
Summary: On 32-b, the release algo loops multiple times over the freelist for a size class, which lead to a decrease in performance when there were a lot of free blocks. This changes the release functions to loop only once over the freelist, at the cost of using a little bit more memory for the release process: instead of working on one region at a time, we pass the whole memory area covered by all the regions for a given size class, and work on sub-areas of `RegionSize` in this large area. For 64-b, we just have 1 sub-area encompassing the whole region. Of course, not all the sub-areas within that large memory area will belong to the class id we are working on, but those will just be left untouched (which will not add to the RSS during the release process). Reviewers: pcc, cferris, hctim, eugenis Subscribers: llvm-commits, #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D83993
-
Roman Lebedev authored
-
Meera Nakrani authored
Test commit - added whitespace in ARMInstrMVE.td
-
biplmish authored
Add my name to the CREDITS.TXT This is my test commit. (NFC) Differential Revision: https://reviews.llvm.org/D84488
-
Adrian Prantl authored
This patch basically moves the disambiguation code from a place where it was complicated to implement straight to where the load command is parsed, which has the neat side affect of actually supporting all call sites! rdar://problem/66011909 Differential Revision: https://reviews.llvm.org/D84480
-
Dokyung Song authored
Summary: This patch disables (i) noasan-memcmp64.test on Windows as libFuzzer's interceptors are only supported on Linux for now, and (ii) bcmp.test as on Windows bcmp is not available in strings.h. Reviewers: morehouse, hctim, kcc Subscribers: #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D84536
-
Florian Hahn authored
Make sure we do not call constainsConstantExpression/containsUndefElement on ConstantExpression, which is not supported. In particular, containsUndefElement/constainsConstantExpression are only supported on constants which are supported by getAggregateElement. Unfortunately there's no convenient way to check if a constant supports getAggregateElement, so just check for non-constantexpressions with vector type. Other users of those functions do so too. Reviewers: spatel, nikic, craig.topper, lebedev.ri, jdoerfert, aqjune Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D84512
-
Fred Riss authored
Summary: The resolver addresses stored in the dyld trie are relative to the base of the __TEXT segment. This is usually 0 in a dylib, so this was never noticed, but it is not 0 for most dylibs integrated in the shared cache. As we started using the shared cache images recently as symbol source, this causes LLDB to fail to resolve symbols which go through a runtime resolver. Reviewers: jasonmolenda, jingham Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D84083
-
Nicolai Hähnle authored
Common up some existing MBB name printing logic into a single place. Note that basic block dumping now prints the same set of attributes as the MIRPrinter. Change-Id: I8f022bbd922e831bc96d63143d7472c03282530b Differential Revision: https://reviews.llvm.org/D83253
-
- Jul 24, 2020
-
-
diggerlin authored
SUMMARY: since we add .extern directive for external symbol, the -u option for aix as do not need any more. Reviewers: Jason liu Differential Revision: https://reviews.llvm.org/D84356
-
Alexey Bataev authored
Summary: If the variable is constrcutible, its copy is created by calling a constructor. Such variables are duplicated and thus, must be captured. Reviewers: jdoerfert Subscribers: yaxunl, guansong, cfe-commits, sstefan1, caomhin Tags: #clang Differential Revision: https://reviews.llvm.org/D83909
-
Yitzhak Mandelbaum authored
The new combinator, `rewriteDescendants`, applies a rewrite rule to all descendants of a specified bound node. That rewrite rule can refer to nodes bound by the parent, both in the matcher and in the edits. Reviewed By: gribozavr2 Differential Revision: https://reviews.llvm.org/D84409
-
David Truby authored
Summary: As a corrollary, these tests are now run as part of the check-flang target. Reviewers: sscalpone Subscribers: mgorny, delcypher, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83946
-
Dmitry Preobrazhensky authored
Currently supported LLVM MTBUF syntax is shown below. It is not compatible with SP3. op dst, addr, rsrc, FORMAT, soffset This change adds support for SP3 syntax: op dst, addr, rsrc, soffset SP3FORMAT In addition to being compatible with SP3, this syntax allows using symbolic names for data, numeric and unified formats. Below is a list of added syntax variants. format:<expression> format:[<numeric-format-name>,<data-format-name>] format:[<data-format-name>,<numeric-format-name>] format:[<data-format-name>] format:[<numeric-format-name>] format:[<unified-format-name>] The last syntax variant is supported for GFX10 only. See llvm bug 37738 Reviewers: arsenm, rampitec, vpykhtin Differential Revision: https://reviews.llvm.org/D84026 -
David Truby authored
Additionally fix the copy if enabled on multi-config targets. Summary: This changes the copy command for libomp.so to use the output of the target as the source of the copy, rather than trying to find it based on ${LIBOMP_LIBRARY_DIR}, which appears to be incorrect in multi-config generator builds. Reviewers: jdoerfert Subscribers: mgorny, yaxunl, guansong, sstefan1, openmp-commits Tags: #openmp Differential Revision: https://reviews.llvm.org/D84148 -
George Mitenkov authored
This patch introduces conversion pattern for `spv.Store` and `spv.Load`. Only op with `Function` Storage Class is supported at the moment because `spv.GlobalVariable` has not been introduced yet. If the op has memory access attribute, then there are the following cases. If the access is `Aligned`, add alignment to the op builder. Otherwise the conversion fails as other cases are not supported yet because they require additional attributes for `llvm.store`/`llvm.load` ops: e.g. `volatile` and `nontemporal`. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D84236
-
Frederik Gossen authored
Implement constant folding for `shape.mul`. Differential Revision: https://reviews.llvm.org/D84438
-
Frederik Gossen authored
Differential Revision: https://reviews.llvm.org/D84437
-
Yitzhak Mandelbaum authored
Summary: This patch adds various combinators that help in constructing `EditGenerator`s: * `noEdits` * `ifBound`, specialized to `ASTEdit` * `flatten` and `flattenVector` which allow for easy construction from a set of sub edits. * `shrinkTo`, which generates edits to shrink a given range to another that it encloses. Reviewers: asoffer, gribozavr2 Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D84310 -
George Mitenkov authored
The patch introduces the conversion pattern for function-level `spv.Variable`. It is modelled as `llvm.alloca` op. If initialized, then additional store instruction is used. Note that there is no initialization for arrays and structs since constants of these types are not supported in LLVM dialect yet. Also, at the moment initialisation is only possible via `spv.constant` (since `spv.GlobalVariable` conversion is not implemented yet). The input code has some scoping is not taken into account and will be addressed in a different patch. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D84224
-
Nico Weber authored
-
Nico Weber authored
-
Djordje Todorovic authored
Emit DWARF 5 call-site symbols even though DWARF 4 is set, only in the case of LLDB tuning. This patch addresses PR46643. Differential Revision: https://reviews.llvm.org/D83463
-
Nico Weber authored
-
Simon Pilgrim authored
This reverts commit 5dd566b7. Causing some buildbot failures that I'm not seeing on MSVC builds.
-
Simon Pilgrim authored
PassManager.h is one of the top headers in the ClangBuildAnalyzer frontend worst offenders list. This exposes a large number of implicit dependencies on various forward declarations/includes in other headers that need addressing.
-
Djordje Todorovic authored
SONY debugger does not prefer debug entry values feature, so the plan is to avoid production of the entry values by default when the tuning is SCE debugger. The feature still can be enabled with the -debug-entry-values option for the testing/development purposes. This patch addresses PR46643. Differential Revision: https://reviews.llvm.org/D83462
-
Georgii Rymar authored
They were a part of D68983, but were lost in the last diff and were not committed for unknown reason. I've renamed (from elf-sht-note.yaml) them and fixed broken formating a few places. Everything else remained untouched.
-
Frederik Gossen authored
This concerns `from/to_extent_tensor`, `size_to_index`, `index_to_size`, and `const_size` conversion patterns. The new lowering will work directly on indices and extent tensors. The shape and size values will allow for error values but are not yet supported by the dialect conversion. Differential Revision: https://reviews.llvm.org/D84436
-
Frederik Gossen authored
Differential Revision: https://reviews.llvm.org/D84435
-
Frederik Gossen authored
Differential Revision: https://reviews.llvm.org/D84433
-
Frederik Gossen authored
Shorten builder invocations by using Ops directly instead of `op.getOperation`. Differential Revision: https://reviews.llvm.org/D84430
-
Frederik Gossen authored
Differential Revision: https://reviews.llvm.org/D84429
-
Roman Lebedev authored
-
Florian Hahn authored
-
Frederik Gossen authored
Put only class declarations in anonymous namespaces. Differential Revision: https://reviews.llvm.org/D84424
-
Xing GUO authored
This patch replaces 'Format', 'Version' fields, etc with 'FormParams' to simplify codes. Reviewed By: labath Differential Revision: https://reviews.llvm.org/D84496
-
Frederik Gossen authored
Differential Revision: https://reviews.llvm.org/D84161
-