- Apr 20, 2023
-
-
Itay Bookstein authored
This patch prefixes omp outlined helpers and reduction funcs with the original function's name. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D140722
-
Tom Stellard authored
Reviewed By: thieta Differential Revision: https://reviews.llvm.org/D148734
-
Vitaly Buka authored
Fixes the following on cmake version 3.24.2: 'tools/clang/runtime/compiler-rt-stamps/compiler-rt-source_dirinfo.txt', needed by 'tools/clang/runtime/compiler-rt-stamps/compiler-rt-download', missing and no known rule to make it Maybe related to https://cmake.org/cmake/help/latest/release/3.24.html#modules
-
Nathan Sidwell authored
This typedef is only used inside the RewriteInstance source file, let's not expose it in the header file -- even if private. Differential Revision: https://reviews.llvm.org/D148667
-
Nathan Sidwell authored
Shdr's are not necesarily size 2^n, and there is no reason to align to that boundary if they are. Differential Revision: https://reviews.llvm.org/D148666
-
Louis Dionne authored
Differential Revision: https://reviews.llvm.org/D148632
-
Daniel Woodworth authored
These two math library functions can't write to errno, but they do produce two results and store the second result to a pointer passed as their second argument. Appropriately marking them as memory(argmem: write) enables more optimizations on calls to them. Reviewed By: xbolva00 Differential Revision: https://reviews.llvm.org/D148043
-
Daniel Thornburgh authored
This reverts commit 1fab236e. Shipping LLDB means distributing libLLDB.so, which will need to be built with PIC. Disabling PIC also removes the libLTO target, which is a hard dependency of the LLDB test suite. Reviewed By: abrachet Differential Revision: https://reviews.llvm.org/D148577
-
Johannes de Fine Licht authored
When the natural stack alignment is not set or is larger than or equal to the target alignment required by a read-only byval argument defined by an alloca, avoid the copy by just realigning the alloca to the target alignment. The code to check existing alignment is reorganized a bit to avoid redundant casts. This also includes a bugfix for passing a null DataLayoutInterface to the DataLayout constructor when no parent op defines DataLayoutInterface, and will now pass ModuleOp instead in this case. Reviewed By: gysit Differential Revision: https://reviews.llvm.org/D148557
-
Sam McCall authored
-
OCHyams authored
This reverts commit 89d27854. See https://reviews.llvm.org/D146987 for issues.
-
Nico Weber authored
Similar to 374db8fc.
-
Jakub Kuderski authored
Add a new helper function for the type converter that takes care of casting to the target type. This is to avoid bugs where an incorrect cast function is used after type conversion, e.g., `dyn_cast` or `cast`. These are not guaranteed to work when type conversion fails, or when type conversion succeeds but the provided type converted returned a type that a conversion pattern did not expect. I saw this being an issue in some SPIR-V passes and in mlir-hlo. Exercise the new function in a couple of passes. As a side-effect, this also made the code more concise. Reviewed By: rriddle, mehdi_amini Differential Revision: https://reviews.llvm.org/D148725
-
Med Ismail Bennani authored
This reverts commit 14f00213.
-
Valentin Clement authored
Keep the region when the operation has one. The previous code was throwing away the region when creating the new version of the operation. Reviewed By: razvanlupusoru Differential Revision: https://reviews.llvm.org/D148039
-
Christopher Di Bella authored
Since this was originally a name in library, it needs an escape hatch for versions of Clang that are slightly out-of-sync with libc++. Differential Revision: https://reviews.llvm.org/D148677
-
Hiroshi Yamauchi authored
Differential Revision: https://reviews.llvm.org/D148657
-
Med Ismail Bennani authored
This patch should address an issue that caused the process public run lock to not be updated during a process launch/attach when the process stops. That caused the public run lock to report its state as running while the process state is stopped. This prevents the users to interact with the process (through the command line or via the SBAPI) since it's considered still running. To address that, this patch refactors the name of the internal hijack listeners to a specific pattern `lldb.internal.<action>.hijack` that are used to ensure that we've attached to or launched a process successfully. Then, when updating the process public state, after updating the state value, if the process is not hijacked externally, meaning if the process doens't have a hijack listener that matches the internal hijack listeners pattern, we can update the public run lock accordingly. Differential Revision: https://reviews.llvm.org/D148400 Signed-off-by:
Med Ismail Bennani <medismail.bennani@gmail.com>
-
Paul Robinson authored
-
Itay Bookstein authored
This reverts commit 029bfc31.
-
Paul Robinson authored
Differential Revision: https://reviews.llvm.org/D148653
-
Peter Klausler authored
Implement semantics for the IGNORE_TKR directive as it is interpreted by the PGI / NVFORTRAN compiler. Differential Revision: https://reviews.llvm.org/D148643
-
Itay Bookstein authored
This patch attempts to prefix omp outlined helpers and reduction funcs with the original function's name. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D140722
-
Martin Storsjö authored
Differential Revision: https://reviews.llvm.org/D148167
-
Martin Storsjö authored
This is a leftover from when these tests were added in 2bdca200 in 2014 (when the toplevel asan/lit.cfg set "config.unsupported = True" on Windows). When the common tests were included on Windows in 89d99436 in 2015, that commit should have removed the now unnecessary "config.unsupported = False" line here. Differential Revision: https://reviews.llvm.org/D148442
-
Martin Storsjö authored
The check-runtimes function runs check-cxx, check-cxxabi and check-unwind. Differential Revision: https://reviews.llvm.org/D148267
-
Yonghong Song authored
With LLVM patch https://reviews.llvm.org/D148269, we hit a linux kernel bpf selftest compilation failure like below: ... progs/test_xdp_noinline.c:739:8: error: too many args to t8: i64 = GlobalAddress<ptr @encap_v4> 0, progs/test_xdp_noinline.c:739:8 if (!encap_v4(xdp, cval, &pckt, dst, pkt_bytes)) ^ ... progs/test_xdp_noinline.c:321:6: error: defined with too many args bool encap_v4(struct xdp_md *xdp, struct ctl_value *cval, ^ ... Note that bpf selftests are compiled with -O2 which is the recommended flag for bpf community. The bpf backend calling convention is only allowing 5 parameters in registers and does not allow pass arguments through stacks. In the above case, ArgumentPromotionPass replaced parameter '&pckt' as two parameters, so the total number of arguments after ArgumentPromotion pass becomes 6 and this caused later compilation failure during instruction selection phase. This patch added a TargetTransformInfo hook getMaxNumArgs() which returns 5 for BPF and UINT_MAX for other targets. Differential Revision: https://reviews.llvm.org/D148551
-
- Apr 19, 2023
-
-
David Sherwood authored
Differential Revision: https://reviews.llvm.org/D148122
-
Mark de Wever authored
This patch makes are code less dependant on transitive includes. This was part of D145800. This patch will be abandoned, but these changes are still useful. I manually verified declarations of the new includes are used in these files. Reviewed By: #libc, philnik Differential Revision: https://reviews.llvm.org/D148645
-
Joe Nash authored
Combine the logic for fcmp and icmp intrinsics and use operand presence instead. Reviewed By: kosarev, foad Differential Revision: https://reviews.llvm.org/D148716
-
Jay Foad authored
-
Jay Foad authored
-
Arash Taheri-Dezfouli authored
Add a missing ::mlir namespace for MixedContainerType that only triggers if the user is not using namespace mlir. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D147956
-
Scott Linder authored
A quirk of the AMDGPU backend is EF_AMDGPU_MACH_NONE, which is not specific to the r600 or amdgcn architecture, but can be combined with either. AMDGPU ELF code objects with this mach value cannot be mapped back to a Triple architecture, as it could be either r600 or amdgcn. For llvm-dwarfdump this means the normal method of inspecting ObjectFile::getArch to determine how to handle relocations is insufficient. This patch adds an extra check for ELF code objects which would otherwise be categorized as UnknownArch, making it possible to use llvm-dwarfdump with them. For completeness it also adds support for known r600 machines. This also adds specific tests for llvm-dwarfdump for amdgcn and r600, both with known and unknown mach values. Reviewed By: jhenderson Differential Revision: https://reviews.llvm.org/D144301
-
Razvan Lupusoru authored
The OpenACC dialect data clauses require for variables appearing in data operations to implement the `PointerLikeType` interface (similarly to OpenMP dialect). Thus, this interface needs attached to FIR types. Two of the FIR types, HeapType and LLVMPointerType, did not provide getElementType - now they do by calling getEleTy. This cleans up the interface attachment for both OpenACC and OpenMP dialects. Reviewed By: clementval, jeanPerier Differential Revision: https://reviews.llvm.org/D148560
-
Dinar Temirbulatov authored
[AArch64][CodeGen] Allow vectors larger than hardware support to use SVE's load zero/sign-extend for fixed vectors. Prefer to fold LOAD + SIGN/ZEROEXTEND to SVE load and sign extend instructions for fixed-length-vectors even if a type is not representable on a hardware. Differential Revision: https://reviews.llvm.org/D147533
-
OCHyams authored
Buildbot: https://buildkite.com/llvm-project/upstream-bazel/builds/ 59967#01879985-8d44-4041-9cd0-a1e41371208e See https://reviews.llvm.org/D148536
-
Jay Foad authored
-
Sam McCall authored
-
Benjamin Kramer authored
The code was inserting a new cast, discarding it, then inserting it again. The self-cast issue is the root of #62135 because it would end up dropping the loop and inserting an invalid cast to itself. As far as I can tell tensor.cast with the same src and dst types is not invalid but it can't really be tested in isolation as it's immediately folded. Fixes #62135 Differential Revision: https://reviews.llvm.org/D148714
-