- Dec 13, 2022
-
-
Mitch Phillips authored
My local build is with -DLLVM_ENABLE_PROJECTS=lldb, but I don't compile with -DLLDB_ENABLE_PYTHON=True or -DLLDB_ENABLE_LUA=True. This results in there being no script interpreter. The test lldb/test/Shell/Breakpoint/breakpoint-command.test has an implicit dependency on a script interpreter being available. This patch makes that dependency clear. If you have a script interpreter, the test gets run, otherwise it gets skipped. This means that folks (like me) who naively use -DLLVM_ENABLE_PROJECTS=lldb can continue to run check-all without breakages. Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D139463
-
Roman Lebedev authored
This reducer runtime of ``` $ ./bin/llvm-exegesis -mode=inverse_throughput --opcode-index=-1 --benchmarks-file=/dev/null --dump-object-to-disk=0 --measurements-print-progress --skip-measurements ``` from 3m44s to 2m17s, aka -38%. But more importantly, we go from 400 *million* memory allocations down to just 100 million, aka -75%. But really, the big missing thing is doing everything in a single thread. Sure, we can't do anything when measuring, but when we are not measuring, we should just prepare (codegen) everything via all threads. That should parallelize quite well.
-
Roman Lebedev authored
We'd check the cost of the wrong 'cond', after potentially skipping `not`.
-
Mitch Phillips authored
The sanitizer backtrace is used in tests, and calling StackTrace.Print() means that it uses the sanitizer's Printf(), rather than GWP-ASan's Printf(). In the current code, GWP-ASan's Printf() *is* the sanitizer print, but this isn't guaranteed to be the case, and will change in an upcoming patch. Reviewed By: eugenis Differential Revision: https://reviews.llvm.org/D139748
-
Chi Chun Chen authored
This patch gives basic parsing and semantic support for "modifiers" of order clause introduced in OpenMP 5.1 ( section 2.11.3 ) Reviewed By: ABataev Differential Revision: https://reviews.llvm.org/D127855
-
Tom Eccles authored
Another attempt to skip the fast-math linker test on powerpc. The test has to be skipped because there is no crtfastmath.o on powerpc. Change recommended by Amy Kwan <amyk>. See https://reviews.llvm.org/D138675
-
Vasileios Porpodas authored
This is part of a series of cleanup patches towards making BasicBlock::getInstList() private. Differential Revision: https://reviews.llvm.org/D138877
-
Michael Jones authored
There were some tests added that attempted to access files after they were closed to test errno behavior, this caused sanitizer issues. Those portions of the tests have been disabled. Differential Revision: https://reviews.llvm.org/D139878
-
Guillaume Chatelet authored
This reverts commit 3bbfaee2.
-
Mike Urbach authored
This allows basic IR traversal via the C API, which is useful for analyses in languages other than C++. This starts by defining an MlirOpOperand struct to encapsulate a pair of an owner operation and an operand number. A new API is added for MlirValue, to return the first use of the Value as an MlirOpOperand, or a "null" MlirOpOperand if there are no uses. A couple APIs are added for MlirOpOperand. The first checks if an MlirOpOperand is "null", by checking if its owner's pointer is null. The second supports iteration along the use-def lists by accepting an MlirOpOperand and returning the next use of the Value as another MlirOpOperand, or a "null" MlirOpOperand if there are no more uses. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D139596
-
Michael Jones authored
Now errno is only set by the terminal entrypoints, and not the internal implementations. This patch is part of the larger effort to not set errno in libc internal code: https://github.com/llvm/llvm-project/issues/59278 Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D139576
-
Nicolas Vasilache authored
This fixes an issue where rank-reducing + fusion would not interop properly. Differential Revision: https://reviews.llvm.org/D139844
-
Felipe de Azevedo Piovezan authored
Apply the same strategy from D139217 to loop debug locations. Differential Revision: https://reviews.llvm.org/D139851
-
Felipe de Azevedo Piovezan authored
When a dbg.label is moved into a new function, its corresponding scope should be preserved, with the exception of the subprogram at the end of the scope chain, which should now be the subprogram of the destination function. See D139671. Differential Revision: https://reviews.llvm.org/D139849
-
Felipe de Azevedo Piovezan authored
dbg.labels that were inlined from other functions should have their scope preserved upon outlining for the same reasons described in D139669.
-
Haojian Wu authored
-
Tom Eccles authored
There seems not be any crtfastmath.o on powerpc. See https://reviews.llvm.org/D138675
-
Krzysztof Drewniak authored
The freeze builder did not assign the result of creating the freeze operation to $res, which meant that when subsequent translations (such as a sext) tried to use that result or query its type, mlir-translate would crash. This fixes the issue and adds a test for it. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D139574
-
Jakub Kuderski authored
To not introduce 64-bit types that may be difficult to handle for some targets. Reviewed By: rsuderman, antiagainst Differential Revision: https://reviews.llvm.org/D139777
-
Nikita Popov authored
Try to fix failure reported in https://reviews.llvm.org/rG9466b49171dc#1154213 by making the match more specific, as there are multiple dbg.declares that could be matched.
-
Kazu Hirata authored
We use LLVM_HAVE_TFLITE as the key to enable the mlgo work these days, and LLVM_HAVE_TF_API is defined whenever LLVM_HAVE_TF_API is defined. I'm posting this patch because it's purely mechanical. I'll post a follow-up patch to remove LLVM_HAVE_TF_API in non-C++ files, and that will not be as mechanical as this one. Differential Revision: https://reviews.llvm.org/D139863
-
Kazu Hirata authored
We use LLVM_HAVE_TFLITE as the key to enable the MLGO bits. We do not use the "else" clause. Differential Revision: https://reviews.llvm.org/D139860
-
Paul Robinson authored
Also add 'system-zos' as a lit feature and use it where needed. Part of the project to eliminate special handling for triples in lit expressions. Differential Revision: https://reviews.llvm.org/D139444
-
Kirill Stoimenov authored
Reviewed By: kda Differential Revision: https://reviews.llvm.org/D139727
-
Shoaib Meenai authored
We were previously ignoring weak externals during these searches (which are used for the entry point, exports, and subsystem inference), which differed from link.exe behavior. It also meant that we could get different behavior when linking an object file directly vs. packaging it into a static library, because static library symbol name directories include weak externals. Reviewed By: mstorsjo, yozhu Differential Revision: https://reviews.llvm.org/D139764
-
Nico Weber authored
-
Arthur Eubanks authored
This factors out the check from various callers. Reviewed By: Michael137 Differential Revision: https://reviews.llvm.org/D139649
-
Keith Smiley authored
Based on the discussion in https://reviews.llvm.org/D130221 and https://reviews.llvm.org/D139223 Differential Revision: https://reviews.llvm.org/D139347
-
Jordan Rupprecht authored
In general, the source tree is not assumed to be writeable, so modifying `%s` does not work for all CI systems. Instead of touching `%s`, copy it to a writeable dir using `%t`, and touch it there. Actually, `dr0xx.c` isn't really needed at all, so just create a new `dep.c` file in the build tree. This was recently added in cb088e8c, fixed in 1481fcf7, and fixed again in d16c5901.
-
Paul Robinson authored
Missed these on the first pass. Part of the project to eliminate special handling for triples in lit expressions.
-
Ye Luo authored
Differential Revision: https://reviews.llvm.org/D139856
-
Doru Bercea authored
-
Roman Lebedev authored
From https://reviews.llvm.org/rG46db90cc71d1#1154128
-
bixia1 authored
Add printMemref for complex data types and index type. Add printMemref for 1d type beyond f32. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D139475
-
Ellis Hoag authored
When merging profiles with multiple threads, the `mergeWriterContexts()` function is used to merge profile data between writers. This must be in sync with `loadInput()` which merges profiles to a single writer. This diff merges the profile kind correctly in `mergeWriterContexts()` to fix a subtle bug. Reviewed By: phosek Differential Revision: https://reviews.llvm.org/D139755
-
Siva Chandra Reddy authored
For the bazel build, we also build all source files with -fvisibility=hidden. Reviewed By: gchatelet Differential Revision: https://reviews.llvm.org/D139678
-
Philip Reames authored
For reductions, we need to put the start value into a source vector. For fractional LMULs, we can perform the operation at the original LMUL. For LMUL > 1, we eventually want to use a scalar insert, but that's outside the scope of this patch. Differential Revision: https://reviews.llvm.org/D139747
-
Jay Foad authored
This only affects the order of implicit operands in some MIR tests. Differential Revision: https://reviews.llvm.org/D139829
-
Steven Wu authored
Add declaration for NoneType in BitcodeConvenience.h.
-