- Aug 05, 2023
-
-
Johannes Doerfert authored
We can prevent the costly interference check if an access is not interesting in the first place. Let the user decide via a callback.
-
Zequan Wu authored
-
Stanislav Mekhanoshin authored
-
Tom Yang authored
It isn't useful for users to see "<unknown>" as a stack trace when lldb fails to symbolicate a stack frame. I've replaced "<unknown>" with the value of the program counter instead. Test Plan: To test this, I opened a target that lldb fails to symbolicate in VSCode, and observed in the CALL STACK section that instead of being shown as "<unknown>", those stack frames are represented by their program counters. I added a new test case, `TestVSCode_stackTraceMissingFunctionName` that exercises this feature. I also ran `lldb-dotest -p TestVSCode` and saw that the tests passed. Differential Revision: https://reviews.llvm.org/D156732
-
Vy Nguyen authored
-
Jon Roelofs authored
This is a follow-up to 2fb1c108
-
Lang Hames authored
This function does not return a value. https://github.com/llvm/llvm-project/issues/64418
-
Jon Roelofs authored
The modules build trips over this frequently because there is no textual include of the tablegen output, but the module includes it. Differential revision: https://reviews.llvm.org/D157119
-
Jim Ingham authored
-
Simon Pilgrim authored
[X86] ReplaceNodeResults - widen sub-128-bit vector truncations if it would allow them to use PACKSS/PACKUS We currently just scalarize sub-128-bit vector truncations, but if the input vector has sufficient signbits/zerobits then we should try to use PACKSS/PACKUS with a widened vector with don't care upper elements. Shuffle lowering will struggle to detect this if we wait until the scalarization has been revectorized as a shuffle. Another step towards issue #63710
-
Surya Jasper authored
Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D156008
-
Fabio D'Urso authored
Previously, all operations were relaxed except for the atomic_compare_exchange call, which was implicitly acquire (but did not compile anymore because of the changes in commit 3ef766ad). In addition to making MemMapFuchsia compile again, this CL selects memory_order values that better express the intent of the code. Reviewed By: Chia-hungDuan Differential Revision: https://reviews.llvm.org/D157097
-
Slava Zakharin authored
The assignments inside where/elsewhere may affect variables participating in the mask expression, but execution of the assignments must not affect the established control mask(s) (F'18 10.2.3.2 p. 13). The following example must print all 42's: ``` program test integer c(3) logical :: mask(3) = .true. where (mask) c = f() end where print *, c contains integer function f() mask = .false. f = 42 end function f end program test ``` Reviewed By: tblah Differential Revision: https://reviews.llvm.org/D156959 -
Craig Topper authored
For the most part, MC version of vector instructions don't model when the destination is also a source. This primarily occurs for mask/tail undisturbed. The MC layer can't see the policy bits so this kind of makes sense. We also lumped FMA instructions into this, but the destination of FMA is an arithmetic source not just an undisturbed value. This needs to be correct for llvm-mca to understand the dependency for the FMA instructions. Though every other instruction is still wrong for tail/mask undisturbed. This patch models the FMA instructions correctly at the MCA layer. This necessitates changes to the assembler to offset operand numbers. I've added the extra sched class operand and fixed the operand order for the scalar read class. Reviewed By: rogfer01 Differential Revision: https://reviews.llvm.org/D151850
-
- Aug 04, 2023
-
-
Aaron Ballman authored
Addresses the issue found in: https://lab.llvm.org/buildbot/#/builders/92/builds/48490
-
Christian Trott authored
It was using the stride calculation of layout_right. Reviewed By: philnik Differential Revision: https://reviews.llvm.org/D157065
-
Philip Reames authored
We have a bunch of special casing for constant vectors, and the costing is generally different. Separate out the logic so that it's easier to follow.
-
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
-