- Jan 09, 2021
-
-
Arthur O'Dwyer authored
I accidentally disabled this feature-test macro in my D93830, due to a rebasing conflict. It had been enabled by my D93815, and should have remained enabled.
-
Louis Dionne authored
In 7cd67904, we removed the unnecessary nullptr checks from the libc++abi definition of operator delete, but we forgot to update the definition in libc++ (damn code duplication!). Then, in d4a1e03c, I synced the definitions across libc++ and libc++abi, but I did it the wrong way around. I re-added the if() checks to libc++abi instead of removing them from libc++. In ef74f0fd, we re-removed the if() check from operator delete, but only in libc++abi. This patch corrects this mess and removes it consistently in libc++ and libc++abi. Differential Revision: https://reviews.llvm.org/D93473
-
Eugene Zhulenev authored
Differential Revision: https://reviews.llvm.org/D94339
-
Aart Bik authored
Adding the ability to index the base address brings these operations closer to the transfer read and write semantics (with lowering advantages), ensures more consistent use in vector MLIR code (easier to read), and reduces the amount of code duplication to lower memrefs into base addresses considerably (making codegen less error-prone). Reviewed By: ThomasRaoux Differential Revision: https://reviews.llvm.org/D94278
-
River Riddle authored
This revision adds a new `initialize(MLIRContext *)` hook to passes that allows for them to initialize any heavy state before the first execution of the pass. A concrete use case of this is with patterns that rely on PDL, given that PDL is compiled at run time it is imperative that compilation results are cached as much as possible. The first use of this hook is in the Canonicalizer, which has the added benefit of reducing the number of expensive accesses to the context when collecting patterns. Differential Revision: https://reviews.llvm.org/D93147
-
Adrian Prantl authored
-
Eugene Zhulenev authored
Use custom mlir runner init/destroy functions to safely init and destroy shared libraries loaded by the JitRunner. This mechanism is ignored for Windows builds (for now) because init/destroy functions are not exported, and library unloading relies on static destructors. Re-submit https://reviews.llvm.org/D94270 with a temporary workaround for windows Differential Revision: https://reviews.llvm.org/D94312
-
Hongtao Yu authored
@ikudrin enabled support for dwarf64 in D87011. Adding a clang flag so it can be used through that compilation pass. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D90507
-
Martin Storsjö authored
[compiler-rt] [sanitizer] Silence -Wframe-larger-than= for a few windows functions with large stack buffers Also update a documentation url while touching code nearby, as requested in review. Differential Revision: https://reviews.llvm.org/D91853
-
Saleem Abdulrasool authored
This annotates the dump methods in APINotes to indicate that they are unused as they are meant for debugging purposes. This avoids an unnecessary warning.
-
River Riddle authored
This removes the need to define these classes and their parser/printers in C++. Differential Revision: https://reviews.llvm.org/D94135
-
Matthew Voss authored
This test was failing in our internal CI, since our driver does not default to C11. Adding this switch fixes the issue. Differential Revision: https://reviews.llvm.org/D94327
-
Haojian Wu authored
to track the number of different "special" go-to-def request. Differential Revision: https://reviews.llvm.org/D94289
-
MaheshRavishankar authored
Change the implementation of LinalgOp with TensorReshapeOp by expansion to be more modular and easier to follow. Differential Revision: https://reviews.llvm.org/D93748
-
Mircea Trofin authored
This adds the lit config, and cleans up remaining tests. Differential Revision: https://reviews.llvm.org/D94245
-
Craig Topper authored
-
Raul Tambre authored
d9ce31ae (D94322) removed the check because I thought it was dead due to checking the existance of a variable (which always existed). This causes LLDB tests to fail as they set NO_INSTALL_RPATH because they're never meant to be installed, but we still would end up using the install rpath. Add the check back and make it explicitly check for an empty value to make the purpose clearer and avoid implicit test for a false/true value. Differential Revision: https://reviews.llvm.org/D94326
-
Vedant Kumar authored
Instead of falling through to RunSignalHandlers after the SIGPIPE handler is uninstalled and we get a SIGPIPE, re-raise the signal, just like we do for other IntSigs. This was discussed and informally OK'd here: https://reviews.llvm.org/rG9a3f892d018238dce5181e458905311db8e682f5#856804
-
MaheshRavishankar authored
The existing verification of reshape ops in linalg (linalg.reshape and linalg.tensor_reshape) allows specification of illegal ops, where - A dynamic dimension is expanded into multiple dynamic dimensions. This is ill-specified. - A static dimension is expanded into dynamic dimension or viceversa, - The product of extents of the static dimensions in the expanded type doesnt match the static dimension of the collapsed type. Making all of these illegal. This also implies that some pessimization in canonicalization due to incomplete semantics of the operation can be dropped. Differential Revision: https://reviews.llvm.org/D93724
-
Raul Tambre authored
Reverted check for empty CMAKE_BUILD_RPATH fixed. When `BUILD_WITH_INSTALL_RPATH` is enabled it prevents using a custom rpath only for the build tree as the install rpath will be used. This makes it impossible to run a runtimes build when compiling with Clang and wanting the installed rpath to be empty (i.e. `-DCMAKE_BUILD_RPATH="<some path>" -DCMAKE_SKIP_INSTALL_RPATH=ON`). Disable `BUILD_WITH_INSTALL_RPATH` when `CMAKE_BUILD_RPATH` is non-empty to allow for such build scenarios. Differential Revision: https://reviews.llvm.org/D94322
-
Paul C. Anagnostopoulos authored
I cannot build with the undefined sanitizer on Visual Studio.
-
David Green authored
The ISel patterns we have for truncating to i1's under MVE do not seem to be correct. Instead custom lower to icmp(ne, and(x, 1), 0). Differential Revision: https://reviews.llvm.org/D94226
-
Peter Steinfeld authored
Internal subprograms have explicit interfaces. If an internal subprogram has an alternate return, we check its explicit interface. But we were not putting the label values of alternate returns into the actual argument. I fixed this by changing the definition of actual arguments to be able to contain a common::Label and putting the label for an alternate return into the actual argument. I also verified that we were already doing all of the semantic checking required for alternate returns and removed a "TODO" for this. I also added the test altreturn06.f90. Differential Revision: https://reviews.llvm.org/D94017
-
Jonas Devlieghere authored
Remove the stale LLDB-Info.plist which was only used by TestHelp.py. The latter would try to parse the version number from the plist and use that to verify the version in the help output. Of course this never matched so it would fall back to matching any arbitrary version. This patch does *not* change the real LLDB-Info.plist.in file which is used for the LLDB Framework.
-
Louis Dionne authored
This patch updates `allocate_shared` to call `allocator_traits::construct` when creating the object held inside the shared_pointer, and `allocator_traits::destroy` when destroying it. This resolves the part of P0674R1 that was originally filed as LWG2070. This change is landed separately from the rest of P0674R1 because it is incredibly tricky from an ABI perspective. This is the reason why this change is so tricky is that we previously used EBO in a compressed pair to store both the allocator and the object type stored in the `shared_ptr`. However, starting in C++20, P0674 requires us to use Allocator construction for initializing the object type. That requirement rules out the use of the EBO for the object type, since using the EBO implies that the base will be initialized when the control block is initialized (and hence we can't do it through Allocator construction). Hence, supporting P0674 requires changing how we store the object type inside the control block, which we do while being ABI compatible by using some trickery with a properly aligned char buffer. Fixes https://llvm.org/PR41900 Supersedes https://llvm.org/D62760 Differential Revision: https://reviews.llvm.org/D91201
-
Marek Kurdej authored
* Add feature test macros. * Add buildbot configuration generic-cxx2b that uses clang-tot. Reviewed By: ldionne, #libc Differential Revision: https://reviews.llvm.org/D94227
-
Raul Tambre authored
This reverts commit 0ebc1fb2. The behaviour should have been the same as before unless specifying CMAKE_BUILD_RPATH, which was previously broken. However, this seems to have broken builds for some people that don't specify it. Reverting until I can investigate. Differential Revision: https://reviews.llvm.org/D94319
-
Florian Hahn authored
This was suggested to prepare for D93975. By moving the start value creation to widenPHInstruction, we set the stage to manage the start value directly in VPWidenPHIRecipe, which be used subsequently to set the 'resume' value for reductions during epilogue vectorization. It also moves RdxDesc to the recipe, so we do not have to rely on Legal to look it up later. Reviewed By: gilr Differential Revision: https://reviews.llvm.org/D94175
-
Ganesh Gopalasubramanian authored
Differential Revision: https://reviews.llvm.org/D94134
-
Jonas Devlieghere authored
Bump the required SWIG version to 3. If my memory serves me well we last bumped the required SWIG version to 2 for Python 3. At that time SWIG 3 had already been around for a while so everyone I know was already using that. It appears that SWIG 3 is the only version that officially supports C++11 which we're using in the typemap. SWIG 3 was released in 2014 so I think it's reasonable to make that the minimum required version. https://bugs.llvm.org/show_bug.cgi?id=48685 Differential revision: https://reviews.llvm.org/D94244
-
Arthur O'Dwyer authored
It's still a little confusing because in many cases C++17 and C++20 have different values, and libc++ implements the C++17 behavior but not the C++20 behavior; 'unimplemented' can't represent that scenario. Ultimately we probably ought to completely redesign the script to be in terms of paper numbers, rather than language revisions, and make it generate the CSV files like "Cxx2aStatusPaperStatus.csv" as well. Most newly added macros are unimplemented. I've marked a few as implemented, though, based on my reading of the code; for example I was pretty sure `__cpp_lib_latch` is implemented since we have `<latch>`. Differential Revision: https://reviews.llvm.org/D93830
-
Alex Zinenko authored
Continue the convergence between LLVM dialect and built-in types by replacing the bfloat, half, float and double LLVM dialect types with their built-in counterparts. At the API level, this is a direct replacement. At the syntax level, we change the keywords to `bf16`, `f16`, `f32` and `f64`, respectively, to be compatible with the built-in type syntax. The old keywords can still be parsed but produce a deprecation warning and will be eventually removed. Depends On D94178 Reviewed By: mehdi_amini, silvas, antiagainst Differential Revision: https://reviews.llvm.org/D94179
-
Adam Czachorowski authored
Follow-up to d4af8658 Differential Revision: https://reviews.llvm.org/D94314
-
David Green authored
Similar to the Arm VCTP intrinsics, if the operands of an active.lane.mask are both known, the constant lane mask can be calculated. This can come up after unrolling the loops. Differential Revision: https://reviews.llvm.org/D94103
-
Adam Czachorowski authored
When printing QualType with qualifiers like "const", or pointing to an elaborated type, we would print garbage like: std::const std::vector<int>& with the initial std:: being calculated correctly, but inserted in the wrong place and the second std:: not removed (due to elaborated type). This affected, among others, ExtractFunction and ExpandAuto tweaks. This change introduces a new callback to PrintingPolicy, which allows us to influence the printing of namespace qualifiers. In the future, the same callback can be used to improve handling of "using namespace" directives as well. Fixes: https://github.com/clangd/clangd/issues/640 (ExtractFunction) https://github.com/clangd/clangd/issues/264 (ExpandAuto) First point of https://github.com/clangd/clangd/issues/524 Differential Revision: https://reviews.llvm.org/D94259
-
- Jan 08, 2021
-
-
Eugene Zhulenev authored
This reverts commit 84dc9b45. Fix Windows breakage: http://lab.llvm.org:8011/#/builders/13/builds/3658/steps/6/logs/stdio Differential Revision: https://reviews.llvm.org/D94309
-
Simon Pilgrim authored
UNPCKL/UNPCKH only uses one op from each hop, so we can merge the hops and then permute the result.
-
David Green authored
-
Eugene Zhulenev authored
Use custom mlir runner init/destroy functions to safely init and destroy shared libraries loaded by the JitRunner. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D94270
-
Paul C. Anagnostopoulos authored
-