- Aug 12, 2021
-
-
David Spickett authored
Previously I xfailed this but it's only failing in stage 2 so we get xpasses for stage 1. Disable it completely.
-
Cullen Rhodes authored
The register classes are generated by TableGen, use them instead of handwritten tables. Reviewed By: david-arm Differential Revision: https://reviews.llvm.org/D107763
-
Fangrui Song authored
-
Krasimir Georgiev authored
A follow-up to https://github.com/llvm/llvm-project/commit/f6bc614546e169bb1b17a29c422ebace038e6c62 where we handle the case where the semicolon is followed by a trailing comment. Reviewed By: MyDeveloperDay Differential Revision: https://reviews.llvm.org/D107907
-
Dmitry Vyukov authored
AppMemBeg was renamed to LoAppMemBeg in 3830c934 ("tsan: rename kAppMemBeg to kLoAppMemBeg"). Rename remaining uses of the old name in tsan_platform_mac.cpp. Differential Revision: https://reviews.llvm.org/D107948
-
Fangrui Song authored
Alpine enables PIE by default.
-
Walter Erquinigo authored
Follow up on https://reviews.llvm.org/D105741 - Add new test that exhaustively checks the output file's content - Fix typos in documentation and other minor fixes Reviewed By: wallace Original Author: jj10306 Differential Revision: https://reviews.llvm.org/D107674
-
Christudasan Devadasan authored
Originally committed as ffc3fb66 Reverted in fcf2d5f4 due to an assertion failure. Original commit message: Allow the folding even if there is an intervening bitcast. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D106667
-
Daniel Kolesa authored
-
Jason Molenda authored
-
Jason Molenda authored
These two tests, TestSkinnyCorefile.py and TestStackCorefile.py, require a new debugserver on darwin systems to run correctly; for now, skip them if the system debugserver is in use. There's no easy way to test if the debugserver being used supports either of these memory region info features. For end users, the fallback will be a full corefile and that's not the worst thing, but for the tests it is a problem.
-
Amara Emerson authored
These rules were originally written when the new predicate based legalizer was introduced in an attempt to preserve existing behaviour. It wasn't properly kept up to date as things like vector support was split out into G_CONCAT_VECTORS, and frankly, even if it was, it was too complex. It's much easier to start from scratch with what we can actually support, which is just a few type combinations. Anything illegal we should either legalize, or should be eliminated as a side effect of artifact combination. Differential Revision: https://reviews.llvm.org/D107937
-
Michael Jones authored
This change adds the stroll function, but most of the implementation is in the new file str_conv_utils.h since many of the other integer conversion functions are implemented through what are effectively calls to strtoll. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D107792
-
Tyler Augustine authored
This can be useful when one needs to know which unrolled iteration an Op belongs to, for example, conveying noalias information among memory-affecting ops in parallel-access loops. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D107789
-
wlei authored
Currently we use a centralized string map(StringMap<FunctionSamples> ProfileMap) to store the profile while populating the sample, which might cause the memory usage bottleneck. I saw in an extreme case, there are thousands of samples whose context stack depth is >= 100. The memory consumption can be greater than 100GB. As here the context is used for inlining, we can assume we won't have so many of inlinees keeping inlined at the same root function, so this change tried to cap the context stack and merge the samples for peak memory reduction and this is done after recursion compression. The default value is -1 meaning no depth limit, in the future we can tune to a smaller one. Reviewed By: hoy, wenlei Differential Revision: https://reviews.llvm.org/D107800
-
Benjamin Kramer authored
No longer needed after c1ebefdf
-
Mehdi Amini authored
-
Jonas Devlieghere authored
BOOL is bool instead of signed char on ARM. See https://reviews.llvm.org/D93421#inline-874116 for details.
-
Usman Nadeem authored
The assertion can fail in some cases when an i16 constant is promoted to i32. e.g. in the added test case the value `i16 -32768` is within the range of i16 but the assert fails when the constant is promoted to positive `i32 32768` by an earlier call to DAG.getConstant(). Differential Revision: https://reviews.llvm.org/D107880 Change-Id: I2f6179783cbc9630e6acab149a762b43c65664de
-
Jonas Devlieghere authored
The benefit of using assertIn is an improved error message when the assertion fails: AssertionError: False is not True becomes AssertionError: 'have ints 5 20 20 5' not found in '""'
-
Jonas Devlieghere authored
All TestConcurrent.* tests that involve watchpoints are broken on ARM-based Darwin platforms, including Apple Silicon. rdar://81811539
-
Jonas Devlieghere authored
-
Louis Dionne authored
This is a workaround until https://reviews.llvm.org/D81892 is merged and the internal Lit shell stops conflating error output with normal output. Without this, any program that writes to stderr will trip up the programOutput function, because it will pick up the '# command stderr:' string and think it's part of the command's stdout. rdar://81056048 Differential Revision: https://reviews.llvm.org/D107912
-
Louis Dionne authored
All supported compilers implement __builtin_addressof. Even MSVC implements addressof as a simple call to __builtin_addressof, so it would work if we were to port libc++ to that compiler. Differential Revision: https://reviews.llvm.org/D107905
-
Amara Emerson authored
-
Akira Hatanaka authored
release call findSafeStoreForStoreStrongContraction checks whether it's safe to move the release call to the store by inspecting all instructions between the two, but was ignoring retain instructions. This was causing objects to be released and deallocated before they were retained. rdar://81668577
-
Jonas Devlieghere authored
Include macosx in the list of operating systems for which this is broken on arm64. rdar://34027183
-
Jason Molenda authored
Add a field to the qMemoryRegionInfo packet where the remote stub can describe the type of memory -- heap, stack. Keep track of memory regions that are stack memory in lldb. Add a new "--style stack" to process save-core to request that only stack memory be included in the corefile. Differential Revision: https://reviews.llvm.org/D107625
-
Emilio Cota authored
c1ebefdf "[mlir] Make polynomial approximation emit std instead of LLVM ops" removed the dependence on LLVMDialect. Remove the dependence also from BUILD.bazel. Reviewed By: bkramer Differential Revision: https://reviews.llvm.org/D107908
-
peter klausler authored
A repeated null value at the end of an input record with a count > 1 would incorrectly advance to the next record when resumed. Fix. Improve some poor naming and code flow noticed while debugging, so next time will be easier. Extend a unit test to check this case. Differential Revision: https://reviews.llvm.org/D107917
-
peter klausler authored
Differential Revision: https://reviews.llvm.org/D107916
-
Stefan Pintilie authored
We do not want to define __PRIVILEGED__. There is no use case for the definition and gcc does not define it. This patch removes that definition. Reviewed By: lei, NeHuang Differential Revision: https://reviews.llvm.org/D107461
-
Aart Bik authored
Differential Revision: https://reviews.llvm.org/D107915
-
Reid Kleckner authored
As of https://reviews.llvm.org/D104431, the test suite runs llvm-profdata, so it must be added to the list of deps.
-
Reid Kleckner authored
We can hoist the check for the dllexport attribute to before the check if this is a static data member or method.
-
Usman Nadeem authored
experimental.vector.reverse(splat(X)) -> splat(X) Differential Revision: https://reviews.llvm.org/D107793 Change-Id: Id29ba88fd669ff8686712e96b1bdc46dda5b853c -
Rong Xu authored
This patch adds Pass1 of MIRADDFSDiscriminatorsPass before register allocation, and Pass2 of MIRAddFSDiscriminatorsPass before Block-Placement. This is still under --enable-fs-discrmininator option (default false). This would reduce the turn-around time for FSAFDO transition. Differential Revision: https://reviews.llvm.org/D104579
-
Rob Suderman authored
Existing linalg.conv2d is not well optimized for performance. Changed to a version that is more aligned for optimziation. Include the corresponding transposes to use this optimized version. This also splits the conv and depthwise conv into separate implementations to avoid overly complex lowerings. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D107504
-
Arthur O'Dwyer authored
efriedma noted that D104682 broke this test case, reduced from SPEC2006. #include <istream> bool a(std::istream a) { return a.getline(0,0) == 0; } We can unbreak it by restoring the conversion to something-convertible-to-bool. We chose `void*` in order to match libstdc++. For more ancient history, see PR19460: https://bugs.llvm.org/show_bug.cgi?id=19460 Differential Revision: https://reviews.llvm.org/D107663 -
Raphael Isemann authored
As pointed out by David in D103172 (thanks!) Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D106743
-