- Jun 05, 2021
-
-
Mark de Wever authored
The first part of the <format> header patch series is now complete for review. This updates the status document.
-
Roman Lebedev authored
[NFC] Promote willNotOverflow() / getStrengthenedNoWrapFlagsFromBinOp() from IndVars into SCEV proper We might want to use it when creating SCEV proper in createSCEV(), now that we don't `forgetValue()` in `SimplifyIndvar::strengthenOverflowingOperation()`, which might have caused us to loose some optimization potential.
-
Nikita Popov authored
-
Bruce Mitchener authored
This reverts commit 8d33437d. This broke one of the buildbots.
-
Nikita Popov authored
Loop peeling is currently performed as part of UnrollLoop(). Outside test scenarios, it is always performed with an unroll count of 1. This means that unrolling doesn't actually do anything apart from performing post-unroll simplification. When testing, it's currently possible to specify both an explicit peel count and an explicit unroll count. This doesn't perform any sensible operation and may result in miscompiles, see https://bugs.llvm.org/show_bug.cgi?id=45939. This patch moves peeling from UnrollLoop() into tryToUnrollLoop(), so that peeling does not also perform a susequent unroll. We only run the post-unroll simplifications. Specifying both an explicit peel count and unroll count is forbidden. In the future, we may want to support both (non-PGO) peeling a loop and unrolling it, but this needs to be done by first performing the peel and then recalculating unrolling heuristics on a now possibly analyzable loop. Differential Revision: https://reviews.llvm.org/D103362
-
Alexander Shaposhnikov authored
Fix typo in the test special-symbol-ld-previous.s. NFC.
-
Vitaly Buka authored
Revert "Update and improve compiler-rt tests for -mllvm -asan_use_after_return=(never|[runtime]|always)." Windows is still broken. This reverts commit 927688a4.
-
Amir Ayupov authored
This diff adds getLSDASection method to MCObjectFileInfo. Test plan: make check-all Differential revision: https://reviews.llvm.org/D102298
-
Kevin Athey authored
In addition: - optionally add global flag to capture compile intent for UAR: __asan_detect_use_after_return_always. The global is a SANITIZER_WEAK_ATTRIBUTE. for issue: https://github.com/google/sanitizers/issues/1394 Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D103304 -
Vitaly Buka authored
Not needed after d8a4a2cb. This reverts commit 00542932.
-
Bruce Mitchener authored
This is another step towards implementing the equivalent of `platform process list` and related functionality. `uint32_t` is used for the argument count and index despite the underlying value being `size_t` to be consistent with other index-based access to arguments. Differential Revision: https://reviews.llvm.org/D103675
-
Fangrui Song authored
-
Alexander Shaposhnikov authored
This diff adds first bits to support special symbols $ld$previous* in LLD. $ld$* symbols modify properties/behavior of the library (e.g. its install name, compatibility version or hide/add symbols) for specific target versions. Test plan: make check-lld-macho Differential revision: https://reviews.llvm.org/D103505
-
Vitaly Buka authored
-
Vitaly Buka authored
-
Vitaly Buka authored
-
Vitaly Buka authored
-
Vitaly Buka authored
-
Jim Lin authored
This is for D100288 to reduce the changes. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D103682
-
Michael Kruse authored
Functions shared between generalized matrix-multiplication optimization and other post-reschedule optimizations (tiling, prevect) are moved into the schedule tree transformation utility ScheduleTreeTransform.
-
Vitaly Buka authored
Revert "Update and improve compiler-rt tests for -mllvm -asan_use_after_return=(never|[runtime]|always)." Reverts commits of D103304, it breaks Darwin. This reverts commit 60e5243e. This reverts commit 26b3ea22. This reverts commit 17600ec3.
-
Fangrui Song authored
This matches asan. Some applications need more than 1<<13 threads. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D103731
-
Vitaly Buka authored
-
Vitaly Buka authored
-
Vitaly Buka authored
Differential Revision: https://reviews.llvm.org/D103725
-
Vitaly Buka authored
Avoid referencing elements beyond internal vector size. Reviewed By: cryptoad Differential Revision: https://reviews.llvm.org/D103718
-
Vitaly Buka authored
-
Kevin Athey authored
-
Aart Bik authored
Controlled by a compiler option, if 32-bit indices can be handled with zero/sign-extention alike (viz. no worries on non-negative indices), scatter/gather operations can use the more efficient 32-bit SIMD version. Reviewed By: bixia Differential Revision: https://reviews.llvm.org/D103632
-
Nico Weber authored
-
Rob Suderman authored
i48 integers require slightly tweaked behavior, specifically supporting zero point offsetting with slightly higher bitdepth. Updated results lowering appropriately. Reviewed By: NatashaKnk Differential Revision: https://reviews.llvm.org/D102659
-
Kevin Athey authored
In addition: - optionally add global flag to capture compile intent for UAR: __asan_detect_use_after_return_always. The global is a SANITIZER_WEAK_ATTRIBUTE. for issue: https://github.com/google/sanitizers/issues/1394 Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D103304 -
Ahmed Taei authored
This reverts commit a5295940. Differential Revision: https://reviews.llvm.org/D103724
-
Scott Linder authored
Preparation for landing the tests for llvm::makeVisitor, including breaking out the a "Counted" base class and explicitly testing the prvalue case as distinct from the rvalue case. Differential Revision: https://reviews.llvm.org/D103206
-
Roman Lebedev authored
While the IndVars issue (PR50384) has been resolved, and the compile performance improved, a new blocker emerged, the codegen machine instruction scheduling is also quadratic. So we still can't really specify the right value here. Filed PR50584.
-
Peter Steinfeld authored
It's possible to specify refer to an undefined derived type as the type of a component of another derived type and then never define the type of the component. We were not detecting this situation. To fix this, I changed the value of isForwardReferenced_ in the symbol's DerivedTypeDetails and checked for it when performing other derived type checks. I also had to record the fact that error messages were previously emitted for the same problem in some cases so that I could avoid duplicate messages. I also added a test. Differential Revision: https://reviews.llvm.org/D103714
-
Arnamoy Bhattacharyya authored
[flang][OpenMP] Add semantic check to allow only loop iteration variables in a `linear` clause within `distribute` construct. Implement the following semantic check: "A list item may not appear in a linear clause, unless it is the loop iteration variable." Reviewed By: kiranchandramohan Differential Revision: https://reviews.llvm.org/D100224
-
Ten Tzen authored
This patch fixes a Windows -EHa crash induced by previous commit 797ad701. The crash was caused by "LifetimeMarker" scope (with option -O2) that should not be considered as SEH Scope. This change also turns off -fasync-exceptions by default under -EHa option for now. Differential Revision: https://reviews.llvm.org/D103664#2799944
-
Terry Wilmarth authored
Nesting mode is a new experimental feature in the OpenMP runtime. It allows a user to set up nesting for an application in a way that corresponds to the hardware topology levels on the machine an application is being run on. For example, if a machine has 2 sockets, each with 12 cores, then use of nesting mode could set up an outer level of nesting that uses 2 threads per parallel region, and an inner level of nesting that uses 12 threads per parallel region. Nesting mode is controlled with the KMP_NESTING_MODE environment variable as follows: 1) KMP_NESTING_MODE = 0: Nesting mode is off (default); max-active-levels-var is set to 1 (the default -- nesting is off, nested parallel regions are serialized). 2) KMP_NESTING_MODE = 1: Nesting mode is on, and a number of threads will be assigned for each level discovered in the machine topology; max-active-levels-var is set to the number of levels discovered. 3) KMP_NESTING_MODE = n, n>1: [Note: this option is experimental and may change or be removed in the future.] Nesting mode is on, and a number of threads will be assigned for each topology level discovered on the machine, up to k<=n levels (since there may be fewer than n levels discovered in the topology), and beyond the kth level, nested parallel regions will be serialized; NOTE: max-active-levels-var is 1 (the default -- nesting is off, and nested parallel regions are serialized until the user changes max-active-levels-var. If the user sets OMP_NUM_THREADS or OMP_MAX_ACTIVE_LEVELS, they will override KMP_NESTING_MODE settings for the associated environment variables. The detected topology may be limited by an affinity mask setting on the initial thread, or if the user sets KMP_HW_SUBSET. See also: KMP_HOT_TEAMS_MAX_LEVEL for controlling use of hot teams for nested parallel regions. Note that this feature only sets numbers of threads used at nesting levels. The user should make use of OMP_PLACES and OMP_PROC_BIND or KMP_AFFINITY for affinitizing those threads, if desired. Differential Revision: https://reviews.llvm.org/D102188
-