This project is mirrored from https://github.com/llvm/llvm-project.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
- Nov 14, 2021
-
-
Roman Lebedev authored
[X86][Costmodel] `trunc v8i64 to v16i16/v32i16` can appear after legalization, cost is same as for `trunc v8i64 to v8i16` Same as D113842, but for i64 Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D113843
-
Roman Lebedev authored
[X86][Costmodel] `trunc v16i32 to v32i16` can appear after legalization, cost is same as for `trunc v16i32 to v16i16` This was noticed in D113609, hopefully it unblocks that patch. There are likely other similar problems. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D113842
-
Mircea Trofin authored
-
Sanjay Patel authored
This was noted as a follow-up to D113212 / D113426: 4fc1fc40 7e30404c 11522cfc https://alive2.llvm.org/ce/z/e4o96b The canonicalization rules for these IR patterns are complicated, and we were not matching the expected forms in 2 out of the 3 cases. We can make codegen more robust by matching the swapped forms (and that will also work if these patterns are created late).
-
mydeveloperday authored
Looks like the work of {D113393} requires manual clang-formatting intervention. Removal of the space between `auto` and `{}` Reviewed By: HazardyKnusperkeks, Quuxplusone Differential Revision: https://reviews.llvm.org/D113826
-
Simon Pilgrim authored
Similar to what we've done for other ops, this patch widens VPTERNLOG to a 512-bit op for non-VLX targets. Fixes regressions in D113192 Differential Revision: https://reviews.llvm.org/D113827
-
Roman Lebedev authored
See https://reviews.llvm.org/D113609 - some of these costs seem wrong.
-
Roman Lebedev authored
-
Roman Lebedev authored
-
David Green authored
This modifies the preconditions of TypePromotion's isSafeWrap method, to allow it to work from all constants from the ICmp. Using the code: %a = add %x, C1 %c = icmp ult %a, C2 According to Alive, we can prove that is equivalent to icmp ult (add zext(%x), sext(C1)), zext(C2) given C1 <=s 0 and C1 >s C2. https://alive2.llvm.org/ce/z/CECYZB Which is similar to what is already present. We can also prove icmp ult (add zext(%x), sext(C1)), sext(C2) given C1 <=s 0 and C1 <=s C2. https://alive2.llvm.org/ce/z/KKgyeL The PrepareWrappingAdds method was removed, and the constants are now altered to sext or zext directly as required by the above methods. Differential Revision: https://reviews.llvm.org/D113678
-
Kristina Bessonova authored
For global variables and common blocks there is no way to create entities through getOrCreateContextDIE(), so no need to obtain the context first. Differential Revision: https://reviews.llvm.org/D113651
-
Kristina Bessonova authored
-
Vitaly Buka authored
-
LLVM GN Syncbot authored
-
Lang Hames authored
This reverts commit e1933a04 until I can look into bot failures.
-
Kazu Hirata authored
-
hyeongyu kim authored
Return value of the system call was not returned normally. It was discussed at https://reviews.llvm.org/D105169.
-
Vitaly Buka authored
Newer GLIBC uses sysconf to get SIGSTKSZ.
-
LLVM GN Syncbot authored
-
Lang Hames authored
This commit adds a new plugin, GDBJITDebugInfoRegistrationPlugin, that checks for objects containing debug info and registers any debug info found via the GDB JIT registration API. To enable this registration without redundantly representing non-debug sections this plugin synthesizes a new embedded object within a section of the LinkGraph. An allocation action is used to make the registration call. Currently MachO only. ELF users can still use the DebugObjectManagerPlugin. The two are likely to be merged in the near future.
-
ksyx authored
The if-check above deleted part guarantees that StoreOffset <= LoadOffset and that StoreOffset + StoreSize >= LoadOffset + LoadSize, and given that LoadOffset + LoadSize > LoadOffset when LoadSize > 0. Thus, this shows StoreOffset + StoreSize > LoadOffset is guaranteed given LoadSize > 0, while it could be meaningless to have a type with nonpositive size, so that the check could be removed. Part of revision D100179 Reviewed By: nikic
-
Keith Smiley authored
This reverts commit f0cf544d. Just a small change to fix: ``` /home/buildbot/as-builder-4/llvm-clang-x86_64-expensive-checks-ubuntu/llvm-project/llvm/lib/Support/VirtualFileSystem.cpp: In static member function ‘static llvm::ErrorOr<std::unique_ptr<llvm::vfs::File> > llvm::vfs::File::getWithPath(llvm::ErrorOr<std::unique_ptr<llvm::vfs::File> >, const llvm::Twine&)’: /home/buildbot/as-builder-4/llvm-clang-x86_64-expensive-checks-ubuntu/llvm-project/llvm/lib/Support/VirtualFileSystem.cpp:2084:10: error: could not convert ‘F’ from ‘std::unique_ptr<llvm::vfs::File>’ to ‘llvm::ErrorOr<std::unique_ptr<llvm::vfs::File> >’ return F; ^ ``` Differential Revision: https://reviews.llvm.org/D113832
-
Mehdi Amini authored
Mostly replace uses of `container.size()` with `container.empty()` in conditionals when applicable.
-
Mogball authored
-
Sam McCall authored
While here, unhide function-arg-placeholders flag. It's reasonable to want and maybe we should consider making it default. Fixes https://github.com/clangd/clangd/issues/922 Differential Revision: https://reviews.llvm.org/D113765
-
David Green authored
c17d9b4b added REQUIRES lines to a lot of Arm and AArch64 test, but added them to the very beginning, before the existing update_cc_test_checks lines. This just moves them later so as to not mess up the existing ordering when the checks are regenerated.
-
Keith Smiley authored
``` /work/omp-vega20-0/openmp-offload-amdgpu-runtime/llvm.src/llvm/lib/Support/VirtualFileSystem.cpp: In static member function 'static llvm::ErrorOr<std::unique_ptr<llvm::vfs::File> > llvm::vfs::File::getWithPath(llvm::ErrorOr<std::unique_ptr<llvm::vfs::File> >, const llvm::Twine&)': /work/omp-vega20-0/openmp-offload-amdgpu-runtime/llvm.src/llvm/lib/Support/VirtualFileSystem.cpp:2084:10: error: could not convert 'F' from 'std::unique_ptr<llvm::vfs::File>' to 'llvm::ErrorOr<std::unique_ptr<llvm::vfs::File> >' return F; ^ ``` This reverts commit c9721756.
-
Mark de Wever authored
D112904 fixed some code alignment issues, but it seems only line was omitted. (Found while resolving merge conflicts for my own patches.)
-
Keith Smiley authored
This is a follow up to 0be9ca7c to make paths in the case of falling back to the external file system use the original format, preserving relative paths, and allow the external filesystem to canonicalize them if needed. Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D109128
-
Raphael Isemann authored
This reverts commit cef1e07c. It broke the windows bot.
-
Matt Arsenault authored
Regenerate with -NEXT checks to make a future diff clearer.
-
Kazu Hirata authored
-
- Nov 13, 2021
-
-
Kristina Bessonova authored
This patch rewrites checks in a few debug info tests to avoid using 'CHECK-NOT: {{DW_TAG|NULL}}'. It proposes `--impicit-check-not=DW_TAG` instead, as it makes the checks clearer, and easier to analyze and update. Differential Revision: https://reviews.llvm.org/D113652
-
mydeveloperday authored
https://bugs.llvm.org/show_bug.cgi?id=52228 For multilevel namespaces in C# get their content indented when NamespaceIndentation: None is set, where as single level namespaces are formatted correctly. Reviewed By: HazardyKnusperkeks, jbcoe Differential Revision: https://reviews.llvm.org/D112887
-
Simon Pilgrim authored
For AVX512 targets without VLX, we have to widen 128/256-bit vectors to 512-bits to use some specific AVX512 instructions (or some other instructions with predicates etc.). I've pulled out the widening code from LowerFunnelShift into the helper function, so we can convert some other widening patterns in the future.
-
Florian Hahn authored
SCEVLoopGuardRewriter doesn't need to copy the rewrite map. It can just hold a const reference instead, to avoid an unnecessary copy.
-
Dmitry Vyukov authored
We used to mmap C++ shadow stack as part of the trace region before ed7f3f5b ("tsan: move shadow stack into ThreadState"), which moved the shadow stack into TLS. This started causing timeouts and OOMs on some of our internal tests that repeatedly create and destroy thousands of threads. Allocate C++ shadow stack with mmap and small pages again. This prevents the observed timeouts and OOMs. But we now need to be more careful with interceptors that run after thread finalization because FuncEntry/Exit and TraceAddEvent all need the shadow stack. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D113786
-
Vitaly Buka authored
This reverts commit afafa883. -pthread was not the fix. Symbols removed from GLIBC 2.34 Fixed with e60b3fce.
-
Vitaly Buka authored
-
Craig Topper authored
Reviewed By: pengfei Differential Revision: https://reviews.llvm.org/D113817
-