- Aug 04, 2023
-
-
Kazu Hirata authored
The last use was removed by: commit 41b45ce6 Author: Florian Hahn <flo@fhahn.com> Date: Mon Dec 19 20:37:47 2022 +0000
-
Craig Topper authored
Reviewed By: fakepaper56 Differential Revision: https://reviews.llvm.org/D156937
-
Hans Wennborg authored
Closes #64263
-
Corentin Jabot authored
This is a C++ feature that allows the use of `_` to declare multiple variable of that name in the same scope; these variables can then not be referred to. In addition, while P2169 does not extend to parameter declarations, we stop warning on unused parameters of that name, for consistency. The feature is backported to all C++ language modes. Reviewed By: #clang-language-wg, aaron.ballman Differential Revision: https://reviews.llvm.org/D153536
-
Akash Banerjee authored
Added MLIR support for translating use_device_ptr and use_device_addr clauses for LLVMIR lowering. - use_device_ptr: The mapped variables marked with use_device_ptr are accessed through a copy of the base pointer mappers. The mapper is copied onto a new temporary pointer variable. - use_device_addr: The mapped variables marked with use_device_addr are accessed directly through the base pointer mappers. - If mapping information is not provided explicitly then default map_type of alloc/release is assumed and the map_size is set to 0. Depends on D152554 Reviewed By: kiranchandramohan, raghavendhra Differential Revision: https://reviews.llvm.org/D146648
-
Alexey Bataev authored
This reverts commit 58066edb reported in https://lab.llvm.org/buildbot/#/builders/252/builds/3389
-
Erick Velez authored
Reintroduce D153557 with fix for use-after-free from f4de606e and minor changes. Reviewed By: dang Differential Revision: https://reviews.llvm.org/D157007
-
Viktoriia Bakalova authored
Differential Revision: https://reviews.llvm.org/D157093
-
Igor Kirillov authored
Cache all results of running `identifyNode`, even those that do not identify potential complex operations. This patch prevents ComplexDeinterleaving pass from repeatedly trying to identify Nodes for the same pair of instructions. Fixes https://github.com/llvm/llvm-project/issues/64379 Differential Revision: https://reviews.llvm.org/D156916
-
Ben Shi authored
-
Martin Erhart authored
This change allows supporting operations for which we don't get precise aliasing information without the need to insert clone operations. E.g., `arith.select`. Reviewed By: springerm Differential Revision: https://reviews.llvm.org/D156992
-
Alexey Bataev authored
Use O(nlogn) instead of O(N2) (N <= 32) sorting approach and do not try to revectorize all possible combinations of stores, if they definitely cannot be combined because of mem/data dependencies. Compile time (O3 + lto, skylake_avx512): External/SPEC/CINT2006/483.xalancbmk/483.xalancbmk.test 117.15 120.11 2.5% External/SPEC/CINT2017speed/623.xalancbmk_s/623.xalancbmk_s.test 203.67 207.42 1.8% External/SPEC/CFP2017rate/526.blender_r/526.blender_r.test 232.43 235.01 1.1% External/SPEC/CINT2017rate/523.xalancbmk_r/523.xalancbmk_r.test 205.49 207.25 0.9% External/SPEC/CFP2017rate/510.parest_r/510.parest_r.test 310.46 306.23 -1.4% Link time (O3+lto, skylake_avx512): External/SPEC/CFP2017rate/526.blender_r/526.blender_r.test 1383.69 1475.94 6.7% Other changes are too small, cannot rely on them. size..text Program size..text results results0 diff test-suite :: SingleSource/Regression/C/Regression-C-sumarray.test 392.00 1439.00 267.1% test-suite :: MultiSource/Applications/JM/ldecod/ldecod.test 394258.00 394818.00 0.1% test-suite :: MultiSource/Applications/JM/lencod/lencod.test 846355.00 847075.00 0.1% test-suite :: External/SPEC/CINT2006/464.h264ref/464.h264ref.test 782816.00 783360.00 0.1% test-suite :: External/SPEC/CFP2017rate/508.namd_r/508.namd_r.test 779667.00 779923.00 0.0% test-suite :: MultiSource/Benchmarks/mafft/pairlocalalign.test 224398.00 224446.00 0.0% test-suite :: MultiSource/Applications/oggenc/oggenc.test 185019.00 185035.00 0.0% test-suite :: External/SPEC/CFP2017rate/526.blender_r/526.blender_r.test 12487610.00 12488010.00 0.0% test-suite :: MultiSource/Benchmarks/7zip/7zip-benchmark.test 1051772.00 1051804.00 0.0% test-suite :: MultiSource/Applications/SPASS/SPASS.test 529586.00 529602.00 0.0% test-suite :: External/SPEC/CINT2006/400.perlbench/400.perlbench.test 1084684.00 1084716.00 0.0% test-suite :: MultiSource/Benchmarks/tramp3d-v4/tramp3d-v4.test 1014245.00 1014261.00 0.0% test-suite :: MultiSource/Benchmarks/MallocBench/espresso/espresso.test 223494.00 223478.00 -0.0% test-suite :: External/SPEC/CINT2017speed/625.x264_s/625.x264_s.test 660843.00 660795.00 -0.0% test-suite :: External/SPEC/CINT2017rate/525.x264_r/525.x264_r.test 660843.00 660795.00 -0.0% test-suite :: MultiSource/Applications/ClamAV/clamscan.test 568824.00 568760.00 -0.0% espresso - 2 more stores vectorized x264 - small number of changes in 3-4 functions, generated a bit more vector stores (2 4x zeroinitializer stores + some other small variations). clamscan - emitted 32xi8 store instead of several scalar stores + several 4x-8x stores. Differential Revision: https://reviews.llvm.org/D155246 -
Benjamin Maxwell authored
Previously, foldExtractFromBroadcast() would incorrectly fold: func.func @extract_from_stretch_broadcast(%src: vector<3x1x2xf32>) -> f32 { %0 = vector.broadcast %src : vector<3x1x2xf32> to vector<3x4x2xf32> %1 = vector.extract %0[0, 2, 0] : vector<3x4x2xf32> return %1: f32 } to: func.func @extract_from_stretch_broadcast(%src: vector<3x1x2xf32>) -> f32 { %0 = vector.extract %src[0, 2, 0] : vector<3x1x2xf32> return %0: f32 } This was due to the wrong offset being used when zeroing the "dim-1" broadcasted dims. It should use the difference in rank across the broadcast as the starting offset, as the ranks after that are the ones that could have been stretched. Reviewed By: awarzynski, dcaballe Differential Revision: https://reviews.llvm.org/D157003 -
Alex Zinenko authored
Revert "[mlir][conversion] NFC - Relax convert-cf-to-llvm and finalize-memref-to-llvm to also work on non-builtin module ops" This reverts commit cc6b8d80. Seems to have been committed accidentally.
-
Alex Zinenko authored
This reverts commit 3c9aa10c. No proper description of the commit.
-
Vy Nguyen authored
Two changes: - Avoid crashing in predicate functions. Querying the property of the Symbols via these is*() functions shouldn't crash the program - the answer should just be "false". Currently, having them throw UNREACHABLE already (incorrectly) crash certain code paths involving macho::validateSymbolRelocation() . - Simply ignore input archives with incompatible arch (changes from PRESIDENT810@) Differential Revision: https://reviews.llvm.org/D156468
-
Aaron Ballman authored
Just in case there was confusion on how to reach me via these services.
-
Aaron Ballman authored
Instead of describing the job of a code owner within the code owners file, link to where we describe code ownership for the project.
-
Martin Storsjö authored
If CMAKE_MSVC_RUNTIME_LIBRARY isn't set, then CMake defaults to the debug CRT, if CMAKE_BUILD_TYPE is set to Debug. If CMAKE_MSVC_RUNTIME_LIBRARY is set though, that overrides any implicit defaults. Match this in libcxx's own manual linking logic. This allows decoupling the debug CRT from the CMAKE_BUILD_TYPE and allows users to configure their builds exactly how they want. Differential Revision: https://reviews.llvm.org/D155561
-
Martin Storsjö authored
Differential Revision: https://reviews.llvm.org/D156573
-
Alexey Bataev authored
This reverts commit 58b0d7c3 to fix crashes reported in https://lab.llvm.org/buildbot/#/builders/85/builds/18117.
-
Florian Hahn authored
Split up tryToBuildVPlanWithVPRecipes into intial plan creation and optimizations, by introducing a VPLanTransform::optimize helper. Depends on D154640. Reviewed By: Ayal Differential Revision: https://reviews.llvm.org/D154644
-
pvanhout authored
Avoids a warning about the function being unused. Reviewed By: DavidSpickett Differential Revision: https://reviews.llvm.org/D157085
-
David Green authored
This fills in the gaps with v8s8 and v4s8 vectors for G_DUP and G_DUPLANE, using the existing code that is generalized to more types.
-
Vladislav Dzhidzhoev authored
trunc(sext/zext/anyext... x) -> x pattern is handled in artifact combiner to avoid extra copy instructions in https://reviews.llvm.org/D156831.
-
Nicolas Vasilache authored
[mlir][transform] Expose vector patterns useful for cleaning up masked vectorization and add test to showcase composition Differential Revision: https://reviews.llvm.org/D157047
-
Nicolas Vasilache authored
-
Nicolas Vasilache authored
[mlir][conversion] NFC - Relax convert-cf-to-llvm and finalize-memref-to-llvm to also work on non-builtin module ops This is a prerequisite for unentangling LowerGpuOpsToNVVMOps which explicitly populates its conversion with `populateControlFlowToLLVMConversionPatterns` and `populateFinalizeMemRefToLLVMConversionPatterns`. However those patterns cannot be generally added to a pass anchored on a non-ModuleOp. Instead, LowerGpuOpsToNVVMOps should stop including the world, in a future commit. Differential Revision: https://reviews.llvm.org/D156860
-
Florian Hahn authored
Split off D154644.
-
Florian Hahn authored
Cleanup in preparation for D154644. This was suggested earlier and helps to simplify the code with D154644.
-
J. Ryan Stinnett authored
The `LLDB_LINKER_SUPPORTS_GROUPS` CMake variable was added back in 2019 as part of https://reviews.llvm.org/D71306, but it appears to have been unused even then. This removes the unused variable. Differential Revision: https://reviews.llvm.org/D156997
-
David Spickett authored
This first notebook covers the basics. * classes * defs * basic types * let in various forms Everything up to multiclass, which will be the start of the 2nd part of the tutorial. I'd like to keep them in logical sections as far as possible, so they are easy to digest. Differential Revision: https://reviews.llvm.org/D137085
-
David Spickett authored
Often you are doing one of 2 things: * Building a larger example from many small cells. * Showing many small isolated examples. The default so far has followed iPython, where cells are connected by default (in its case, the interpreter state backing them sticks around). This change adds a new magic `%config` where you can change the setting `cellreset` to change that behaviour (this is currently the only setting). Also added is a `%noreset` magic so that along with `%reset` you can override the default for one particular cell. The default is equivalent to `%config cellreset off`. If you then wanted to reset in a cell, you can just do %reset to override it. (this is what the current notebooks do) If you instead do `%config cellreset on`, cells always reset and you can choose not to using `%noreset`. The setting is named `cellreset` not `reset` to differentiate it a bit more from the one off command `reset`. The demo notebook has been updated with examples of this in action. Reviewed By: awarzynski Differential Revision: https://reviews.llvm.org/D149055
-
Jay Foad authored
-
Sergio Afonso authored
This patch adds support for matching multiple OpenMP `if` clauses to their specified directive in a combined construct. It also enables this clause to be attached by name to `simd` and `teams` directives, in addition to the others that were already supported. This patch on its own cannot yet be tested because there is currently no lowering to MLIR support for any combined construct containing two or more OpenMP directives that can have an `if` clause attached. Depends on D155981. Differential Revision: https://reviews.llvm.org/D156313
-
David Spickett authored
This reverts commit 54458c52. The timeouts we were seeing have been fixed by 9a3f0cd7 and I think this was experiencing the same issue.
-
Kadir Cetinkaya authored
Some tools can register virtual buffers without identifiers into the filemanager. Make sure we can handle pragmas in such cases. Differential Revision: https://reviews.llvm.org/D157078
-
Kadir Cetinkaya authored
To enable customization of links in downstream projects without breaking tests (and also ease of pointing at different links in the future). Just check for existence instead. Differential Revision: https://reviews.llvm.org/D157071
-
chenpeihao3 authored
Solve the endless loop caused by iterative guess. The main function of this option is guessEdgeByIterativeApproach, where the do while loop involves guessPredEdgeCounts and guessSuccessEdgeCounts. In some scenarios, the do while loop will fall into an endless loop. The reason is that although the GuessedPredEdgeCounts function has guessed the pred-edges counts, GuessedArcs does not insert the corresponding BB block, resulting in the changed variable always being true. Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D154922
-
Podchishchaeva, Mariya authored
Just exit instead. Fixes https://github.com/llvm/llvm-project/issues/42535 Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D156244
-