This project is mirrored from https://github.com/llvm-doe-org/llvm-project.git.
Pull mirroring updated .
- 25 Jun, 2020 6 commits
-
-
River Riddle authored
This helps improve the readability when scrolling through the many functions of ConversionPatternRewriterImpl.
-
HazemAbdelhafez authored
Add Transpose operation to SPIRV dialect. Differential Revision: https://reviews.llvm.org/D82308
-
Amara Emerson authored
Some sequences of optimizations can generate call sites which may never be executed during runtime, and through constant propagation result in dynamic allocas being converted to static allocas with very large allocation amounts. The inliner tries to move these to the caller's entry block, resulting in the stack limits being reached/bypassed. Avoid inlining functions if this would result. The threshold of 64k currently doesn't get triggered on the test suite with an -Os LTO build on arm64, care should be taken in changing this in future to avoid needlessly pessimising inlining behaviour. Differential Revision: https://reviews.llvm.org/D81765
-
River Riddle authored
This revision adds a new support header, InterfaceSupport, to contain various generic bits of functionality for implementing "Interfaces". Interfaces embody a mechanism for attaching concept-based polymorphism to a type system. With this refactoring a new InterfaceMap type is added to allow for efficient interface lookups without going through an indirect call. This should provide a decent performance speedup without changing the size of AbstractOperation. In a future revision, this functionality will also be used to bring Interface like functionality to Attributes and Types. Differential Revision: https://reviews.llvm.org/D81882
-
Xing GUO authored
The 'Descriptor' field of .debug_gnu_pubnames and .debug_gnu_pubtypes section should be 1-byte rather than 4-byte. This patch helps resolve this issue.
-
Rahul Joshi authored
Differential Revision: https://reviews.llvm.org/D82489
-
- 24 Jun, 2020 34 commits
-
-
Davide Italiano authored
Again, debugging doesn't work on the new platform without this, so it's implicitly covered by the testsuite.
-
Davide Italiano authored
This makes "target create /bin/ls" properly detect which platform is needed when running lldb. Covered by many tests in the suite.
-
Jonas Devlieghere authored
I was holding off on this change until we moved to C++14 as to not have to convert llvm::make_unique to std::make_unique. That happened a while ago so here's the first patch for the API which had a bunch of raw `new`s.
-
Fangrui Song authored
[unittest] Fix FrontendTests CanGenerateCC1CommandLineFlag when LLVM_DEFAULT_TARGET_TRIPLE is not normalized after D79796 `TargetOpts->Triple` is initialized as llvm::sys::getDefaultTargetTriple() which may not be normalized. If LLVM_DEFAULT_TARGET_TRIPLE is powerpc64le-linux-gnu, we should check check `-triple powerpc64le-linux-gnu`, instead of (normalized) `-triple powerpc64le-unknown-linux-gnu`
-
Kirill Naumov authored
This patch enables printing of constants to see which instructions were constant-folded. Needed for tests and better visiual analysis of inliner's work. Reviewers: apilipenko, mtrofin, davidxl, fedor.sergeev Reviewed By: mtrofin Differential Revision: https://reviews.llvm.org/D81024
-
Sam McCall authored
Summary: This confusion was inadvertently introduced in a change to the heavyweight_hardware_concurrency API: 8404aeb5 - don't indirect through the rebuilder policy when building the thread pool - document that rebuilder thresholds are exposed for testing only - don't use 0 as a sentinel value for "all threads", as we use it as a sentinel value for "synchronous" (though unsupported for BackgroundIndex) - rather than pick some new sentinel value, just always use 4 threads for tests Reviewers: kadircet, aganea Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D82352
-
Fangrui Song authored
Reviewed By: wenlei, hoyFB Differential Revision: https://reviews.llvm.org/D82500
-
Scott Linder authored
Summary: The printer seems to intend to not print the trailing comma but has a copy-paste error for the last value in the escape, and the parser enforces having no trailing comma, but somehow a test was never included to actually confirm it. Reviewers: thegameg, arsenm Reviewed By: thegameg, arsenm Subscribers: wdng, arsenm, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D82478
-
LLVM GN Syncbot authored
-
Roman Lebedev authored
-
Roman Lebedev authored
Provided test case crashes otherwise. Much like to the opposite case.
-
Roman Lebedev authored
Provided test case crashes otherwise. If NewTy is already DL.getIntPtrType(NewTy), CreateBitCast() won't actually create any bitcast, so we are better off just doing the general thing.
-
Roman Lebedev authored
[IR] GetUnderlyingObject(), stripPointerCastsAndOffsets(): don't crash on `bitcast <1 x i8*> to i8*` I'm not sure how to write standalone tests for each of two changes here. If either one of these two fixes is missing, the test fill crash.
-
Roman Lebedev authored
Even if we know that RHS of a bitcast is a pointer, we can't assume LHS is, because it might be a single-element vector of pointer.
-
Roman Lebedev authored
This makes it usable from outside of SCEV, while previously it was internal to the ScalarEvolution.cpp In particular, i want to use it in an WIP alloca promotion helper pass, to analyze if some SCEV is a multiple of some other SCEV.
-
Guillaume Chatelet authored
This reverts commit 39819ccd.
-
Yuanfang Chen authored
The dependency was introduced in 5134020e. The only functional change from this removal would be the new PM interface for the two codegen passes. This is not necessary since we don't have codegen pipeline using new PM yet. This removal is to break the potential circular dependency between Passes and CodeGen once the codegen begins to gain new PM support.
-
Guillaume Chatelet authored
-
Mitch Phillips authored
Patch has a memory leak bug that broke the ASan buildbots. More info available at: https://reviews.llvm.org/D80330 This reverts commit b5740105.
-
Stefan Agner authored
The ARM ARM considers p10/p11 valid arguments for MCR/MRC instructions. MRC instructions with p10 arguments are also used in kernel code which is shared for different architectures. Turn usage of p10/p11 to warnings for ARMv7/ARMv8-M. Reviewers: rengolin, olista01, t.p.northover, efriedma, psmith, simon_tatham Reviewed By: simon_tatham Subscribers: hiraditya, danielkiss, jcai19, tpimh, nickdesaulniers, peter.smith, javed.absar, kristof.beyls, jdoerfert, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D59733
-
Kirill Naumov authored
This class allows to see the inliner's decisions for better optimization verifications and tests. To use, use flag "-passes="print<inline-cost>"". This is the second attempt to integrate the patch. The problem from the first try has been discussed and fixed in D82205. Reviewers: apilipenko, mtrofin, davidxl, fedor.sergeev Reviewed By: mtrofin Differential revision: https://reviews.llvm.org/D81743
-
Mehdi Amini authored
Right now it just catches arcanist noisy tags, and include a script to automatically clean these. Follow up on http://lists.llvm.org/pipermail/llvm-dev/2019-December/137848.html Differential Revision: https://reviews.llvm.org/D80978
-
Amy Kwan authored
This patch implements builtins for the following prototypes: unsigned long long __builtin_cntlzdm (unsigned long long, unsigned long long) unsigned long long __builtin_cnttzdm (unsigned long long, unsigned long long) vector unsigned long long vec_cntlzm (vector unsigned long long, vector unsigned long long) vector unsigned long long vec_cnttzm (vector unsigned long long, vector unsigned long long) Differential Revision: https://reviews.llvm.org/D80941
-
Martin Storsjö authored
-
Fangrui Song authored
llvm/include/llvm/TextAPI/MachO/ inappropriately uses the llvm::MachO namespace (this is for BinaryFormat and Object) and causes conflicts in some MSVC builds:: http://lab.llvm.org:8011/builders/sanitizer-windows/builds/65324/steps/stage%201%20build/logs/stdio Removing `using namespace llvm::MachO` should decrease name collisions.
-
Jinsong Ji authored
-
Christopher Tetreault authored
Reviewers: efriedma, jdoerfert, sdesmalen, kmclaughlin Reviewed By: efriedma, jdoerfert Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D82219
-
Davide Italiano authored
I'm probably going to rewrite this function anyway, but, in the meanwhile.
-
dfukalov authored
Summary: Get back `const` partially lost in one of recent changes. Additionally specify explicit qualifiers in few places. Reviewers: samparker Reviewed By: samparker Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D82383
-
Raphael Isemann authored
-
Kirill Naumov authored
For the upcoming changes, we need to have an ability to dump InlineCostCallAnalyzer info in non-debug builds as well. Reviewed-By: mtrofin Differential Revision: https://reviews.llvm.org/D82205
-
Sanjay Patel authored
As discussed in D80801, there's a possible overstep in what is allowed by the 'contract' fast-math-flag.
-
Erich Keane authored
-