- Mar 16, 2023
-
-
Jon Roelofs authored
Differential Revision: https://reviews.llvm.org/D146105
-
Zain Jaffal authored
[AArch64] Change GeneratePerfectShuffle to return one destination operand for zip and transpose operations. The tests added where crashing because zip instruction was returning two destination operands. ZIP according to arm returns only one destination operand. Reviewed By: dmgreen, fhahn Differential Revision: https://reviews.llvm.org/D146055
-
Florian Hahn authored
Modifying AddRecs when constructing other expressions can lead to surprising changes. It also seems like it is not really beneficial i most cases. At the moment, there's a single regression, but we still might be able to improve the flags at AddRec construction. Might help with the issue discussed in D143409. Reviewed By: mkazantsev Differential Revision: https://reviews.llvm.org/D144051
-
bixia1 authored
Previously, we choose the median of three values. We now choose the median of five values when the number of values being sorted exceed a threshold (currently 100). This is similar to std::sort. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D145534
-
Dave Lee authored
Change `dwim-print` to now disable persistent results by default, unless requested by the user with the `--persistent-result` flag. Ex: ``` (lldb) dwim-print 1 + 1 (int) 2 (lldb) dwim-print --persistent-result on -- 1 + 1 (int) $0 = 2 ``` Users who wish to enable persistent results can make and use an alias that includes `--persistent-result on`. Differential Revision: https://reviews.llvm.org/D145609
-
Arthur Eubanks authored
See comments for why we now need to pass in the MAM instead of the FAM. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D146160
-
Arthur Eubanks authored
This reverts commit d6c0724e. Breaks clang/flang builds.
-
Arthur Eubanks authored
See comments for why we now need to pass in the MAM instead of the FAM. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D146160
-
Arthur Eubanks authored
Reuse StructuralHash and allow it to be used in non-expensive checks builds. Move PreservedAnalysisChecker further down StandardInstrumentations so other Instrumentations (e.g. printing) have a chance to run before PreservedAnalysisChecker crashes. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D146003
-
Arthur Eubanks authored
In preparation for adding more checks under this flag. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D146069
-
Amir Ayupov authored
Move out prepareToParse lambda, generalize it to handle mem events perf process. Reviewed By: #bolt, rafauler Differential Revision: https://reviews.llvm.org/D146002
-
wren romano authored
Since all callsites of `foreachTensorLoopId` would simply look up the `LatPointId` to extract its `BitVector`, it's cleaner to let the `Merger` handle that instead. This seems to better capture the intent of the `foreachTensorLoopId` method, and improves decoupling (since it removes a place that leaks the implementation detail that we use `BitVector`). Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D146082
-
Stephen Tozer authored
Adds a basic logging class to Dexter that uses the existing PrettyOutput class for printing and supports 3 levels of verbosity (note, warning, error). Intended to consolidate the logging logic for Dexter into one place, removing the need for conditional log statements and making it easier for us later if we wish to use a more complete logging class. Reviewed By: Orlando Differential Revision: https://reviews.llvm.org/D144983
-
Zequan Wu authored
-
Wolfgang Pieb authored
For the Playstation platform, mimick MSVC in propagating dllexport/dllimport attributes to an instantiated template base class. Reviewed By: hans Differential Revision: https://reviews.llvm.org/D145970
-
Arthur Eubanks authored
-
Arthur Eubanks authored
-
Alexandre Ganea authored
building with MSVC on Windows
-
Alexandre Ganea authored
when building with MSVC on Windows
-
Simon Pilgrim authored
There are no 32-bit targets that have LZCNT but not CMOV, and this allows us to test the straight line i64 pattern - otherwise we're doing the same branchy code as the 32-bit BSR test
-
Alexandros Lamprineas authored
Standardize all options with 'funcspec' prefix and shorter abreviations. Differential Revision: https://reviews.llvm.org/D145378
-
Alex Bradbury authored
By the psABI, any test case where a FPR would be used for a float, it should also be used if you replaced that float with a _Float16. This doesn't hold true in current Clang for the special cases in the FP calling convention involving structs. This patch doesn't attempt to fix that, simply to add coverage. D145074 contains the fix. Differential Revision: https://reviews.llvm.org/D145070
-
Lei Zhang authored
This commits adds support for folding subview into GPU subgroup MMA load/store ops. Reviewed By: ThomasRaoux Differential Revision: https://reviews.llvm.org/D146150
-
Simon Pilgrim authored
Avoid widening the shift to a bigger type if the zext would be free anyway Pulled out of D146121
-
Alexey Lapshin authored
This patch is extracted from D96035. It adds AddressesMap map interface to the DWARFLinkerParallel library. This interface mostly match with the paired interface from the DWARFLinker library, except that it does not depend on DIEInfo class. Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D140788
-
Yuanfang Chen authored
A similar fix to D133095. Fixes https://github.com/llvm/llvm-project/issues/58770. Reviewed By: aprantl Differential Revision: https://reviews.llvm.org/D145607
-
Mark de Wever authored
-
Philip Reames authored
Note that getCleanShadow always returns Constant::getNullValue so the prior code is equivalent to convertToBool.
-
Philip Reames authored
This is an implementation detail of the flattening scheme, so hide it in the implementation thereof. This does require one caller to go through the appropriate utility, but doing that makes the code cleaner anyways.
-
Simon Pilgrim authored
[X86] Add more thorough testing of the zext(logicalshift(zext(x),c)) -> logicalshift(zext(x),c) fold Add tests for more extension combos, 64-bit targets and some illegal types
-
Mark de Wever authored
-
ibricchi authored
Adds the ability to load a plugin to control the inline order. This allows developing and distributing inlining heuristics outside of tree. And together with the inline advisor plugins allows for fine grained control of the inliner. The PluginInlineOrderAnalysis class serves as the entry point for dynamic advisors. Plugins must register instances of this class to provide their own InlineOrder. Reviewed By: kazu Differential Revision: https://reviews.llvm.org/D140637
-
Stephen Tozer authored
Adds an option to Dexter that passes command line arguments to the debugged process, following (and in addition to) any arguments given by the DexCommandLine command. Differential Revision: https://reviews.llvm.org/D144979
-
Paul Kirth authored
Currently we don't emit any CFI instructions for the SCS register when enabling SCS on RISCV. This causes problems when unwinding, since the SCS register isn't being handled properly. Reviewed By: mcgrathr Differential Revision: https://reviews.llvm.org/D145205
-
Alex Bradbury authored
After D134050, it makes sense to combine the RV64 ABI tests into a single file in order to make it more maintainable (i.e. not having to split tests based on the combinations of ABIs they're expected to impact). This patch deletes duplicated tests but doesn't do much further reorganisation beyond that. I imagine the logical ordering of tests in the file and comments could be further improved in the future. My personal feeling is that it's probably not worth investing the time to try to get this "perfect", and to instead settle for this incremental step forward. But if there's reviewer interest in attempting to further iterate, I'm happy to do so. Differential Revision: https://reviews.llvm.org/D140400
-
Mark de Wever authored
-
Mark de Wever authored
Having the header granularized makes it possible to remove the dependency on this header in <format>. This <format> header gets included in more headers due to more usage of std::formatter in the library. This should reduce the number of transitive includes. Note formatting the new headers will be done in a followup patch. Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D145590
-
Mark de Wever authored
I noticed this wile investigating https://llvm.org/PR61314 Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D145798
-