This project is mirrored from https://github.com/llvm-doe-org/llvm-project.git.
Pull mirroring updated .
- 05 Jun, 2020 27 commits
-
-
Sam Parker authored
Use getMemoryOpCost from the generic implementation of getUserCost and have getInstructionThroughput return the result of that for loads and stores. This also means that the X86 implementation of getUserCost can be removed with the functionality folded into its getMemoryOpCost. Differential Revision: https://reviews.llvm.org/D80984
-
Tres Popp authored
-
Tres Popp authored
Summary: This will inline the region to a shape.assuming in the case that the input witness is found to be statically true. Differential Revision: https://reviews.llvm.org/D80302
-
Tres Popp authored
In the case of all inputs being constant and equal, cstr_eq will be replaced with a true_witness. Differential Revision: https://reviews.llvm.org/D80303
-
Tres Popp authored
This allows replacing of this op with a true witness in the case of both inputs being const_shapes and being found to be broadcastable. Differential Revision: https://reviews.llvm.org/D80304
-
Tres Popp authored
If any input to shape.any is a const_shape, shape.any can be replaced with that input. Differential Revision: https://reviews.llvm.org/D80305
-
Tres Popp authored
This allows assuming_all to be replaced when all inputs are known to be statically passing witnesses. Differential Revision: https://reviews.llvm.org/D80306
-
Tres Popp authored
This will later be used during canonicalization and folding steps to replace statically known passing constraints. Differential Revision: https://reviews.llvm.org/D80307
-
Alexander Belyaev authored
Differential Revision: https://reviews.llvm.org/D81194
-
Roman Lebedev authored
-
Hans Wennborg authored
After a180d540 the build was failing with: In file included from /work/llvm.monorepo/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp:9:0: /work/llvm.monorepo/clang/unittests/ASTMatchers/ASTMatchersTest.h: In function ‘llvm::ArrayRef<clang::TestLanguage> clang::ast_matchers::langCxx11OrLater()’: /work/llvm.monorepo/clang/unittests/ASTMatchers/ASTMatchersTest.h:64:10: error: could not convert ‘(const clang::TestLanguage*)(& Result)’ from ‘const clang::TestLanguage*’ to ‘llvm::ArrayRef<clang::TestLanguage>’ return Result; ^
-
Haojian Wu authored
Summary: A followup of D79938. Reviewers: sammccall Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D81066
-
Kazushi (Jam) Marukawa authored
Summary: Add AND/OR/XOR regression tests and separate bit-op tests from exisiting tests. Differential Revision: https://reviews.llvm.org/D81206
-
Vitaly Buka authored
-
Uday Bondhugula authored
Update linalg to affine lowering for convop to use affine load for input whenever there is no padding. It had always been using std.loads because max in index functions (needed for non-zero padding if not materializing zeros) couldn't be represented in the non-zero padding cases. In the future, the non-zero padding case could also be made to use affine - either by materializing or using affine.execute_region. The latter approach will not impact the scf/std output obtained after lowering out affine. Differential Revision: https://reviews.llvm.org/D81191
-
Jonas Devlieghere authored
This reverts commit c13dd74e.
-
Jonas Devlieghere authored
This reverts commit c57f8a3a.
-
Jan Kratochvil authored
-
Fangrui Song authored
Also assign OptInFFlag and OptOutFFlag to f_Group.
-
Max Kazantsev authored
This reverts commit 9bdb9188. This refactoring proved to not be useful.
-
Xing GUO authored
This patch addresses the comment in [D80972](https://reviews.llvm.org/D80972#inline-744217). Before this patch, the initial length field of .debug_aranges section should be declared as: ``` ## 32-bit DWARF debug_aranges: - Length: TotalLength: 0x20 Version: 2 ... ## 64-bit DWARF debug_aranges: - Length: TotalLength: 0xffffffff TotalLength64: 0x20 Version: 2 ... ``` After this patch: ``` ## 32-bit DWARF debug_aranges: - [[Format: DWARF32]] ## Optional Length: 0x20 Version: 2 ... ## 64-bit DWARF debug_aranges: - Format: DWARF64 Length: 0x20 Version: 2 ``` Current implementation of generating DWARF64 .debug_aranges section is buggy. A follow-up patch will improve it and add test cases for DWARF64. Reviewed By: jhenderson Differential Revision: https://reviews.llvm.org/D81063
-
Vitaly Buka authored
It's going to fail FunctionInfo lookup anyway.
-
Petr Hosek authored
It should not be necessary to use weak linkage for these. Doing so implies interposablity and thus PIC generates indirections and dynamic relocations, which are unnecessary and suboptimal. Aside from this, ASan instrumentation never introduces GOT indirection relocations where there were none before--only new absolute relocs in RELRO sections for metadata, which are less problematic for special linkage situations that take pains to avoid GOT generation. Patch By: mcgrathr Differential Revision: https://reviews.llvm.org/D80605
-
Fangrui Song authored
-
Richard Smith authored
trivial. We previously took a shortcut by assuming that if a subobject had a trivial copy assignment operator (with a few side-conditions), we would always invoke it, and could avoid going through overload resolution. That turns out to not be correct in the presenve of ref-qualifiers (and also won't be the case for copy-assignments with requires-clauses either). Use the same logic for lazy declaration of copy-assignments that we use for all other special member functions.
-
Richard Smith authored
before marking it complete. No functionality change intended.
-
Philip Reames authored
The assert was missed in 0e7c7705, migrating the test revealed the problem.
-
- 04 Jun, 2020 13 commits
-
-
Vedant Kumar authored
Summary: Cache the results from getMachineBasicBlocks in LexicalScopes to speed up UserValueScopes::dominates queries. This replaces the caching done in UserValueScopes. Compared to the old caching method, this reduces memory traffic when a VarLoc is copied (e.g. when a VarLocMap grows), and enables caching across basic blocks. When compiling sqlite 3.5.7 (CTMark version), this patch reduces the number of calls to getMachineBasicBlocks from 10,207 to 1,093. I also measured a small compile-time reduction (~ 0.1% of total wall time, on average, on my machine). As a drive-by, I made the DebugLoc in UserValueScopes a const reference to cut down on MetadataTracking traffic. Reviewers: jmorse, Orlando, aprantl, nikic Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D80957
-
River Riddle authored
This simplifies a lot of handling of BoolAttr/IntegerAttr. For example, a lot of places currently have to handle both IntegerAttr and BoolAttr. In other places, a decision is made to pick one which can lead to surprising results for users. For example, DenseElementsAttr currently uses BoolAttr for i1 even if the user initialized it with an Array of i1 IntegerAttrs. Differential Revision: https://reviews.llvm.org/D81047
-
Mircea Trofin authored
Reviewers: gkistanova, dblaikie Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D81046
-
Dan Gohman authored
As a followup to D62922, add a sysroot command-line option to this test to ensure that the output is independent of any default sysroot options, and adjust the reactor test to be more consistent with the command test.
-
Nicolas Vasilache authored
This revision adds a helper function to hoist alloc/dealloc pairs and alloca op out of immediately enclosing scf::ForOp if both conditions are true: 1. all operands are defined outside the loop. 2. all uses are ViewLikeOp or DeallocOp. This is now considered Linalg-specific and will be generalized on a per-need basis. Differential Revision: https://reviews.llvm.org/D81152
-
Jan Korous authored
Fixes https://bugs.llvm.org/show_bug.cgi?id=46177 Fixes second bug reported in https://bugs.llvm.org/show_bug.cgi?id=46142
-
Philip Reames authored
Now that we have an operand based form for the GC arguments to a statepoint intrinsic, update RS4GC to use it and update tests to reflect. This is pretty straight forward. I nearly landed without review, but figured a second set of eyes didn't hurt. Differential Revision: https://reviews.llvm.org/D81121
-
Petr Hosek authored
Follow the model used on Linux, where the clang driver passes the linker a -u switch to force the profile runtime to be linked in, rather than having every TU emit a dead function with a reference. Differential Revision: https://reviews.llvm.org/D79835
-
Petr Hosek authored
This reverts commit d5105421 since it broke several bots.
-
Julian Lettner authored
-
Vedant Kumar authored
- Change the reference to salvageDebugInfoOrUndef to salvageDebugInfo (in accordance with https://reviews.llvm.org/D78369). - Reorganize a few sections in preparation for an upcoming change that attempts to specify rules for updating debug locations. - Fix some intra-document links. - Some spelling / wording fixes.
-
Yuanfang Chen authored
Also add a link to it from ThinLTO.rst.
-
Alexey Bataev authored
-