- Jul 24, 2020
-
-
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
-
Frederik Gossen authored
The operation `shape.shape_of` now returns an extent tensor `tensor<?xindex>` in cases when no error are possible. All consuming operation will eventually accept both, shapes and extent tensors. Differential Revision: https://reviews.llvm.org/D84160
-
Georgii Rymar authored
Currently we print "error: unclosed comment in a linker script", which doesn't provide information about the real error location. Fixes https://bugs.llvm.org/show_bug.cgi?id=46793. Differential revision: https://reviews.llvm.org/D84300
-
Frederik Gossen authored
`shape.get_extent` now accepts extent tensors `tensor<?xindex>` as an argument. Differential Revision: https://reviews.llvm.org/D84158
-
Frederik Gossen authored
The default lowering of `assert` calls `abort` in case the assertion is violated. The failure message is ignored but should be used by custom lowerings that can assume more about their environment. Differential Revision: https://reviews.llvm.org/D83886
-
Ulrich Weigand authored
Implement __builtin_eh_return_data_regno for SystemZ. Match behavior of GCC. Author: slavek-kucera Differential Revision: https://reviews.llvm.org/D84341
-
Petar Avramovic authored
Differential Revision: https://reviews.llvm.org/D84407
-
Frederik Gossen authored
The operation `shape.const_shape` was used for constants of type shape only. We can now also use it to create constant extent tensors. Differential Revision: https://reviews.llvm.org/D84157
-
Fangrui Song authored
If we define memcmp in an archive, bcmp should be defined as well (many libc define bcmp/memcmp in one object file). Otherwise if the application calls bcmp or strcmp which gets optimized to bcmp (SimplifyLibCalls), the undefined reference may pull in an optimized bcmp/strcmp implementation (libc replacement) later on the linker command line. If both libFuzzer's memcmp and the optimized memcmp are strong => there will be a multiple definition error.
-
George Mitenkov authored
This patch introduces branch weights metadata to `llvm.cond_br` op in LLVM Dialect. It is modelled as optional `ElementsAttr`, for example: ``` llvm.cond_br %cond weights(dense<[1, 3]> : vector<2xi32>), ^bb1, ^bb2 ``` When exporting to proper LLVM, this attribute is transformed into metadata node. The test for metadata creation is added to `../Target/llvmir.mlir`. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D83658
-
Craig Topper authored
[X86] Make the X86ProcFamilyEnum private to X86Subtarget. Removed unneeded 'protected' from X86Subtarget. NFC
-
George Mitenkov authored
This is an update of the documentation for `spv.Variable`. Removed `bind` and `built_in` that are now used with `spv.globalVariable` instead. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D84196
-
Petr Hosek authored
Rather than handling zlib handling manually, use find_package from CMake to find zlib properly. Use this to normalize the LLVM_ENABLE_ZLIB, HAVE_ZLIB, HAVE_ZLIB_H. Furthermore, require zlib if LLVM_ENABLE_ZLIB is set to YES, which requires the distributor to explicitly select whether zlib is enabled or not. This simplifies the CMake handling and usage in the rest of the tooling. This is a reland of abb00753 with all followup changes and fixes that should address issues that were reported in PR44780. Differential Revision: https://reviews.llvm.org/D79219
-
Mircea Trofin authored
config.h is excluded from installs, llvm-config.h isn't Differential Revision: https://reviews.llvm.org/D84459
-
H.-S. Zheng authored
Missing line breaks in the example under `Codegen of Unranked Memref` section. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D84484
-
Serge Pavlov authored
This change allow a CallExpr to have optional FPOptionsOverride object, stored in trailing storage. The implementaion is made similar to the way used in BinaryOperator. Differential Revision: https://reviews.llvm.org/D84343
-
Xing GUO authored
This patch uses writeDWARFOffset() to simplify some codes. NFC.
-