- Jul 14, 2020
-
-
Arthur Eubanks authored
Fixes 53 check-llvm tests under NPM. Reviewed By: asbirlea Differential Revision: https://reviews.llvm.org/D83633
-
LLVM GN Syncbot authored
-
Jan Korous authored
Array returned by LambdaExpr::capture_inits() can contain nullptrs. Differential Revision: https://reviews.llvm.org/D83438
-
Matt Arsenault authored
I almost regressed these, so add tests for them.
-
Mircea Trofin authored
Also compacted the checkpoints (variables) to one file (plus the index). This reduces the binary model files to just the variables and their index. The index is very small. The variables are serialized float arrays. When updated through training, the changes are very likely unlocalized, so there's very little value in them being anything else than binary.
-
Matt Arsenault authored
This was emitting the raw value for the reg class ID with a comment for the actual class name. Switch to emitting the qualified enum name instead, which obviates the need for the comment and also helps keep the lit tests on the emitter output more stable.
-
Matt Arsenault authored
The GlobalISelEmitter is stricter about matching timm instruction outputs to timm inputs (although in an accidental sort of way that doesn't hit a proper import failure error). Also, apparently no intrinsic patterns were importing since the ID enum declaration was missing.
-
Louis Dionne authored
Make sure we satisfy the requirements added by P0551, and add tests to enforce that.
-
Hiroshi Yamauchi authored
Differential Revision: https://reviews.llvm.org/D83331
-
LLVM GN Syncbot authored
-
Lang Hames authored
This patch generalizes the APIs for writing re-entry blocks, trampolines and stubs to allow their final linked address to differ from the address of their initial working memory. This will allow these routines to be used with JITLinkMemoryManagers, which will in turn allow for unification of code paths for in-process and cross-process lazy JITing.
-
Lang Hames authored
This will be used by upcoming patches that implement indirection utils (reentry, reentry trampolines, and stubs) on top of JITLinkMemoryManager to unify in-process and cross-process lazy compilation support.
-
Mircea Trofin authored
Summary: This is an experimental ML-based native size estimator, necessary for computing partial rewards during -Oz inliner policy training. Data extraction for model training will be provided in a separate patch. RFC: http://lists.llvm.org/pipermail/llvm-dev/2020-April/140763.html Reviewers: davidxl, jdoerfert Subscribers: mgorny, hiraditya, mgrang, arphaman, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D82817
-
Hiroshi Yamauchi authored
Differential Revision: https://reviews.llvm.org/D83330
-
Sanjay Patel authored
We have this generic transform in IR (instcombine), but as shown in PR41098: http://bugs.llvm.org/PR41098 ...the pattern may emerge in codegen too. x86 has a potential refinement/reversal opportunity here, but that should come later or needs a target hook to avoid the transform. Converting to bswap is the more specific form, so we should use it if it is available.
-
Sanjay Patel authored
-
Pavel Iliin authored
-
stevewan authored
Summary: The test fails on AIX as it allows open() and read() on a directory. This patch adds `# UNSUPPORTED: system-aix` to the test to prevent it from running on AIX. Reviewers: sameerarora101, daltenty, ShuhongL, hubert.reinterpretcast, MaskRay, smeenai, alexshap Reviewed By: sameerarora101, hubert.reinterpretcast, MaskRay, smeenai Subscribers: MaskRay, rupprecht, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83579
-
- Jul 13, 2020
-
-
Pavel Labath authored
The function does not modify this memory.
-
Sanne Wouda authored
Apparently, isIndirectCall does not imply that getCalledFunction will be non-null
-
David Truby authored
Simply move the include of unordered_map from the .cpp file to the .h file
-
Alexey Bataev authored
Summary: Need to privatize addresses of the captured variables when trying to emit the body of the target data directive in no target codegen mode. Reviewers: jdoerfert Subscribers: yaxunl, guansong, cfe-commits, sstefan1, caomhin Tags: #clang Differential Revision: https://reviews.llvm.org/D83478
-
Eric Astor authored
-
Pavel Labath authored
The function's reliance on host types meant that it was needlessly complicated, and did not handle the newer (wider) types. Rewrite it in terms of APInt/APFloat functions to save code and improve functionality.
-
Eric Astor authored
Summary: Add support for MASM STRUCT casting field accessors: (<TYPE> PTR <value>).<field> Since these are operands, we add them to X86AsmParser. If/when we extend MASM support to other architectures (e.g., ARM), we will need similar changes there as well. Reviewed By: thakis Differential Revision: https://reviews.llvm.org/D83346
-
Jinsong Ji authored
We should also pass down the LLVM_LIT_ARGS in runtime build mode, so that the runtime tests can be well controlled as well. We actually passed this down in clang/runtime/CMakeLists.txt But not for calls from llvm/runtime/CMakeLists.txt. Reviewed By: phosek Differential Revision: https://reviews.llvm.org/D83565
-
Eric Astor authored
Summary: Fix MASM support for nested unnamed STRUCTs and UNIONs Reviewed By: thakis Differential Revision: https://reviews.llvm.org/D83345
-
Eric Astor authored
Summary: Adds support for several accessors: - `[<identifier>.<struct name>].<field>` - `[<identifier>.<struct name>.<field>].<subfield>` (where `field` has already-defined STRUCT type) - `[<variable>.<field>].<subfield>` (where `field` has already-defined STRUCT type) Reviewed By: thakis Differential Revision: https://reviews.llvm.org/D83344
-
Pavel Labath authored
Summary: My understanding is that this was added to make dotest interact well with the GreenDragon bots, back when dotest was the main test driver. Now that everything goes through lit (which has its own xunit formatter), it seems largely irrelevant. There are more cleanups that can be done after removing this be done here, but this should be enough to test the waters. Reviewers: JDevlieghere Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D83545
-
Sanne Wouda authored
-
Sanne Wouda authored
Teaches the SLPVectorizer to use vectorized library functions for non-intrinsic calls. This already worked for intrinsics that have vectorized library functions, thanks to D75878, but schedules with library functions with a vector variant were being rejected early. - assume that there are no load/store dependencies between lib functions with a vector variant; this would otherwise prevent the bundle from becoming "ready" - check during legalization that the vector variant can be used - fix-up where we previously assumed that a call would be an intrinsic Differential Revision: https://reviews.llvm.org/D82550 -
Sanne Wouda authored
Prepare to land D82550
-
Sanne Wouda authored
Differential Revision: https://reviews.llvm.org/D83122
-
Georgii Rymar authored
This refines the test to use macros. It is needed for a follow-up change that adds a functionality to override more fields. Also, it is just cleaner to test each key separately. Differential revision: https://reviews.llvm.org/D83481
-
Raphael Isemann authored
-
Kirill Bobyrev authored
Summary: DocumentSymbol ranges were not previously tested and, as a result, had invalid end location. This patch addresses the issue. Reviewers: sammccall Reviewed By: sammccall Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D83668
-
Sanjay Patel authored
This carves out an exception for a pair of consecutive loads that are reversed from the consecutive order of a pair of stores. All of the existing profitability/legality checks for the memops remain between the 2 altered hunks of code. This should give us the same x86 base-case asm that gcc gets in PR41098 and PR44895: http://bugs.llvm.org/PR41098 http://bugs.llvm.org/PR44895 I think we are missing a potential subsequent conversion to use "movbe" if the target supports that. That might be similar to what AArch64 would use to get "rev16". Differential Revision: https://reviews.llvm.org/D83567
-
Sanjay Patel authored
This reverts commit 591a3af5. The commit message was cut off and failed to include the review citation.
-
Sanjay Patel authored
This carves out an exception for a pair of consecutive loads that are reversed from the consecutive order of a pair of stores. All of the existing profitability/legality checks for the memops remain between the 2 altered hunks of code. This should give us the same x86 base-case asm that gcc gets in PR41098 and PR44895:i http://bugs.llvm.org/PR41098 http://bugs.llvm.org/PR44895 I think we are missing a potential subsequent conversion to use "movbe" if the target supports that. That might be similar to what AArch64 would use to get "rev16". Differential Revision:
-
Sjoerd Meijer authored
This refactors option -disable-mve-tail-predication to take different arguments so that we have 1 option to control tail-predication rather than several different ones. This is also a prep step for D82953, in which we want to reject reductions unless that is requested with this option. Differential Revision: https://reviews.llvm.org/D83133
-