- Apr 15, 2020
-
-
Adam Straw authored
Integer type in Std dialect is signless so we should be checking for signless integer type instead of signed integer type in EDSC. Differential Revision: https://reviews.llvm.org/D78144
-
Adrian Prantl authored
This is a no-op because it is set later on unconditionally again, but it's far less confusing this way and consistent with how the setters are initialized.
-
David Blaikie authored
llvm-dwarfdump: Don't try to parse a debug_loclist contribution if this CU has no DW_AT_loclists_base llvm-dwarfdump was trying to parse debug_loclists even in the absence of a loclists_base if there was a loclists section at all.
-
Hubert Tong authored
Summary: The 'Clang 10' boxes should be green since Clang 10 has been released. Reviewers: rsmith, aaron.ballman Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D78068
-
LLVM GN Syncbot authored
-
LLVM GN Syncbot authored
-
LLVM GN Syncbot authored
-
Eli Friedman authored
Previously, getWithOffset() would drop the offset if the base was null. Because of this, MachineMemOperand would return the wrong result from getAlign() in these cases. MachineMemOperand stores the alignment of the pointer without the offset. A bunch of MIR tests changed because we print the offset now. Split off from D77687. Differential Revision: https://reviews.llvm.org/D78049
-
Hubert Tong authored
Summary: Continuing from D77285, the external interfaces implemented by `WasmDump.cpp` are now declared in `WasmDump.h` and moved into the `llvm::objdump` namespace. Reviewers: jhenderson, MaskRay, DiggerLin, jasonliu, daltenty Reviewed By: jhenderson, MaskRay Differential Revision: https://reviews.llvm.org/D77990
-
Ayke van Laethem authored
This symbol is defined in avr-gcc. Because AVR normally uses the ELF format, define the symbol unconditionally. This patch is needed to get Clang to compile compiler-rt. Differential Revision: https://reviews.llvm.org/D78117
-
River Riddle authored
Now that no more utilities exist within, this file can be deleted. Differential Revision: https://reviews.llvm.org/D78079
-
River Riddle authored
This class implements a switch-like dispatch statement for a value of 'T' using dyn_cast functionality. Each `Case<T>` takes a callable to be invoked if the root value isa<T>, the callable is invoked with the result of dyn_cast<T>() as a parameter. Differential Revision: https://reviews.llvm.org/D78070
-
River Riddle authored
These have proved incredibly useful for interleaving values between a range w.r.t to streams. After this revision, the mlir/Support/STLExtras.h is empty. A followup revision will remove it from the tree. Differential Revision: https://reviews.llvm.org/D78067
-
River Riddle authored
This revision moves the various range utilities present in MLIR to LLVM to enable greater reuse. This revision moves the following utilities: * indexed_accessor_* This is set of utility iterator/range base classes that allow for building a range class where the iterators are represented by an object+index pair. * make_second_range Given a range of pairs, returns a range iterating over the `second` elements. * hasSingleElement Returns if the given range has 1 element. size() == 1 checks end up being very common, but size() is not always O(1) (e.g., ilist). This method provides O(1) checks for those cases. Differential Revision: https://reviews.llvm.org/D78064
-
River Riddle authored
This revision moves several type_trait utilities from MLIR into LLVM. Namely, this revision adds: is_detected - This matches the experimental std::is_detected is_invocable - This matches the c++17 std::is_invocable function_traits - A utility traits class for getting the argument and result types of a callable type Differential Revision: https://reviews.llvm.org/D78059
-
River Riddle authored
This revision adds a DenseMapInfo overload for std::tuples whose elements all have a DenseMapInfo. The implementation is similar to that of std::pair, and has been used within MLIR for over a year. Differential Revision: https://reviews.llvm.org/D78057
-
Sean Silva authored
Summary: Also, - add IndexTensor to OpBase.td - fix typo in the op name. It was mistakenly `to_tensor` instead of `to_extent_tensor`. Differential Revision: https://reviews.llvm.org/D78149
-
Eli Friedman authored
This should make both static and dynamic NewPM plugins work with LTO. And as a bonus, it makes static linking of OldPM plugins more reliable for plugins with both an OldPM and NewPM interface. I only implemented the command-line flag to specify NewPM plugins in llvm-lto2, to show it works. Support can be added for other tools later. Differential Revision: https://reviews.llvm.org/D76866
-
Jonas Devlieghere authored
-
Mircea Trofin authored
Reviewers: dblaikie, davidxl, craig.topper Subscribers: arsenm, dschuff, nemanjai, jvesely, nhaehnle, sbc100, jgravelle-google, hiraditya, aheejin, kbarton, kerbowa, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D78142
-
Jonas Devlieghere authored
Use a RAII object to manage the lifetime of the reproducer instrumentation data.
-
David Blaikie authored
Originally committed as 416fa772 Reverted (due to buildbot failure - breaking lldb) in 7a45aeac. I still can't seem to build lldb locally, but Pavel Labath has kindly provided a potential fix to preserve the old behavior in lldb by registering a simple recoverable error handler there that prints to the desired stream in lldb, rather than stderr.
-
MaheshRavishankar authored
The inversePermutation method returns a null map on failure. Update uses of this method within Linalg to handle this. In LinalgToLoops the null return value was used to emit scalar code. Modify that to return failure, and emit scalar implementation when affine map is "empty", i.e. 1 dims, 0 symbols and no result exprs. Differential Revision: https://reviews.llvm.org/D77964
-
George Burgess IV authored
Prompted by discussion on https://reviews.llvm.org/D78148.
-
Christopher Tetreault authored
Reviewers: efriedma, sdesmalen, spatel, eugenis, chandlerc Reviewed By: efriedma Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D77896
-
Juneyoung Lee authored
Summary: This PR adds `canCreatePoison(Instruction *I)` which returns true if `I` can generate poison from non-poison operands. Reviewers: spatel, nikic, lebedev.ri Reviewed By: spatel Subscribers: hiraditya, llvm-commits, regehr, nlopes Tags: #llvm Differential Revision: https://reviews.llvm.org/D77890
-
Thomas Lively authored
Summary: wasm-ld requires --shared-memory to be passed when the atomics feature is enabled because historically atomic operations were only valid with shared memories. This change relaxes that requirement for when building relocatable objects because their memories are not meaningful. This technically maintains the validity of object files because the threads spec now allows atomic operations with unshared memories, although we don't support that elsewhere in the tools yet. This fixes and Emscripten build issue reported at https://bugs.chromium.org/p/webp/issues/detail?id=463. Reviewers: sbc100 Subscribers: dschuff, jgravelle-google, aheejin, sunfish, jfb, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D78072
-
Christopher Tetreault authored
Reviewers: efriedma, sdesmalen, RKSimon, majnemer Reviewed By: majnemer Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D77897
-
Joerg Sonnenberger authored
They end up as .init_array sections and those need to be writable, otherwise bad merging will happen.
-
Sjoerd Meijer authored
-
Christopher Tetreault authored
Reviewers: efriedma Reviewed By: efriedma Subscribers: tschuett, rkruppe, psnobl, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D77903
-
Sam Clegg authored
Fixes: https://bugs.llvm.org/show_bug.cgi?id=45362 Differential Revision: https://reviews.llvm.org/D77115
-
Louis Dionne authored
This is useful when replaying tests after the fact and the directories don't exist anymore.
-
Huihui Zhang authored
Summary: This patch fix the following issues in InstCombiner::visitGetElementPtrInst 1. Skip for scalable type if transformation requires fixed size number of vector element. 2. Skip for scalable type if transformation relies on compile-time known type alloc size. 3. Use VectorType::getElementCount when scalable property is used to construct new VectorType. 4. Use TypeSize::getKnownMinSize when minimal size of a scalable type is valid to determine GEP 'inbounds'. 5. Explicitly call TypeSize::getFixedSize to avoid implicit type conversion to uint64_t. Reviewers: sdesmalen, efriedma, spatel, ctetreau Reviewed By: efriedma Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D78081 -
Walter Erquinigo authored
Summary: Removing the Test prefix from the file name and its usages. The standard is using only Test as a suffix. This was correctly pointed out in https://reviews.llvm.org/D77444. Reviewers: labath, clayborg Subscribers: mgorny, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D77878
-
MaheshRavishankar authored
Differential Revision: https://reviews.llvm.org/D78140
-
Louis Dionne authored
This can be useful when the CI jobs don't have internet access.
-
Sanjay Patel authored
This is the widen mask element sibling to D76844. shuf (bitcast X), undef, Mask --> bitcast X' http://volta.cs.utah.edu:8080/z/4dt3V8
-
Louis Dionne authored
With this patch, .verify.cpp tests explicitly require clang-verify, but no other test types require clang-verify out of the box. This will allow making several .fail.cpp tests that don't have any clang-verify markup to be just .compile.fail.cpp tests, which in turn should allow removing a long standing workaround that requires parsing tests to detect whether they have any clang-verify markup in them.
-
Thomas Raoux authored
This allows AntiDepBreaker to be used in target specific postRA scheduler. Differential Revision: https://reviews.llvm.org/D78047
-