- Apr 05, 2022
-
-
LLVM GN Syncbot authored
-
Nikolas Klauser authored
Reviewed By: ldionne, var-const, #libc Spies: libcxx-commits, mgorny Differential Revision: https://reviews.llvm.org/D122173
-
David Carlier authored
Reviewers: vitalybuka Reviewed-By: vitalybuka Differential Revision: https://reviews.llvm.org/D122962
-
Alex Zinenko authored
Add the description textual field to the Attr ODS class to mirror an identical field in the Type ODS class. Add support for generating documentation for attribute constraints defined using this field. This ensures mlir-tblgen produces at least some documentation for dialects that only define attribute constraints, such as DLTI. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D123024
-
LLVM GN Syncbot authored
-
Jonas Paulsson authored
getExtAttrForI32Param() is the method to be used for determining the type of extension attribute (if any) that is to be added for a signed/unsigned argument. Previously, the SExt attribute was always added to the i32 ldexp* argument as it was expected to be ignored by targets not needing it. This patch now changes this so that it is only added for the targets that need it in the first place. Putchar() argument is now also extended as required by the target (SystemZ in the test), to fix the issue below. Many more libcalls will be handled similarly in a following patch. Fixes https://github.com/llvm/llvm-project/issues/54532. Differential Revision: https://reviews.llvm.org/D123030 Review: Eli Friedman
-
Andrzej Warzynski authored
Any header or module file in the Flang source directory is of no use to the compiler unless it is copied into the build directory. Indeed, all compiler search paths are relative to the compiler executable (flang-new in our case). Hence, "omp_lib.h" should be copied into the build directory alongside other compiler-provided files that can be "included" (header files) or "used" (module files). For now, "omp_lib.h" is copied into "<build-dir>/include/flang/OpenMP". We may decide to change this in future. For example, Clang copies a bunch of runtime headers into “<build-dir>/lib/clang/<version-number>”. We could also consider using a similar header from a different sub-project. Flang's driver search path is updated accordingly. A rule for "installing" the "omp_lib.h" header is _yet to be added_ (we will also need to determine the suitable location for this). Differential Revision: https://reviews.llvm.org/D122015
-
Mehdi Amini authored
-
Nikita Popov authored
This adds cc1 options for enabling and disabling opaque pointers on the clang side. This is not super useful now (because -mllvm -opaque-pointers and -Xclang -opaque-pointers have the same visible effect) but will be important once opaque pointers are enabled by default in clang. In that case, it will only be possible to disable them using the cc1 -no-opaque-pointers option. Differential Revision: https://reviews.llvm.org/D123034
-
Alexander Belyaev authored
-
Muhammad Omair Javaid authored
This reverts commit 980c3e6d. This commit had failing tests with clang crashing across various AArch64/Linux buildots. https://lab.llvm.org/buildbot/#/builders/179/builds/3346 Differential Revision: https://reviews.llvm.org/D114545
-
Alexander Belyaev authored
Differential Revision: https://reviews.llvm.org/D122666
-
Adrian Kuegel authored
-
Max Kazantsev authored
Less computations & early exit if we know for sure that the limit will be exceeded.
-
Evgeniy Brevnov authored
Transforms/Utils/MemTransferLowerTest
-
Simon Pilgrim authored
Revert rG5adc94bb "New regression test against expandMemCpyAsLoop utility" This was causing link errors on buildbots (and locally)
-
Luboš Luňák authored
Differential Revision: https://reviews.llvm.org/D123001
-
Luboš Luňák authored
Since the threads/frame view is taking only a small part on the right side of the screen, only a part of the function name of each frame is visible. It seems rather wasteful to spell out 'frame' there when it's obvious that it is a frame, it's better to use the space for more of the function name. Differential Revision: https://reviews.llvm.org/D122998
-
Luboš Luňák authored
It's rather annoying if it's there after every startup, and that 'Help (F6)' at the top should be enough to help people who don't know. Differential Revision: https://reviews.llvm.org/D122997
-
Maksim Panchenko authored
Remove header dependency from cross-platform test. Reviewed By: yota9 Differential Revision: https://reviews.llvm.org/D123107
-
Evgeniy Brevnov authored
Unit test for functionality going to be added by D118441 Differential Revision: https://reviews.llvm.org/D118440
-
Min-Yih Hsu authored
The `move` instruction has one of the most complicate sets of variants, so we're refactoring it first before finishing up rest of the data instructions in a separate patch. Note that since we're introducing more `move` variants, the codegen actually got improved in terms of code size.
-
Maksim Panchenko authored
Check for supported target architecture instead of the host arch when deciding to execute non-runtime tests. Reviewed By: Amir Differential Revision: https://reviews.llvm.org/D122498
-
Maksim Panchenko authored
Use target-specific flags for building X86 non-runnable tests. Reviewed By: Amir Differential Revision: https://reviews.llvm.org/D123072
-
Brad Smith authored
Generic_GCC::IsIntegratedAssemblerDefault() already takes care of RISCV. Reviewed By: kito-cheng, MaskRay Differential Revision: https://reviews.llvm.org/D123097
-
Wei Xiao authored
Current implementation only recognizes absolute operation implemented by select instruction. This patch adds support for abs intrinsic. Differential Revision: https://reviews.llvm.org/D122777
-
wren romano authored
This change introduces two new methods: `finalizeSegment` and `appendIndex`; and removes three old methods: `endDim`, `appendCurrentPointer`, `appendIndex`. The two new methods better encapsulate their algorithms, thus allowing to remove repetitious code in several other places. Depends On D122435 Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D122625
-
Volodymyr Sapsai authored
Without the fix ivars with anonymous types can trigger errors like > error: 'TestClass::structIvar' from module 'Target' is not present in definition of 'TestClass' provided earlier > [...] > note: declaration of 'structIvar' does not match It happens because types of ivars from different modules are considered to be different. And it is caused by not merging anonymous `TagDecl` from different modules. To fix that I've changed `serialization::needsAnonymousDeclarationNumber` to handle anonymous `TagDecl` inside `ObjCInterfaceDecl`. But that's not sufficient as C code inside `ObjCInterfaceDecl` doesn't use interface decl as a decl context but switches to its parent (TranslationUnit in most cases). I'm changing that to make `ObjCContainerDecl` the lexical decl context but keeping the semantic decl context intact. Test "check-dup-decls-inside-objc.m" doesn't reflect a change in functionality but captures the existing behavior to prevent regressions. rdar://85563013 Differential Revision: https://reviews.llvm.org/D118525
-
Michael Kruse authored
Add ics file for biweekly loop optimization meeting. Reviewed By: #loopoptwg, bmahjour Differential Revision: https://reviews.llvm.org/D120343
-
Arjun P authored
Add support for computing the symbolic integer lexmin of a polyhedron. This finds, for every assignment to the symbols, the lexicographically minimum value attained by the dimensions. For example, the symbolic lexmin of the set `(x, y)[a, b, c] : (a <= x, b <= x, x <= c)` can be written as ``` x = a if b <= a, a <= c x = b if a < b, b <= c ``` This also finds the set of assignments to the symbols that make the lexmin unbounded. Reviewed By: Groverkss Differential Revision: https://reviews.llvm.org/D122985
-
David Green authored
D120018 altered this combine to work on buildvectors as opposed to shuffle dup's. This works well for dups and other things that are expanded into buildvectors. Some shuffles are legal though, and stay as vector_shuffle through lowering. This expands the transform to also handle shuffles, so that we can turn mul(shuffle(sext into mul(sext(shuffle and more readily make smull/umull instructions. This can come up from the SLP vectorizer adding shuffles that are costed from extends. Differential Revision: https://reviews.llvm.org/D123012
-
David Green authored
-
Louis Dionne authored
Differential Revision: https://reviews.llvm.org/D123028
-
River Riddle authored
This pass is defined in an anonymous namespace and requires an explicit TypeID
-
Lei Zhang authored
Reviewed By: mravishankar, hanchung Differential Revision: https://reviews.llvm.org/D123035
-
Jason Molenda authored
All uses of JSONGenerator in debugserver would create a JSON text dump of the object collection, then copy that string into a binary-escaped string, then send it up to the lldb side or make a compressed version and send that. This adds a DumpBinaryEscaped method to JSONGenerator which does the gdb remote serial protocol binary escaping directly, and removes the need to pass over the string and have an additional copy in memory. Differential Revision: https://reviews.llvm.org/D122882 rdar://91117456
-
Amir Ayupov authored
Remove switches in X86MCPlusBuilder.cpp, use mnemonic checks instead Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D122853
-
River Riddle authored
This commit restructures how TypeID is implemented to ideally avoid the current problems related to shared libraries. This is done by changing the "implicit" fallback path to use the name of the type, instead of using a static template variable (which breaks shared libraries). The major downside to this is that it adds some additional initialization costs for the implicit path. Given the use of type names for uniqueness in the fallback, we also no longer allow types defined in anonymous namespaces to have an implicit TypeID. To simplify defining an ID for these classes, a new `MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID` macro was added to allow for explicitly defining a TypeID directly on an internal class. To help identify when types are using the fallback, `-debug-only=typeid` can be used to log which types are using implicit ids. This change generally only requires changes to the test passes, which are all defined in anonymous namespaces, and thus can't use the fallback any longer. Differential Revision: https://reviews.llvm.org/D122775
-
Martin Storsjö authored
Since a8d15a92 / D110975, this is the default, even if winpthread headers are available, so we don't need to cargo cult setting this option in all builds. Differential Revision: https://reviews.llvm.org/D122717
-