- May 21, 2021
-
-
Nicolas Vasilache authored
Drop the remaining EDSC subdirectories and update all uses. Differential Revision: https://reviews.llvm.org/D102911
-
Simon Pilgrim authored
These were using (default) scalarized values.
-
Zhouyi Zhou authored
Hi, I am new to LLVM, and I really want to get involved in LLVM community. I guess if the following switch case of function TransformNestedNameSpecifierLoc could possibly made more beautiful with 'break' stmt moved inside of the right brace. I think move of 'break' stmt will not change the invoking destructor of IdInfo. Thanks for your effort. I have done make check-all on x86_64-linux Signed-off-by:
Zhouyi Zhou <zhouzhouyi@gmail.com> Reviewed By: pengfei Differential Revision: https://reviews.llvm.org/D102577
-
Luke Benes authored
This patch resolves the Wsign-compare warning that I observed on armv7l and x86 with both gcc and clang. Reviewed By: pengfei Differential Revision: https://reviews.llvm.org/D102792
-
Tony Tye authored
Reviewed By: foad Differential Revision: https://reviews.llvm.org/D102910
-
Stephen Tozer authored
3rd Reapply "[DebugInfo] Use variadic debug values to salvage BinOps and GEP instrs with non-const operands" This reapplies c0f3dfb9, which was reverted following the discovery of crashes on linux kernel and chromium builds - these issues have since been fixed, allowing this patch to re-land. This reverts commit 4397b709.
-
Joe Ellis authored
The previous rule: (insert_vector _, (extract_vector X, 0), 0) -> X is not quite correct. The correct fold should be: (insert_vector Y, (extract_vector X, 0), 0) -> X where: Y is X, or Y is undef This commit updates the pattern. Reviewed By: peterwaller-arm, paulwalker-arm Differential Revision: https://reviews.llvm.org/D102699
-
Djordje Todorovic authored
By using MapVector instead of DenseMap, reporting issues will be in deterministic order. Differential Revision: https://reviews.llvm.org/D102841
-
Andy Wingo authored
In the WebAssembly target, we would like to allow alloca in two address spaces. The alloca instruction already has an address space argument, but the verifier asserts that the address space of an alloca is the default alloca address space from the datalayout. This patch removes this restriction. Targets that would like to impose additional restrictions should do so via target-specific verification passes. Differential Revision: https://reviews.llvm.org/D101045
-
Adrian Kuegel authored
-
Balazs Benics authored
Since @bkramer bumped gtest to 1.10.0 I think it's a good time to clean up some of my hacks. Reviewed By: Szelethus Differential Revision: https://reviews.llvm.org/D102643
-
Adrian Kuegel authored
The result type is always I1. This additional builder allows to omit the result type. Differential Revision: https://reviews.llvm.org/D102905
-
Raphael Isemann authored
D98794 added the DirectAttr/IndirectAttr struct fields to that union, but declaring anonymous structs in an anonymous union triggers `-Wnested-anon-types` warnings. We can't just give them a name as they are in an anonymous union, so this just declares the type outside. ``` clang/include/clang/CodeGen/CGFunctionInfo.h:97:5: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ clang/include/clang/CodeGen/CGFunctionInfo.h:101:5: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ``` Reviewed By: chill Differential Revision: https://reviews.llvm.org/D102903
-
Melvin Fox authored
this patch fixes Bug 27113 by adding support for string literals to the implementation of the MS extension __identifier. Differential revision: https://reviews.llvm.org/D100252
-
Djordje Todorovic authored
[Debugify][Original DI] Test dbg var loc preservation This is an improvement of [0]. This adds checking of original llvm.dbg.values()/declares() instructions in optimizations. We have picked a real issue that has been found with this (actually, picked one variable location missing from [1] and resolved the issue), and the result is the fix for that -- D100844. Before applying the D100844, using the options from [0] (but with this patch applied) on the compilation of GDB 7.11, the final HTML report for the debug-info issues can be found at [1] (please scroll down, and look for "Summary of Variable Location Bugs"). After applying the D100844, the numbers has improved a bit -- please take a look into [2]. [0] https://llvm.org/docs/HowToUpdateDebugInfo.html#\ test-original-debug-info-preservation-in-optimizations [1] https://djolertrk.github.io/di-check-before-adce-fix/ [2] https://djolertrk.github.io/di-check-after-adce-fix/ Differential Revision: https://reviews.llvm.org/D100845 The Unit test was failing because the pass from the test that modifies the IR, in its runOnFunction() didn't return 'true', so the expensive-check configuration triggered an assertion.
-
Adrian Kuegel authored
Differential Revision: https://reviews.llvm.org/D102902
-
David Green authored
The Loop start instruction handled by the ARMLowOverheadLoops are: $lr = t2DoLoopStart $r0 $lr = t2DoLoopStartTP $r1, $r0 $lr = t2WhileLoopStartLR $r0, %bb, implicit-def dead $cpsr All three of these will have LR as the 0 argument, the trip count as the 1 argument. This patch updated a few places in ARMLowOverheadLoops where the 0th arg was being used for t2WhileLoopStartLR instructions as the trip count. One place was entirely removed as it does not seem valid any more, the case the code is trying to protect against should not be able to occur with our correct-by-construction low overhead loops. Differential Revision: https://reviews.llvm.org/D102620
-
Konrad Kleine authored
I noticed while packaging mlir that most mlir library names start with `libMLIR`. The only different libary was `libMlirLspServerLib.a`. That's why I changed the library to be similarly named to the others. Differential Revision: https://reviews.llvm.org/D102881
-
Jan Svoboda authored
In Apple Clang, enabling modules for C++ input requires additional flag: -fcxx-modules.
-
Vassil Vassilev authored
Some systems use a different data layout. For instance, s390x the layout of machines with vector registers is different from the ones without. In such cases, the JIT will automatically detect the vector registers and go out of sync. This patch tells the JIT what is the target triple of the generated code so that both ends are in sync. Discussion available in https://reviews.llvm.org/D96033. Thanks to @uweigand for helping understand the issue. Differential revision https://reviews.llvm.org/D102756
-
OCHyams authored
Update dexter tests to use the new line label reference syntax introduced in D101147. Updated with: https://gist.github.com/OCHyams/8255efe7757cac266440ed2ba55f1442 Reviewed By: chrisjackson, jmorse Differential Revision: https://reviews.llvm.org/D101148
-
OCHyams authored
This patch changes how line labels are resolved in order to enable label-relative offsets to be used in commands. This is a breaking change in dexter. Instead of using label references directly as argument values, labels will instead be referenced through a function `ref(str)`. // No way to use offsets currently. Currently: DexExpectWatchValue('x', '1', on_line='labled_line') Patched: DexExpectWatchValue('x', '1', on_line=ref('labled_line')) Patched: DexExpectWatchValue('x', '1', on_line=ref('labled_line') + 3) A dexter command is "parsed" by finding the whole command and sending it off to `eval`. This change adds a function called `ref` to the `eval` globals map that simply looks up the name and returns an int. If the line name hasn't been defined, or a name is defined more than once, an error is reported (see err_bad_label_ref.cpp and err_duplicate_label.cpp). Label offsets can be achieved by simply writing the desired expression. The rationale behind removing the existing label referencing mechanic is for consistency and to simplify the code required to make labels work. I've separated the update to llvm's dexter tests into another patch for ease of review here (D101148). Here is a small python script which can be used to update tests to use the new syntax: https://gist.github.com/OCHyams/8255efe7757cac266440ed2ba55f1442 If it helps anyone using dexter on downstream tests we can come up with a deprecation plan instead out outright removing the existing syntax. Reviewed By: jmorse Differential Revision: https://reviews.llvm.org/D101147
-
Daniel Rodríguez Troitiño authored
Other LLVM projects use the suffix `-depends` for the test dependencies, however LLDB uses `-deps` and seems to be the only project under the LLVM to do so. In order to make the projects more homogeneous, switch all the references to `lldb-test-deps` to `lldb-test-depends`. Additionally, provide a compatibility target with the old name and depending on the new name, in order to not break anyone workflow. Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D102889
-
Yevgeny Rouban authored
We can't declare unique_function that has in its arguments a reference to a template type with an incomplete argument. For instance, we can't declare unique_function<void(SmallVectorImpl<A>&)> when A is forward declared. This is because SFINAE will trigger a hard error in this case, when instantiating IsSizeLessThanThresholdT with the incomplete type. This patch specialize AdjustedParamT for references to remove this error. Committed on behalf of: @math-fehr (Fehr Mathieu) Reviewed By: DaniilSuchkov, yrouban
-
Igor Kudrin authored
This helps to distinguish such tests from successfully passed ones. Differential Revision: https://reviews.llvm.org/D102754
-
Igor Kudrin authored
This updates the googletest format to support tests that use GTEST_SKIP(), which is now available with the updated googletest framework. Differential Revision: https://reviews.llvm.org/D102694
-
Timm Bäder authored
Instead of ignoring flto=auto and -flto=jobserver, treat them as -flto and pass -flto=full along. Differential Revision: https://reviews.llvm.org/D102479
-
Vitaly Buka authored
It's still the slowest test under our emulator.
-
Xiang1 Zhang authored
-
Vitaly Buka authored
-
Christudasan Devadasan authored
The function `reduceOperationWidth` helps to legalize a vector operation either by narrowing its type or by scalarizing the operation itself. It currently supports instructions with one result. This patch, in addition allows the same for instructions with two results (for instance, G_SDIVREM). Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D100725
-
Serge Pavlov authored
Previously APFloat::convertToDouble may be called only for APFloats that were built using double semantics. Other semantics like single precision were not allowed although corresponding numbers could be converted to double without loss of precision. The similar restriction applied to APFloat::convertToFloat. With this change any APFloat that can be precisely represented by double can be handled with convertToDouble. Behavior of convertToFloat was updated similarly. It make the conversion operations more convenient and adds support for formats like half and bfloat. Differential Revision: https://reviews.llvm.org/D102671
-
Stanislav Mekhanoshin authored
I do not see any practical difference but technically used.* variables are internal and a call to getGlobalVariable misses true as a second argument. NFC as far as I can tell. Differential Revision: https://reviews.llvm.org/D102884
-
George Balatsouras authored
Reviewed By: stephan.yichao.zhao Differential Revision: https://reviews.llvm.org/D102898
-
George Balatsouras authored
This method is like StackTrace::Print but instead of printing to stderr it copies its output to a user-provided buffer. Part of https://reviews.llvm.org/D102451. Reviewed By: vitalybuka, stephan.yichao.zhao Differential Revision: https://reviews.llvm.org/D102815
-
Jinsong Ji authored
.byte supports string, so if the whole byte list are printable, we can actually print the string for readability and LIT tests maintainence. .byte 'H,'e,'l,'l,'o,',,' ,'w,'o,'r,'l,'d -> .byte "Hello, world" Reviewed By: hubert.reinterpretcast Differential Revision: https://reviews.llvm.org/D102814
-
Vitaly Buka authored
-
Vitaly Buka authored
If this happend we can't run corresponding test.
-
kuperxu authored
The dyld SPI used by debugserver (_dyld_process_info_create) has become much slower in macOS BigSur 11.3 causing a significant performance regression when attaching. This commit mitigates that by caching the result when calling the SPI to compute the platform. Differential revision: https://reviews.llvm.org/D102833
-