- Dec 23, 2022
-
-
Dmitri Gribenko authored
Reviewed By: merrymeerkat Differential Revision: https://reviews.llvm.org/D140620
-
Florian Hahn authored
This sets the stage for D133017 by moving out the code that performs VPlan based simplifications to a separate transform that takes the chosen VF & UF as arguments. The main advantage is that this transform runs before any changes to the CFG are being made. This allows using SCEV without worrying about making queries while the IR is in an incomplete state. Note that this patch switches the reasoning to use SCEV, but still only simplifies loops with constant trip counts. Using SCEV here is needed to access the backedge taken count, because the trip count IR value has not been created yet. Reviewed By: Ayal Differential Revision: https://reviews.llvm.org/D135017
-
serge-sans-paille authored
Revert "[clang] Use a StringRef instead of a raw char pointer to store builtin and call information" There are still remaining issues with GCC 12, see for instance https://lab.llvm.org/buildbot/#/builders/93/builds/12669 This reverts commit 5ce4e922.
-
Luke Drummond authored
A confusing comment after the last return statement in `NVPTXAsmPrinter::doFinalization` referred to a preprocessor macro (NVISA) that has never existed since the NVPTX backend has been a part of upstream llvm - as far as the pickaxe will tell me anyway. Thus I've removed it. Differential Revision: https://reviews.llvm.org/D140399
-
Matthias Springer authored
The greedy pattern rewriter consists of two nested loops. `config.maxIterations` (which configurable on the CanonicalizerPass) controls the maximum number of iterations of the outer loop. ``` /// This specifies the maximum number of times the rewriter will iterate /// between applying patterns and simplifying regions. Use `kNoLimit` to /// disable this iteration limit. int64_t maxIterations = 10; ``` This change adds `config.maxNumRewrites` which controls the maximum number of pattern rewrites within an iteration. (It effectively control the maximum number of iterations of the inner loop.) This flag is meant for debugging and useful in cases where one or multiple faulty patterns can be applied indefinitely, resulting in an infinite loop. Differential Revision: https://reviews.llvm.org/D140525
-
Nikita Popov authored
There is a minor codegen regression here (an extra and instruction). The reason is that CGP only eliminates fallthrough branches if it has made some other kind of change, and with opaque pointers that other change does not occur. Ideally, we should probably always try to eliminate fallthroughs, but this runs into the problem that performing a dummy fallthrough is a common pattern in tests for forcing SDAG to select them separately, so it's not quite that simple.
-
serge-sans-paille authored
This avoids recomputing string length that is already known at compile time. It has a slight impact on preprocessing / compile time, see https://llvm-compile-time-tracker.com/compare.php?from=3f36d2d579d8b0e8824d9dd99bfa79f456858f88&to=e49640c507ddc6615b5e503144301c8e41f8f434&stat=instructions:u This is a recommit of 719d98df with a change to llvm/utils/TableGen/OptParserEmitter.cpp to cope with GCC bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108158 Differential Revision: https://reviews.llvm.org/D139881
-
Florian Hahn authored
Add assertion to ensure the executed plan is valid for the selected VF and UF.
-
Haojian Wu authored
This crash is a combination of recovery-expr + new SemaInit.cpp code introduced by by https://reviews.llvm.org/D129531. Differential Revision: https://reviews.llvm.org/D140587
-
Dani Ferreira Franco Moura authored
Reviewed By: gribozavr2, merrymeerkat Differential Revision: https://reviews.llvm.org/D140483
-
Nikita Popov authored
-
serge-sans-paille authored
Revert "[clang] Use a StringRef instead of a raw char pointer to store builtin and call information" Failing builds: https://lab.llvm.org/buildbot#builders/9/builds/19030 This is GCC specific and has been reported upstream: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108158 This reverts commit 719d98df.
-
serge-sans-paille authored
This avoids recomputing string length that is already known at compile time. It has a slight impact on preprocessing / compile time, see https://llvm-compile-time-tracker.com/compare.php?from=3f36d2d579d8b0e8824d9dd99bfa79f456858f88&to=e49640c507ddc6615b5e503144301c8e41f8f434&stat=instructions:u Differential Revision: https://reviews.llvm.org/D139881
-
Lang Hames authored
HowToUseJIT describes the older APIs. We want to discourage their use in new projects.
-
Nikita Popov authored
As there have been a couple of questions about this recently, this gives a hard timeline on typed pointers support. Given that we are about a month away from LLVM 16 branching, I think we should retain best-effort typed pointer support in LLVM 16 even if we get all tests migrated before that point. Conversely, regardless of what the actual test migration state will be at that point, I believe we should un-support typed pointers as a matter of policy immediately after branching. Once release/16.x has been branched, typed pointers on main will no longer be supported (and can be actively broken). We only need to keep not-yet-migrated tests working, if there are any left at that point. Differential Revision: https://reviews.llvm.org/D140487
-
Nikita Popov authored
-
Nikita Popov authored
-
Nikita Popov authored
-
Nikita Popov authored
-
Nikita Popov authored
-
Nikita Popov authored
These were converted without adjustments.
-
Carlos Galvez authored
Since now the same matcher exists in ASTMatchers.
-
Nikita Popov authored
update_test_checks was rerun for some of those, because we use a different GEP representation with opaque pointers.
-
Nikita Popov authored
-
liqinweng authored
We shouldn't be checking things that are guaranteed by the op's verifier. Reviewed By: benshi001 Differential Revision: https://reviews.llvm.org/D140610
-
Craig Topper authored
Reduces the number of temporary APInts that get created and copy/moved from.
-
Carlos Galvez authored
Used in a couple clang-tidy checks so it could be extracted out as its own matcher. Differential Revision: https://reviews.llvm.org/D140328
-
Freddy Ye authored
Reviewed By: pengfei, skan Differential Revision: https://reviews.llvm.org/D140531
-
Siva Chandra Reddy authored
-
Vignesh Balasubramanian authored
It was disabled due to different failures it different llvm bots. Reviewed By: ye-luo Differential Revision: https://reviews.llvm.org/D138411
-
Craig Topper authored
This uses copy initialization instead of default constructing the APInts and assigning over them.
-
Siva Chandra Reddy authored
Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D140597
-
liqinweng authored
Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D139307
-
Chenbing Zheng authored
Add one more situations for this fold. For unsigned div, 'nsw' on both shifts + 'nuw' on the dividend. Alive2: https://alive2.llvm.org/ce/z/sELF76 Reviewed By: spatel Differential Revision: https://reviews.llvm.org/D139997
-
Amir Ayupov authored
The test has 3 invocations with 1M iterations each, which adds delay to fast check-bolt testing. Reduce the number to 1K. Reviewed By: #bolt, rafauler Differential Revision: https://reviews.llvm.org/D139651
-
Bastian Kersting authored
Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D126752
-
Vitaly Buka authored
-
Ben Shi authored
The 32-bit LDS/STS are not available on AVRTiny, so we have to use their compact 16-bit form for memory access. Reviewed By: aykevl Differential Revision: https://reviews.llvm.org/D139687
-
Ben Shi authored
LDS/STS are 32-bit instructions on AVR, which can access up to 64KB data space. While they are 16-bit instructions on AVRTiny, which can only access 128B data space. Reviewed By: aykevl Differential Revision: https://reviews.llvm.org/D139621
-
Nikolas Klauser authored
Reviewed By: Mordante, #libc Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D140480
-