- Aug 08, 2020
-
-
LLVM GN Syncbot authored
-
Yuanfang Chen authored
This relands commit 320eab2d. The test failed because it was looking for x86-linux target unconditionally. Now it gets the default target.
-
peter klausler authored
Objects that are storage associated by EQUIVALENCE and initialized with DATA are initialized by creating a compiler temporary data object in the same scope, assigning it an offset, type, and size that covers the transitive closure of the associated initialized original symbols, and combining their initializers into one common initializer for the temporary. Some problems with offset assignment of EQUIVALENCE'd objects in COMMON were exposed and corrected, and some more error cases are checked. Remove obsolete function. Small bugfix (nested implied dos). Add a test. Fix struct/class warning. Differential Revision: https://reviews.llvm.org/D85560
-
Matt Arsenault authored
-
Vitaly Buka authored
-
Teresa Johnson authored
As pointed out in D85387, part of the comment for MapDynamicShadow refactored to sanitizer_common in D83247 was incorrect for non-Linux versions. Update the comment to reflect that.
-
Mauricio Sifontes authored
Implement the Reduction Tree Pass framework as part of the MLIR Reduce tool. This is a parametarizable pass that allows for the implementation of custom reductions passes in the tool. Implement the FunctionReducer class as an example of a Reducer class parameter for the instantiation of a Reduction Tree Pass. Create a pass pipeline with a Reduction Tree Pass with the FunctionReducer class specified as parameter. Reviewed By: jpienaar Differential Revision: https://reviews.llvm.org/D83969
-
Nick Desaulniers authored
This reverts commit e486921f. Breaks windows builds and osx builds.
-
Nick Desaulniers authored
This reverts commit cbd8ec93.
-
cchen authored
LValue map checker should handle CXXOperatorCallExpr Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D85563
-
Sean Silva authored
This also beefs up the test coverage: - Make unranked memref testing consistent with ranked memrefs. - Add testing for the invalid element type cases. This is not quite NFC: index types are now allowed in unranked memrefs. Differential Revision: https://reviews.llvm.org/D85541
-
Jonas Devlieghere authored
-
Arthur Eubanks authored
If OptNoneInstrumentation prints it instead, 'Skipping pass' will print for even required passes. Reviewed By: ychen Differential Revision: https://reviews.llvm.org/D85493
-
Nick Desaulniers authored
-
Mircea Trofin authored
This prepares it for logging externally-specified outputs. Differential Revision: https://reviews.llvm.org/D85451
-
Jim Ingham authored
Also allow ScriptedThreadPlans to set & get their StopOthers state. <rdar://problem/64229484> Differential Revision: https://reviews.llvm.org/D85265
-
Sameer Arora authored
Add support for `-D` and `-U` options for llvm-libtool-darwin. `-D` allows for using zero for timestamps and UIDs/GIDs. `-U` allows for using actual timestamps and UIDs/GIDs. Reviewed by jhenderson, smeenai Differential Revision: https://reviews.llvm.org/D84209
-
Sameer Arora authored
Add support for `-filelist` option for llvm-libtool-darwin. `-filelist` option allows for passing in a file containing a list of filenames. Reviewed by jhenderson, smeenai Differential Revision: https://reviews.llvm.org/D84206
-
Adrian Prantl authored
into PlatformAppleSimulator. This is legal because that is the only entry point for the Terminate/Initialize functions.
-
Nick Desaulniers authored
Fixes pr/11710. Signed-off-by:
Nick Desaulniers <ndesaulniers@google.com> Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D80242
-
Sameer Arora authored
Add support for constant MachO::CPU_SUBTYPE_ARM64_V8. This constant is needed so as to match `llvm-libtool-darwin`'s behavior to that of cctools' libtool when `-arch_only` flag is passed in on command line. Reviewed by jhenderson, alexshap, smeenai Differential Revision: https://reviews.llvm.org/D85041
-
Vitaly Buka authored
This reverts commit 0b2616a8. Crashes with safe-stack.
-
Vitaly Buka authored
-
Kiran Chandramohan authored
This simple patch translates the num_threads and if clauses of the parallel operation. Also includes test cases. A minor change was made to parsing of the if clause to parse AnyType and return the parsed type. Updates to test cases also. Reviewed by: SouraVX Differential Revision: https://reviews.llvm.org/D84798
-
Artem Belevich authored
The test file is the single longest test among clang's tests and ends up about doubling the wall time of clang tests on machines with high number of cores. The test appears to consist of multiple independent subtests and does not have to be in one file. Splitting it into smaller parts reduces test time on my machine from ~80s down to ~45. Differential Revision: https://reviews.llvm.org/D85551
-
Sameer Arora authored
Add symlinks for `llvm-libtool-darwin` and `llvm-install-name-tool`. Reviewed by jhenderson, smeenai Differential Revision: https://reviews.llvm.org/D85054
-
River Riddle authored
-
River Riddle authored
This is in preparation for removing the use of "kinds" within attributes and types in MLIR. Differential Revision: https://reviews.llvm.org/D85475
-
River Riddle authored
This is in preparation for removing the use of "kinds" within attributes and types in MLIR. Differential Revision: https://reviews.llvm.org/D85370
-
River Riddle authored
This revision refactors the default definition of the attribute and type `classof` methods to use the TypeID of the concrete class instead of invoking the `kindof` method. The TypeID is already used as part of uniquing, and this allows for removing the need for users to define any of the type casting utilities themselves. Differential Revision: https://reviews.llvm.org/D85356
-
River Riddle authored
Subclass data is useful when a certain amount of memory is allocated, but not all of it is used. In the case of Type, that hasn't been the case for a while and the subclass is just taking up a full `unsigned`. Removing this frees up ~8 bytes for almost every type instance. Differential Revision: https://reviews.llvm.org/D85348
-
River Riddle authored
This class allows for defining thread local objects that have a set non-static lifetime. This internals of the cache use a static thread_local map between the various different non-static objects and the desired value type. When a non-static object destructs, it simply nulls out the entry in the static map. This will leave an entry in the map, but erase any of the data for the associated value. The current use cases for this are in the MLIRContext, meaning that the number of items in the static map is ~1-2 which aren't particularly costly enough to warrant the complexity of pruning. If a use case arises that requires pruning of the map, the functionality can be added. This is especially useful in the context of MLIR for implementing thread-local caching of context level objects that would otherwise have very high lock contention. This revision adds a thread local cache in the MLIRContext for attributes, identifiers, and types to reduce some of the locking burden. This led to a speedup of several hundred miliseconds when compiling a conversion pass on a very large mlir module(>300K operations). Differential Revision: https://reviews.llvm.org/D82597
-
River Riddle authored
This allows for bucketing the different possible storage types, with each bucket having its own allocator/mutex/instance map. This greatly reduces the amount of lock contention when multi-threading is enabled. On some non-trivial .mlir modules (>300K operations), this led to a compile time decrease of a single conversion pass by around half a second(>25%). Differential Revision: https://reviews.llvm.org/D82596
-
Fangrui Song authored
-
Matt Arsenault authored
This eliminates the illegal intermediate s8 value in the added test.
-
Adrian Prantl authored
We've been seeing this failure on green dragon when the system is under high load. Unfortunately this is outside of LLDB's control. Differential Revision: https://reviews.llvm.org/D85542
-
Sameer Arora authored
This diff adds documentation for `allow-empty` flag under FileCheck docs. Reviewed by jhenderson, smeenai, thopre Differential Revision: https://reviews.llvm.org/D83682
-
peter klausler authored
This is a common Fortran language extension. Differential Revision: https://reviews.llvm.org/D85492
-
cgyurgyik authored
Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D85386
-
peter klausler authored
Add support for OutputDescriptor() and InputDescriptor() in the I/O runtime. Change existing scalar formatted I/O functions to drive descriptor-based I/O routines internally. Differential Revision: https://reviews.llvm.org/D85491
-