- Oct 15, 2021
-
-
gbreynoo authored
Currently -W and --wide are treated as two options as they are only included for gnu readelf compatibility and ignored. This change makes -W an alias of --wide to be consistent with other option aliases. Differential Revision: https://reviews.llvm.org/D111731
-
Sanjay Patel authored
-
Raphael Isemann authored
-
Tomas Matheson authored
-
Frederic Cambus authored
Differential Revision: https://reviews.llvm.org/D111805
-
Abinav Puthan Purayil authored
The isU24() and isI24() calls numBits to make its decision. This change replaces them with the internal numBits call so that we can use its result for the > 32 bit width cases. Differential Revision: https://reviews.llvm.org/D111864
-
Max Fan authored
Polly is trying to move towards using isl::ast_expr / isl-noexceptions.h (which implements RAII) where possible instead of manually managing memory. checkIslAstExprInt manually frees Expr, so it has been removed to be more idiomatic and consistent. Reviewed By: Meinersbur Differential Revision: https://reviews.llvm.org/D111769
-
Michał Górny authored
-
Aaron Ballman authored
We were missing a null pointer check that a template parameter existed at all.
-
Guillaume Chatelet authored
This will help make sense of the double use of the same type in https://reviews.llvm.org/D111622#inline-1065560. Differential Revision: https://reviews.llvm.org/D111868
-
Dávid Bolvanský authored
Solves https://bugs.llvm.org/show_bug.cgi?id=52056 Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D111507
-
Mubashar Ahmad authored
This patch enables support for Cortex-A510 CPUs. Reviewed By: MarkMurrayARM, dmgreen Differential Revision: https://reviews.llvm.org/D109825
-
Abinav Puthan Purayil authored
This changes fixes a case in which the highest set bit of the original result is at bit 31 and sign-extending the mul24 for it would make the result negative. Differential Revision: https://reviews.llvm.org/D111823
-
Mikhail Dvorskiy authored
[pstl] Initial implementation of OpenMP backend, on behalf of Christopher Nelson nadiasvertex@gmail.com Phabricator Review: https://reviews.llvm.org/D99836 A couple of parallel patterns still remains serial - "Parallel partial sort", and "Parallel transform scan" - there are //TODOs in the code.
-
Michał Górny authored
-
Michał Górny authored
Fix a bug introduced while refactoring ABIAArch64::AugmentRegisterInfo() that caused subregisters to be added even if they were already present. Instead, abort immediately if at least one subregister is found (following ABIX86). While at it, add a test for that. Differential Revision: https://reviews.llvm.org/D111881
-
Bogdan Graur authored
headers from the latter. Differential Revision: https://reviews.llvm.org/D111876
-
Andrew Savonichev authored
This was committed as ec6c8471, but then reverted after a failure in: https://lab.llvm.org/buildbot/#/builders/84/builds/13983 I was not able to reproduce the problem, but I added an extra check for a NULL QualType just in case. Original comit message: The patch adds missing diagnostics for cases like: float F3 = ((__float128)F1 * (__float128)F2) / 2.0f; Sema::checkDeviceDecl (renamed to checkTypeSupport) is changed to work with a type without the corresponding ValueDecl. It is also refactored so that host diagnostics for unsupported types can be added here as well. Differential Revision: https://reviews.llvm.org/D109315
-
Michał Górny authored
Differential Revision: https://reviews.llvm.org/D108831
-
Michał Górny authored
Support specifying an offset for value_regs[0], and add the offset to the computed derived register offset. This makes it possible to e.g. create the "ah" register on x86. Differential Revision: https://reviews.llvm.org/D111489
-
Anton Afanasyev authored
Add lshr (sext i1 X to iN), C --> select (X, -1 >> C, 0) case. This expands C == N-1 case to arbitrary C. Fixes PR52078. Reviewed By: spatel, RKSimon, lebedev.ri Differential Revision: https://reviews.llvm.org/D111330
-
Anton Afanasyev authored
-
David Green authored
Similar to D111236, this improves the lowering of vector fptosi.sat and fptoui.sat, using legal converts and further saturating from there with min/max. f64 are excluded for the moment due to producing worse code in places compared to the unrolling. Differential Revision: https://reviews.llvm.org/D111787
-
djtodoro authored
This fixes https://bugs.llvm.org/show_bug.cgi?id=51652. The idea is to bump all the stat fields to 64-bit wide unsigned integers. I've confirmed this resolves the use case for chromium. Differential Revision: https://reviews.llvm.org/D109217
-
David Green authored
Improve the lowering of scalar fptosi.sat and fptoui.sat for saturating widths smaller than legal types by using the fact that the legal type will saturate under aarch64, and saturating the result further using min/max. Differential Revision: https://reviews.llvm.org/D111236
-
Louis Dionne authored
That script is what we (need to) use to build libc++ for the system configuration, so that's what we should test against. At some point we may be able to fold all of that logic into the CMake build, and when that happens the CI can go back to running CMake directly. As a fly-by fix, stop mentioning x86_64 in the names of the Apple jobs since they are not truly tied to any architecture. Differential Revision: https://reviews.llvm.org/D111865
-
John Brawn authored
The MOVCC peephole eliminates a MOVCC by making one of its inputs a conditional instruction, but when doing this it should be using both inputs of the MOVCC to decide on the register class to use as otherwise we can get an error when using -verify-machineinstrs. Differential Revision: https://reviews.llvm.org/D111714
-
djtodoro authored
There was no handling of uint64_t in the LLVM JSON library. This patch adds support for that. The motivation is the https://reviews.llvm.org/D109217. Differential Revision: https://reviews.llvm.org/D109347
-
Pavel Labath authored
The previous include was too broad, and its better if the host tests do not depend on non-host libraries.
-
Roland Fischer authored
[git-clang-format][PR46815] Add diffstat functionality Adding a --diffstat parameter to git-clang-format that essentially uses git diff --stat, i.e. lists the files needing formatting. This is useful for CI integration or manual usage where one wants to list the files not properly formatted. I use it for the Suricata project's github action (CI) integration that verifies proper formatting of a pull request according to project guidelines where it's very helpful to say which files are not properly formatted. I find the list of files much more useful than e.g. showing the diff in this case using git-clang-format --diff. An alternative would be to take an additional parameter to diff, e.g. git-clang-format --diff --stat The goal is not to provide the whole git diff --stat=... parameter functionality, just plain git diff --stat. Reviewed By: MyDeveloperDay, JakeMerdichAMD Differential Revision: https://reviews.llvm.org/D84375
-
mydeveloperday authored
[clang-format] [PR42014,PR52021] don't let clang-format assert/crash when file being formatted is read-only/locked This is a bug which gets reported from time to time and we've had multiple attempts to fix it, but don't want to fix it by adding frontEnd to the mix. This patch aim to find a trivial, but not that sophisticated way of emitting the error without the additional impact of adding libFrontEnd to clang-format. See {D90121} for analysis of why we don't want those previous attempts Reviewed By: HazardyKnusperkeks Differential Revision: https://reviews.llvm.org/D111815 -
guopeilin authored
Reviewed By: david-arm, sdesmalen Differential Revision: https://reviews.llvm.org/D110524
-
Dan Liew authored
rdar://83637067
-
Jim Lin authored
Reviewed By: craig.topper, jrtc27 Differential Revision: https://reviews.llvm.org/D110308
-
Andrew Young authored
This adds a new parser and printer for text which may be a keyword or a string. When printing, it will attempt to print the text as a keyword, but if it has any special or non-printable characters, it will be printed as an escaped string. When parsing, it will parse either a valid keyword or a potentially escaped string. The printer allows for an empty string, in which case it prints `""`. This new function is used for printing the name in NamedAttributes, and for printing the symbol name after the `@`. In CIRCT we are using this to print module port names, which are conceptually similar to named function arguments. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D111683
-
Jason Molenda authored
When DynamicLoaderMacOS::SetNotificationBreakpoint sets the breakpoint for new binaries being loaded/unloaded, it limits the scope of that breakpoint to just dyld, so we don't re-evaluate the breakpoint for every new binary loaded. I wrote this to get the module's ObjectFile FileSpec in an earlier change, but this is not correct. If lldb is debugging a remote system, and it had to read dyld out of memory from the remote system, it will have no FileSpec on the lldb debugger host. We need to grab the Module's FileSpec, which in this case is actually falling back to the PlatformFileSpec, the binary path on the target system. rdar://84199646
-
Shao-Ce SUN authored
-
Ben Shi authored
Use SH1ADD/SH2ADD/SH3ADD along with LUI+ADDI to compose int32*3, int32*5 and int32*9. Reviewed By: craig.topper, luismarques Differential Revision: https://reviews.llvm.org/D111484
-
Kazu Hirata authored
-
Max Kazantsev authored
This patch teaches SCEV two implication rules: x <u y && y >=s 0 --> x <s y, x <s y && y <s 0 --> x <u y. And all equivalents with signs/parts swapped. Differential Revision: https://reviews.llvm.org/D110517 Reviewed By: nikic
-