- Aug 22, 2023
-
-
Erick Velez authored
Visit and serialize C++ fields by checking if a var template's context is a CXXRecordDecl in VisitVarTemplateDecl. Depends on D158027 Reviewed By: dang Differential Revision: https://reviews.llvm.org/D158029
-
Daniel Hoekwater authored
This reverts commit 46d2d759. Breaks build https://lab.llvm.org/buildbot/#/builders/21/builds/78779
-
Stephen Tozer authored
& Revert "[Dexter] Fix incorrect substitution errors in clang-cl builder" This reverts commits 262520a3, and 0b72b71c. Failures occurred on two buildbots, the SIE buildbot: https://lab.llvm.org/buildbot/#/builders/216/builds/26006 And the green dragon buildbot: https://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/59091 Errors appear to be related to incorrect tool substitution in the Dexter test commands, and a currently unknown error with one of the general debuginfo tests that uses Dexter.
-
Kolya Panchenko authored
Reviewed By: fhahn, ABataev Differential Revision: https://reviews.llvm.org/D150696
-
Piotr Zegar authored
Use internal references instead of external links to navigate between checks. This allow to generate proper hyperlinks when documentation is generated in other format than html, for example: latex or pdf
-
Craig Topper authored
Preparation for developing a new rounding mode insertion algorithm that is going to be different between them since VXRM doesn't need to be save/restored. This also unifies the FRM handling in RISCVISelLowering.cpp between scalar and vector. Fixes outdated comments in RISCVAsmPrinter and sorts the predicate function by the reverse order of the operands being skipped. Reviewed By: eopXD Differential Revision: https://reviews.llvm.org/D158326
-
Daniel Hoekwater authored
Current behavior for relaxing out-of-range conditional branches is to invert the conditional and insert a fallthrough unconditional branch to the original destination. This approach biases the branch predictor in the wrong direction, which can degrading performance. Machine function splitting introduces many rarely-taken cross-section conditional branches, which are improperly relaxed. Avoid inverting these branches; instead, retarget them to trampolines at the end of the function. Doing so increases the runtime cost of jumping to cold code but eliminates the misprediction cost of jumping to hot code. Differential Revision: https://reviews.llvm.org/D156837
-
Arthur Eubanks authored
To simplify D150297. We should be looking at OpFlags more. Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D157907
-
Harvin Iriawan authored
Fix test updated by commit db158c7c Differential Revision: https://reviews.llvm.org/D158432
-
Stephen Tozer authored
Following 262520a3, tests on windows bots began failing due to an incorrect substitution in the previous patch, where clang-cl was used instead of clang_cl. Also fixes an inconsistency in the builders used for some of the tests in 'dexter-tests', where %clang++ was used for some tests and %clang for tests that should have identical RUN lines.
-
Artem Labazov authored
Currenly both Clang and GCC support the following set of flags that control code gen of signed overflow: * -fwrapv: overflow is defined as in two-complement * -ftrapv: overflow traps * -fsanitize=signed-integer-overflow: if undefined (no -fwrapv), then overflow behaviour is controlled by UBSan runtime, overrides -ftrapv Howerver, clang ignores these flags for __builtin_abs(int) and its higher-width versions, so passing minimum integer value always causes poison. The same holds for *abs(), which are not handled in frontend at all but folded to llvm.abs.* intrinsics during InstCombinePass. The intrinsics are not instrumented by UBSan, so the functions need special handling as well. This patch does a few things: * Handle *abs() in CGBuiltin the same way as __builtin_*abs() * -fsanitize=signed-integer-overflow now properly instruments abs() with UBSan * -fwrapv and -ftrapv handling for abs() is made consistent with GCC Fixes #45129 and #45794 Reviewed By: efriedma, MaskRay Differential Revision: https://reviews.llvm.org/D156821
-
Shoaib Meenai authored
This adds a new -Bsymbolic option that directly binds all non-weak symbols. There's a couple of reasons motivating this: * The new flag will match the default behavior on Mach-O, so you can get consistent behavior across platforms. * We have use cases for which making weak data preemptible is useful, but we don't want to pessimize access to non-weak data. (For a large internal app, we measured 2000+ data symbols whose accesses would be unnecessarily pessimized by `-Bsymbolic-functions`.) Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D158322
-
Erick Velez authored
Visit and serialize method templates and template specializations. Introduces a new scheme of visiting child Decls via VisitCXXMethodDecl which will be followed in future patches for Fields and non-template methods. Depends on D157579 Reviewed By: dang Differential Revision: https://reviews.llvm.org/D158027
-
- Aug 21, 2023
-
-
Danila Kutenin authored
Second sorting was not following strict weak ordering as it does not follow transitivity of equivalence property. If you build llvm with libcxx at head as a standard library with -D_LIBCPP_DEBUG_STRICT_WEAK_ORDERING_CHECK and -D_LIBCPP_ENABLE_DEBUG_MODE, then tests like llvm/test/tools/llvm-readtapi/compare-right-single-inline.test.test will fail I don't have commit rights. Danila Kutenin kudanila@yandex.ru Reviewed By: cishida Differential Revision: https://reviews.llvm.org/D157958
-
Piotr Zegar authored
Fix typo in release notes and order of improvements.
-
Benjamin Kramer authored
Store it in TargetRegisterInfo instead. Worth 54k on llc size.
-
Benjamin Kramer authored
-
Rahman Lavaee authored
Differential Revision: https://reviews.llvm.org/D158429
-
Valentin Clement authored
This restriction is not clearly stated in the OpenACC standard but all other compilers enforce it and there no explanation to what should happen if there is a branching out of the construct. Add the restriction for now. Reviewed By: vzakhari Differential Revision: https://reviews.llvm.org/D158319
-
Valentin Clement authored
The acc.declare operation represent the implicit region of variable in the declare directive in the function (and subroutine in fortran). Reviewed By: razvanlupusoru Differential Revision: https://reviews.llvm.org/D158314
-
Kazu Hirata authored
-
Donát Nagy authored
This minor change ensures that underflow errors are reported on memory regions that are in unknown space but have a well-defined beginning. As a concrete example, the following test case did not produce a warning previously, but will produce a warning after this patch: typedef struct { int id; char name[256]; } user_t; user_t *get_symbolic_user(void); char test_underflow_symbolic_2() { user_t *user = get_symbolic_user(); return user->name[-1]; } Differential Revision: https://reviews.llvm.org/D157104 -
Stefan Pintilie authored
Added a test case for situations where a rotate is followed by a clear. NFC because only a test case is added.
-
Daniel Chen authored
Adding mma_lxvp and mma_stxvp, which are alias to already landed vec_lxvp and vec_stxvp respectively. Differential Revision: https://reviews.llvm.org/D158274
-
Florian Hahn authored
Split off independent suggestion from D157037. This simplifies the condition to decide if a recipe needs to be inserted to the header phi section or simply appended. The assertion has been updated to allow cases where the first non-phi recipe is the end of the block, in which case inserting before this point is equivalent to appending.
-
Kazu Hirata authored
This patch fixes: bolt/lib/Core/BinaryFunction.cpp:4117:20: error: unused variable 'FragmentBaseAddress' [-Werror,-Wunused-variable]
-
Florian Hahn authored
Split off independent suggestion from D157037.
-
Stephen Tozer authored
See "discussion": https://discourse.llvm.org/t/rfc-dexter-feature-removals/60462 This patch removes the builder functionality from Dexter, as it is an active maintenance burden and is no longer required since Dexter is being invoked by other test runners that can handle the build step better, and there has been no objection that it is still needed. Differential Revision: https://reviews.llvm.org/D151465
-
Qiongsi Wu authored
On AIX, `extract_symbols.py`'s default pool size may be too big for the logical partition(LPAR)'s allocated memory, and may lead to intermittent IO errors. This patch limits the pool size to 8 to avoid such errors. Reviewed By: daltenty, thieta Differential Revision: https://reviews.llvm.org/D157884
-
Ingo Müller authored
In particular: * Fix and extend the support for constructing possibly nested ArrayAttrs from lists of Python ints. This can probably be generalized further and used in many more places. * Add arguments for `pad_to_multiple_of` and `copy_back_op`. * Format with black and reorder (keyword-only) arguments to match tablegen and (`*_gen.py`) order. * Extend tests for new features. Reviewed By: springerm Differential Revision: https://reviews.llvm.org/D157789
-
Martin Erhart authored
We are allowed to remove any values from the `memref` list for which there is no memref in the `retained` list with a may-alias relation. Before removing, we just have to make sure that the corresponding op results for all retained memrefs with must-alias relation are updated accordingly. This means, the the condition operand has to become part of the disjunction the result value is computed with. Reviewed By: springerm Differential Revision: https://reviews.llvm.org/D158395
-
Nikita Popov authored
These haven't been supported as constant expressions for a while already, so having Operator variants of them doesn't make much sense.
-
Harvin Iriawan authored
Missed updating the win64_vararg2.ll test on db158c7c Differential Revision: https://reviews.llvm.org/D158410
-
J. Ryan Stinnett authored
`DIFile`'s checksum fields became optional as part of https://reviews.llvm.org/D43043. This updates the description in the docs to match. Fixes https://github.com/llvm/llvm-project/issues/39151 Differential Revision: https://reviews.llvm.org/D158281
-
Benjamin Kramer authored
-
Joseph Huber authored
We previously provided the `try_open` facility to indicate if opening a port failed. This is used on the server to continuously poll and quit if there is no work. However the Client currently has no way to recover from not finding a port and simply spins repeatedly. The abstraction here costs us some resources. This patch changes the interface to only allow `open` on the client side and merges the loops. This saves us a branch and a good number of registers. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D158365
-
Groverkss authored
The test creates two maps, which explode in output size when subtracting, causing the test to take +11 seconds on a debug build. Removing the slow test until more simplifications in subtraction are added. Reviewed By: arjunp Differential Revision: https://reviews.llvm.org/D158406
-
Mikhail R. Gadelha authored
Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D158313
-
Harvin Iriawan authored
Refresh of the generic scheduling model to use A510 instead of A55. Main benefits are to the little core, and introducing SVE scheduling information. Changes tested on various OoO cores, no performance degradation is seen. Differential Revision: https://reviews.llvm.org/D156799
-
Martin Storsjö authored
This fixes a regression since 1c10d5b1 / https://reviews.llvm.org/D130903 by applying the same fix from SelectionDAG from 8cb36675 / https://reviews.llvm.org/D35720. This could possibly have been detected if the existing testcases in win64_vararg.ll had been tested with GlobalISel too, but all the IR snippets there fail to be translated with GlobalISel. This adds a separate testcase based on real world LLVM IR (instead of hand-reduced IR), which GlobalISel does translate happily - tested with both SelectionDAG and GlobalISel. Before this change, the stack object locations (visible in MIR with "llc -print-after-all") didn't match with what the prologue emitted by AArch64FrameLowering actually looked like, which caused clobbered callee saved registers when function local stack objects aliased the actual location of the callee saved registers. This fixes https://github.com/llvm/llvm-project/issues/64740. Differential Revision: https://reviews.llvm.org/D158272
-