- Jun 19, 2022
-
-
Tue Ly authored
This is blocking fullbuild bot.
-
Tue Ly authored
-
Arthur Eubanks authored
And fix up existing tests to not have so much UB.
-
Ye Luo authored
Old LLVM installation may expose its internal omptarget CMake target when being used by find_package(LLVM) and caused issues in the CMake of libomptarget that is being built. Trap the issue early. Reviewed By: tianshilei1992 Differential Revision: https://reviews.llvm.org/D128129
-
Jacques Pienaar authored
Follow up from flipping dialects to both, flip accessor used to prefixed variant ahead to flipping from _Both to _Prefixed. This just flips to the accessors introduced in the preceding change which are just prefixed forms of the existing accessor changed from. Mechanical change using helper script https://github.com/jpienaar/llvm-project/blob/main/clang-tools-extra/clang-tidy/misc/AddGetterCheck.cpp and clang-format.
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
Identified with modernize-use-default-member-init.
-
Arthur Eubanks authored
-
Kazu Hirata authored
Identified with modernize-use-default-member-init.
-
Brad Smith authored
-
Brad Smith authored
Noticing D127826, add support for OpenBSD which uses lld on riscv64. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D128109
-
Roy Jacobson authored
This patch implements a necessary part of P0848, the overload resolution for destructors. It is now possible to overload destructors based on constraints, and the eligible destructor will be selected at the end of the class. The approach this patch takes is to perform the overload resolution in Sema::ActOnFields and to mark the selected destructor using a new property in FunctionDeclBitfields. CXXRecordDecl::getDestructor is then modified to use this property to return the correct destructor. This closes https://github.com/llvm/llvm-project/issues/45614. Reviewed By: #clang-language-wg, erichkeane Differential Revision: https://reviews.llvm.org/D126194
-
Simon Pilgrim authored
-
Arthur Eubanks authored
We wanted to check if all uses of the function are direct calls, but the code didn't account for passing the function as a parameter. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D128104
-
Kazu Hirata authored
Identified with modernize-use-default-member-init.
-
Kazu Hirata authored
Identified with modernize-use-default-member-init.
-
Kazu Hirata authored
Identified with modernize-use-default-member-init.
-
Kazu Hirata authored
Identified with modernize-use-default-member-init.
-
Kazu Hirata authored
Identified with modernize-use-default-member-init.
-
Huan Nguyen authored
Allow cold fragment to get new address. Our previous assumption is that a fragment (.cold) is only reached through the main fragment of same function. In addition, .cold fragment must be reached through either (a) direct transfer, or (b) split jump table. For (a), we perform a simple fix-up. For (b), we currently mark all relevant fragments as non-simple. Therefore, there is no need to get new address for .cold fragment. This is not always the case, as function entry can be rarely executed, and is placed in .text.cold segment. Essentially we cannot tell which the source-level function entry is based on hot and cold segments, so we must treat each fragment a function on its own. Therfore, we remove the assertion that a function entry cannot be cold fragment. Test Plan: ``` ninja check-bolt ``` Reviewed By: Amir Differential Revision: https://reviews.llvm.org/D128111
-
Craig Topper authored
Type legalization will convert the bitcast into a vector store and scalar load. Instead this patch widens the vector to v8i1 with undef, and bitcasts it to i8. v8i1->i8 has custom handling for type legalization already to bitcast to a v1i8 vector and use an extract_element. The code here was lifted from X86's avx512 support. Reviewed By: reames Differential Revision: https://reviews.llvm.org/D128099
-
Fangrui Song authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Jacques Pienaar authored
Marked all dialects that could be (reasonably) easily flipped to _Both prefix. Updating the accessors to prefixed form will happen in follow up, this was to flush out conflicts and to mark all dialects explicitly as I plan to flip OpBase default to _Prefixed to avoid needing to migrate new dialects. Except for Standalone example which got flipped to _Prefixed. Differential Revision: https://reviews.llvm.org/D128027
-
Simon Pilgrim authored
The "ELFT::TargetEndianness == support::little" check is known at compile time
-
Simon Pilgrim authored
[X86] canonicalizeShuffleWithBinOps - merge shuffles across binops if either source op is a known splat The shuffle of a splat (with no undefs) should always be removed
-
- Jun 18, 2022
-
-
Kazu Hirata authored
-
Nikolas Klauser authored
Reviewed By: ldionne, Mordante, #libc Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D127674
-
Nikolas Klauser authored
This makes Clang scream at us if there is a class without a key function. Reviewed By: ldionne, #libc Spies: libcxx-commits, arichardson Differential Revision: https://reviews.llvm.org/D127900
-
Guillaume Chatelet authored
-
Simon Pilgrim authored
[X86] canonicalizeShuffleWithBinOps - merge unary shuffles across binops if either source op is a foldable load This mostly handles folding of constants that have already become loads, but we expose some generic load cases as well. This also exposes the chance to merge unary shuffles across X86ISD::ANDNP nodes with different scalar widths
-
Yuki Okushi authored
`getCurrentFile` here causes an assertion on some condition. `getCurrentFileOrBufferName` is preferrable instead. llvm#55950 Differential Revision: https://reviews.llvm.org/D127509
-
Kazu Hirata authored
Identified with modernize-use-default-member-init.
-
Kazu Hirata authored
-
Simon Pilgrim authored
-
Simon Pilgrim authored
We try to reserve X32 check prefixes for gnux32 triple tests
-