- Apr 27, 2020
-
-
David Sherwood authored
Adding tests that I forgot to add as part of a previous change: https://reviews.llvm.org/D78636
-
Tres Popp authored
Summary: Order classes by purpose and alphabetically to make it slightly easier to read through the file. Reviewers: ftynse! Subscribers: mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, grosul1, frgossen, Kayjukh, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D78914
-
Momchil Velikov authored
`getHasRegParm()` was working under the assumption that the RegParm bits are the last field, which is no longer true, after adding the `NoCfCheck` and `CmseNSCall` fields. This causes a spurious "regparm 0" attribute to appear when a function type is declared with either `__attribute__((nocf_check))` or `__attribute__((cmse_nonsecure_call))`. Differential Revision: https://reviews.llvm.org/D77270
-
David Sherwood authored
Summary: When generating code for the LLVM IR zeroinitialiser operation, if the vector type is scalable we should be using SPLAT_VECTOR instead of BUILD_VECTOR. Differential Revision: https://reviews.llvm.org/D78636
-
Dmitri Gribenko authored
This reverts commit b46b1a91. It broke overload resolution for operator 'new' -- see reproducer in https://reviews.llvm.org/D77954.
-
David Green authored
There are some intrinsics like this that currently block tail predication, but should be fine. This allows fma through, as the one that I ran into. There may be others that need the same treatment but I've only done this one here. Differential Revision: https://reviews.llvm.org/D78385
-
Raphael Isemann authored
This code should always be executed, not just when building the debugserver on its own. Fixes the modules build when building LLVM+LLDB together.
-
Louis Dionne authored
This allows defining Lit features that can be enabled or disabled based on compiler support, and parameters that are passed on the command line. The main benefits are: - Feature detection is entirely based on the substitutions provided in the TestingConfig object, which is simpler and decouples it from the complicated compiler emulation infrastructure. - The syntax is declarative, which makes it easy to see what features and parameters are accepted by the test suite. This is significantly less entangled than the current config.py logic. - Since feature detection is based on substitutions, it works really well on top of the new format, and custom Lit configurations can be created easily without being based on `config.py`. Differential Revision: https://reviews.llvm.org/D78381
-
Pavel Labath authored
this is dead and non-functional code that hasn't been touched (modulo refactors) since it was checked in (as an "NFC, with no review and tests) in 2016. Anyone interested in adding darwin support to lldb-server can look this up in git history.
-
Simon Pilgrim authored
It was depending on CachedHashString.h providing the include.
-
Nico Weber authored
This reverts commit b160e9e5. 811c0c9e was reverted in 96717125.
-
Raphael Isemann authored
Summary: For some reason the TestExec test on the macOS bots randomly fails with this error: ``` output: * thread #2, stop reason = EXC_BAD_ACCESS (code=1, address=0x108e66000) * frame #0: 0x0000000108e66000 [...] File "/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/test/API/functionalities/exec/TestExec.py", line 25, in test_hitting_exec self.do_test(False) File "/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/test/API/functionalities/exec/TestExec.py", line 113, in do_test "Stopped at breakpoint in exec'ed process.") AssertionError: False is not True : Stopped at breakpoint in exec'ed process. Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/bin/clang-11 ``` I don't know why the test program is failing and I couldn't reproduce this problem on my own. This patch is a stab in the dark that just tries to make the test code more similar to code which we would expect in a user program to make whatever part of macOS happy that is currently not liking our code. The actual changes are: * We pass in argv[0] that is describing otherprog path instead of the current argv[0]. * We pass in a non-null envp (which anyway doesn't seem to be allowed on macOS man page). Reviewers: labath, JDevlieghere Reviewed By: labath Subscribers: abidh, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D75241 -
Simon Pilgrim authored
We don't need the full DenseMap.h just DenseMapInfo.h
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Dmitri Gribenko authored
This reverts commit 811c0c9e. It broke multiple buildbots.
-
Matthias Gehre authored
Summary: Before this PR, `modernize-use-using` would transform the typedef in ``` template <int A> struct InjectedClassName { typedef InjectedClassName b; }; ``` into `using b = InjectedClassName<A>;` and ``` template <int> struct InjectedClassNameWithUnnamedArgument { typedef InjectedClassNameWithUnnamedArgument b; }; ``` into `using b = InjectedClassNameWithUnnamedArgument<>;`. The first fixit is surprising because its different than the code before, but the second fixit doesn't even compile. This PR adds an option to the TypePrinter to print InjectedClassNameType without template parameters (i.e. as written). Reviewers: aaron.ballman, alexfh, hokein, njames93 Subscribers: xazax.hun, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D77979 -
Raphael Isemann authored
This overload is just an artifact from the original version of the patch, but doesn't have any functional purpose.
-
Marcel Koester authored
The latest changes of the Liveness analysis caused a warning related to an unused variable. This commit solves this warning. Differential Revision: https://reviews.llvm.org/D78912
-
Raphael Isemann authored
D78815 added a check that ensures that PassSupport.h and PassAnalysisSupport.h aren't included directly. However, as compiling this header into a module will try to parse it with a clean preprocessor state, this check is also triggered there. The check seems to make sense and it seems that compiling this header into its own module is a mistake, so this patch makes those two headers textual in the modulemap.
-
Simon Pilgrim authored
The insert(truncate/extend(extract(vec0,c0)),vec1,c1) case in rGacbc5ede wasn't combining the 'mineltsize' with the src vector elt size which may be smaller due to implicit extension during extraction. Reduced from test case provided by @mstorsjo
-
Sam Parker authored
Move ZExt/SExt load handling into the BasicTTI switch statement.
-
David Truby authored
Summary: This includes a refactor of the existing combined construct checks that were present, as well as adding the remaining combined constructs that had not been implemented yet. Reviewers: jdoerfert Subscribers: yaxunl, guansong, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D77812
-
David Truby authored
Reviewers: sscalpone Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D78578
-
Raphael Isemann authored
Summary: Overwritten file buffers are at the moment ignored when importing and instead only the underlying file buffer is imported. This patch fixes this by not going to the underlying file entry if the file has an overwritten buffer. Reviewers: martong, a.sidorin, shafik Reviewed By: martong, shafik Subscribers: rnkovacs Differential Revision: https://reviews.llvm.org/D78086
-
Sander de Smalen authored
Some ACLE builtins leave out the argument to specify the predicate pattern, which is expected to be expanded to an SV_ALL pattern. This patch adds the flag IsInsertOp1SVALL to insert SV_ALL as the second operand. Reviewers: efriedma, SjoerdMeijer Reviewed By: SjoerdMeijer Tags: #clang Differential Revision: https://reviews.llvm.org/D78401
-
Nico Weber authored
-
Balázs Kéri authored
Summary: Array size expressions in typedef statements with a VLA (variable-length array) are handled from now as in plain (non-typedef) VLA declarations. Type-aliases with VLA are handled too (but main focus is on C code). Reviewers: Szelethus, aaron.ballman, NoQ, xazax.hun Reviewed By: aaron.ballman, xazax.hun Subscribers: rnkovacs, NoQ, efriedma, xazax.hun, baloghadamsoftware, szepet, a.sidorin, mikhail.ramalho, Szelethus, donat.nagy, dkrupp, gamesh411, Charusso, martong, ASDenysPetrov, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D77809
-
Benjamin Kramer authored
Add the gsl::Pointer/gsl::Owner combo to ArrayRef and SmallVector so it can diagnose this common combo.
-
Julian Gross authored
Extended standard Alloc and Dealloc operations with memory-effect traits. Differential Revision: https://reviews.llvm.org/D78619
-
Sameer Sahasrabuddhe authored
-
Tres Popp authored
Summary: Previously operations like std.load created methods for obtaining their effects but did not inherit from the SideEffect interfaces when their parameters were decorated with the information. The resulting situation was that passes had no information on the SideEffects of std.load/store and had to treat them more cautiously. This adds the inheritance information when creating the methods. As a side effect, many tests are modified, as they were using std.load for testing and this oepration would be folded away as part of pattern rewriting. Tests are modified to use store or to reutn the result of the std.load. Reviewers: mravishankar, antiagainst, nicolasvasilache, herhut, aartbik, ftynse! Subscribers: mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, csigg, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, bader, grosul1, frgossen, Kayjukh, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D78802
-
sameeran joshi authored
Summary: Added support for doxygen-style documentation generation from source code. Added -DLLVM_ENABLE_DOXYGEN=ON -DFLANG_INCLUDE_DOCS=ON flags to cmake. Added the target doxygen-flang for building doxygen Updated README.txt Reviewers: DavidTruby, richard.barton.arm, sscalpone, mehdi_amini, jdoerfert Reviewed By: DavidTruby, richard.barton.arm, sscalpone Previous review: https://github.com/flang-compiler/f18/pull/1065 Differential Revision: https://reviews.llvm.org/D78136 -
Endre Fülöp authored
Summary: Add an option to enable on-demand parsing of needed ASTs during CTU analysis. Two options are introduced. CTUOnDemandParsing enables the feature, and CTUOnDemandParsingDatabase specifies the path to a compilation database, which has all the necessary information to generate the ASTs. Reviewers: martong, balazske, Szelethus, xazax.hun Subscribers: ormris, mgorny, whisperity, xazax.hun, baloghadamsoftware, szepet, rnkovacs, a.sidorin, mikhail.ramalho, Szelethus, donat.nagy, dkrupp, Charusso, steakhal, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D75665
-
David Green authored
hasNoSchedulingInfo should be used for Pseudo's and other instructions that are never expected to be scheduled. This removes the flag from new ARM instructions, instead fixing the A57 schedule by marking the related architecture features as unsupported.
-
David Green authored
When compiling for a arm5te cpu from clang, the +dsp attribute is set. This meant we could try and generate qadd8 instructions where we would end up having no pattern. I've changed the condition here to be hasV6Ops && hasDSP, which is what other parts of ARMISelLowering seem to use for similar instructions. Fixed PR45677. Differential Revision: https://reviews.llvm.org/D78877
-
Haojian Wu authored
Fixes https://github.com/clangd/clangd/issues/330 Reviewers: sammccall Tags: #clang Differential Revision: https://reviews.llvm.org/D78365
-
Louis Dionne authored
The tests were previously disabled entirely whenever availability markup was enabled. Instead, enable the tests but add the proper UNSUPPORTED markup.
-
Dmitri Gribenko authored
-
Aleksandr Urakov authored
[lldb][TypeSystemClang] Desugar an elaborated type before checking if it's a typedef or getting a typedefed type Summary: Sometimes a result variable of some expression can be presented as an elaborated type. In this case the methods `IsTypedefType()` and `GetTypedefedType()` of `SBType` didn't work. This patch fixes that. I didn't find the test for these API methods, so I added a basic test for this too. Reviewers: aprantl, teemperor, labath, leonid.mashinskiy Reviewed By: teemperor Subscribers: labath, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D78697
-