- Nov 15, 2023
-
-
Vitaly Buka authored
These variables are used by other platforms as well.
-
Vitaly Buka authored
-
Benjamin Kramer authored
This was important when typed LLVM pointers wanted a struct definition for every type, but that's no longer necessary with opaque pointers. NFCI.
-
Aart Bik authored
-
Florian Mayer authored
-
Florian Mayer authored
We don't allow SCUDO_OPTIONS to be preserved across SELinux transitions, so introducing a more constrained one that we can preserve.
-
Florian Mayer authored
Prevent a null pointer exception for allocation_ring_buffer_size < 0.
-
Maksim Levental authored
Fixes https://github.com/llvm/llvm-project/issues/72194.
-
Nikolas Klauser authored
``` --------------------------------------------------- Benchmark old new --------------------------------------------------- bm_for_each/1 3.00 ns 2.98 ns bm_for_each/2 4.53 ns 4.57 ns bm_for_each/3 5.82 ns 5.82 ns bm_for_each/4 6.94 ns 6.91 ns bm_for_each/5 7.55 ns 7.75 ns bm_for_each/6 7.06 ns 7.45 ns bm_for_each/7 6.69 ns 7.14 ns bm_for_each/8 6.86 ns 4.06 ns bm_for_each/16 11.5 ns 5.73 ns bm_for_each/64 43.7 ns 4.06 ns bm_for_each/512 356 ns 7.98 ns bm_for_each/4096 2787 ns 53.6 ns bm_for_each/32768 20836 ns 438 ns bm_for_each/262144 195362 ns 4945 ns bm_for_each/1048576 685482 ns 19822 ns ``` Reviewed By: ldionne, Mordante, #libc Spies: bgraur, sberg, arichardson, libcxx-commits Differential Revision: https://reviews.llvm.org/D151274
-
Karthika Devi C authored
The tryMergeAdjacentSTG function tries to merge multiple stg/st2g/stg_loop instructions. It doesn't verify the liveness of NZCV flag before moving around STGloop which also alters NZCV flags. This was not issue before the patch 5e612bc2 as these stack tag stores does not alter the NZCV flags. But after the change, this merge function leads to miscompilation because of control flow change in instructions. Added the check to to see if the first instruction after insert point reads or writes to NZCV flag and it's liveout state. This check happens after the filling of merge list just before merge and bails out if necessary.
-
Kiran Chandramohan authored
This fixes all the warnings of the following type in the CI (https://lab.llvm.org/buildbot/#/builders/89/builds/50248/steps/5/logs/stdio) -> WARNING: document isn't included in any toctree.
-
Valentin Clement (バレンタイン クレメン) authored
Using an op with a region cause some issue with unstructured code. This patch make use of acc.declare_enter and acc.declare_exit to represent the implicit declare region.
-
Kiran Chandramohan authored
Fixes flang documentation CI build.
-
Kiran Chandramohan authored
Adding this section ensures that the documentation generated by mlir-tblgen for all the FIR operations are at the correct depth. FIROperations are at depth 3, the new section is at depth 2. This fixes the "Non-consecutive header level increase; H1 to H3" warning in FIRLangRef.md.
-
Jake Egan authored
These tests are failing intermittently on the AIX bot, possibly due to some issue with `getpwuid_r`. Disable them for now while they are investigated.
-
Peter Klausler authored
Implements constant folding for matrix multiplication for all four accepted type categories.
-
Félix-Antoine Constantin authored
[clang-tidy] Improved readability-bool-conversion to be more consistent when using parentheses (#72068) Provides more consistent suggestions when parentheses are added to the return value. Fixes #71852
-
Nicolas van Kempen authored
As per title. A small improvement to this check, `string_view` should work out of the box.
-
Max191 authored
Fixes https://github.com/openxla/iree/issues/15575
-
Jacek Caban authored
-
Julian Schmidt authored
[clang-tidy] fix match for binaryOperator in ExprMutationAnalyzer for misc-const-correctness (#70559) The `ExprMutationAnalyzer`s matcher of `binaryOperator`s that contained the variable expr, were previously narrowing the variable to be type dependent, when the `binaryOperator` should have been narrowed as dependent. The variable we are trying to find mutations for does not need to be the dependent type, the other operand of the `binaryOperator` could be dependent. Fixes #57297
-
Valentin Clement (バレンタイン クレメン) authored
This patch updates the stride computation for the outer dimensions of multidimensional arrays where the stride is read from the descriptor. For the inner dimension, the stride is the element size in bytes. Then it is multiplied by the n-1 extent for outer dimensions.
-
Aart Bik authored
some files had "x" permission set, others were missing "r"
-
Valentin Clement (バレンタイン クレメン) authored
This option change the default lowering and should not be used. Make the atomic tests more homogenous to the rest of the OpenACC tests. No OpenACC tests use this option.
-
Christudasan Devadasan authored
-
PiJoules authored
-
Jan Patrick Lehr authored
…A engines (#71801) This enables the AMDGPU plugin to use a new ROCm 5.7 interface to dispatch asynchronous data transfers across SDMA engines. The default functionality stays unchanged, meaning that all data transfers are enqueued into a H2D queue or an D2H queue, depending on transfer direction, via the HSA interface used previously. The new interface can be enabled via the environment variable `LIBOMPTARGET_AMDGPU_USE_MULTIPLE_SDMA_ENGINES=true` when libomptarget is built against a recent ROCm version (5.7 and later). As of now, requests are distributed in a round-robin fashion across available SDMA engines.
-
Changpeng Fang authored
getIConstantVRegValWithLookThrough could return NULL.
-
Leonard Chan authored
This reverts commit d593f6cb.
-
Benjamin Kramer authored
-
Jacek Caban authored
Filling entire buffer would require all chunks to overwrite it later, which is not the case for uninitialized chunks merged into code sections.
-
Maksim Panchenko authored
Run RemoveNops pass only if --keep-nops is set to false (default).
-
AdityaK authored
-
Alexey Bataev authored
SLP includes analysis for the minimum bitwidth, the actual integer operations can be emitted. It allows to reduce register pressure and improve perf. Currently, it includes only cost model and the next transformation relies on InstructionCombiner. Better to do it directly in SLP, it allows to reduce compile time and fix cost model issues.
-
Zequan Wu authored
As discussed in https://github.com/llvm/llvm-project/pull/70856#issuecomment-1791465183 and https://github.com/llvm/llvm-project/pull/70856#issuecomment-1806281746, it's better not to do runtime check for VARIANT_MASK_DBG_CORRELATE bit in __llvm_profile_raw_version when deciding if profile data/name sections should be dropped or not.
-
lntue authored
-
Timm Baeder authored
This can't be tested right now but will show up once we use the new interpreter in evaluateAsConstantExpression() as well. Pulled out from https://github.com/llvm/llvm-project/pull/70763
-
Alan Phipps authored
Fixes a bug introduced by commit f95b2f1a ("Reland [InstrProf][compiler-rt] Enable MC/DC Support in LLVM Source-based Code Coverage (1/3)") The InstrProfiling pass was refactored when introducing support for MC/DC such that the creation of the data variable was abstracted and called only once per function from ::run(). Because ::run() only iterated over functions there were not fully inlined, and because it only created the data variable for the first intrinsic that it saw, data variables corresponding to functions fully inlined into other instrumented callers would end up without a data variable, resulting in loss of coverage information. This patch does the following: 1.) Move the call of createDataVariable() to getOrCreateRegionCounters() so that the creation of the data variable will happen indirectly either from ::new() or during profile intrinsic lowering when it is needed. This effectively restores the behavior prior to the refactor and ensures that all data variables are created when needed (and not duplicated). 2.) Process all MC/DC bitmap parameter intrinsics in ::run() prior to calling getOrCreateRegionCounters(). This ensures bitmap regions are created for each function including functions that are fully inlined. It also ensures that the bitmap region is created for each function prior to the creation of the data variable because it is referenced by the data variable. Again, duplication is prevented if the same parameter intrinsic is inlined into multiple functions. 3.) No longer pass the MC/DC intrinsic to createDataVariable(). This decouples the creation of the data variable from a specific MC/DC intrinsic. Instead, with #2 above, store the number of bitmap bytes required in the PerFunctionProfileData in the ProfileDataMap along with the function's CounterRegion and BitmapRegion variables. This ties the bitmap information directly to the function to which it belongs, and the data variable created for that function can reference that.
-
Joseph Huber authored
This causes the tests to fail because the bots were not updated in time. Revert until we update the bots to a valid version. This reverts commit e876250b.
-
Walter Erquinigo authored
When this option gets enabled, descriptions of threads will be generated using the format provided in the launch configuration instead of generating it manually in the dap code. This allows lldb-dap to show an output similar to the one in the CLI. This is very similar to https://github.com/llvm/llvm-project/pull/71843
-