- 26 Jan, 2023 3 commits
-
-
Marc Solé Bonet authored
-
Marc Solé Bonet authored
-
Marc Solé Bonet authored
-
- 01 Dec, 2022 1 commit
-
-
Marc Solé Bonet authored
-
- 24 Nov, 2022 32 commits
-
-
Fangrui Song authored
-
Fangrui Song authored
-
Fangrui Song authored
-
Fangrui Song authored
-
Fangrui Song authored
-
Fangrui Song authored
-
Vasileios Porpodas authored
Differential Revision: https://reviews.llvm.org/D138617
-
Dmitry Vyukov authored
It's a new syscall similar to epoll_pwait. Add a similar interceptor for it and add synchronization annotations in epoll_wait* syscall wrappers. Testing this is problematic b/c it's not present in glibc and the syscall itself may not be supported by the kernel. Reviewed By: melver Differential Revision: https://reviews.llvm.org/D138574
-
Fangrui Song authored
Windows computeHostNumPhysicalCores is defined by Threading.cpp. Leave it unchanged.
-
Fangrui Song authored
This reverts commit 9969ceb3. On Windows: lld-link: error: undefined symbol: int __cdecl computeHostNumPhysicalCores(void) >>> referenced by LLVMSupport.lib(Support.Host.obj):(int __cdecl llvm::sys::getHostNumPhysicalCores(void))
-
Aiden Grossman authored
Recentlyin 4b6b2487, llvm::Optional's hasValue method was removed as described in https://discourse.llvm.org/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor This breaks InlineAdvisor and ModelUnderTrainingRunner. This patch fixes them by changing the method to has_value, which hasValue was evaluating to before. Differential Revision: https://reviews.llvm.org/D138635
-
wangpc authored
So we have the opportunity to fold splat into .vx instruction as what D101138 has done. If failed, we can select zero-stride vector load again. Reviewed By: reames Differential Revision: https://reviews.llvm.org/D138101
-
wangpc authored
Add a test that splat can't be folded. Reviewed By: pcwang-thead Differential Revision: https://reviews.llvm.org/D138543
-
Hanhan Wang authored
This reverts commit 6eee66d1. It breaks builds, see https://lab.llvm.org/buildbot/#/builders/61/builds/35742 Differential Revision: https://reviews.llvm.org/D138633
-
gonglingqin authored
[LoongArch] Diagnose the behavior of reading and writing registers that do not conform to the hardware register size When reading or writing a register that does not conform to the size of a hardware register, an error message is generated instead of a compiler crash. Differential Revision: https://reviews.llvm.org/D138008
-
Luo, Yuanke authored
Differential Revision: https://reviews.llvm.org/D138547
-
Michał Górny authored
Use the CMake rules of unittest libraries via `add_subdirectory()` when using standalone builds, similarly to how e.g. Clang does that. Besides making things more consistent, I hope this also unblocks D137035 and effectively we'll be able to simplify things further and have LLVM semi-automatically include gtest support for us in the future. Differential Revision: https://reviews.llvm.org/D138573
-
Fangrui Song authored
-
Fangrui Song authored
-
Fangrui Song authored
-
Vasileios Porpodas authored
Differential Revision: https://reviews.llvm.org/D138616
-
Fangrui Song authored
-
chenglin.bi authored
-
Kazu Hirata authored
This patch deprecates Optional::getPointer. Note that I've converted all known occurrences of X.getPointer() to &*X on Nov 21, 2022 in commit 1f914944. This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716 Differential Revision: https://reviews.llvm.org/D138621
-
Kazu Hirata authored
I've migrated all known uses of NoneType to std::nullopt_t. This patch deprecates NoneType. I'm using "typedef" instead of "using" because somehow "[[deprecated]]" and "using" do not seem to get along. This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716 Differential Revision: https://reviews.llvm.org/D138623
-
bixia1 authored
The attribute tells the operator to handle symmetric structures for 2D tensors. By default, the operator assumes the input tensor is not symmetric. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D138230
-
Ben Dunbobbin authored
Initialisation Guard Variables should take their DLL storage class from the guarded variable. Otherwise, there will be a link error if the compiler inlines a reference to the guard variable into another module but that guard variable is not exported from the defining module. This is required for platforms such as PlayStation and windows-itanium, that are aiming for source compatibility with MSVC w.r.t. dllimport/export annotations, given Clang's existing design which allows for inlining of a dllimport function as long as all the variables/functions referenced are also marked dllimport. A similar change exists for the MSVC ABI: https://reviews.llvm.org/D4136. I have added a run test for windows-itanium for this issue to the build recipe: https://reviews.llvm.org/D88124. Differential Revision: https://reviews.llvm.org/D138463
-
Jakub Kuderski authored
These perform exact multiplication and return the high half as a second result. Also factor out common code shared between 'extended binary ops'. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D138624
-
Jakub Kuderski authored
Use helper functions. Reuse array element attributes. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D138609
-
Kazu Hirata authored
This patch fixes: lldb/source/Plugins/Instruction/RISCV/EmulateInstructionRISCV.cpp:105:18: warning: comparison of unsigned expression in ‘>= 0’ is always true [-Wtype-limits]
-
Nikolas Klauser authored
Reviewed By: ldionne, #libc Spies: Eugene.Zelenko, aheejin, libcxx-commits, xazax.hun Differential Revision: https://reviews.llvm.org/D137804
-
Kazu Hirata authored
This patch removes methods that I deprecated on August, 2022 in commits b5f8d42e and eeac9e92. This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
- 23 Nov, 2022 4 commits
-
-
Kazu Hirata authored
This patch replaces those occurrences of NoneType that would trigger an error if the definition of NoneType were missing in None.h. To keep this patch focused, I am deliberately not replacing None with std::nullopt in this patch or updating comments. They will be addressed in subsequent patches. This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716 Differential Revision: https://reviews.llvm.org/D138539
-
Florian Hahn authored
-
WuXinlong authored
This patch add the instructions of Zcd extension. Zcd is a subset of C Ext which include the double-precision floating-point instructions (c.fld, c.fldsp, c.fsd, c.fsdsp). Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D134177
-
Krzysztof Parzyszek authored
-