- Jun 08, 2020
-
-
Dmitry Vyukov authored
With the race_debug_openbsd_amd64.syso file created via this diff, Go's race detector is able to detect a race in the example code from this link: https://golang.org/doc/articles/race_detector.html Reviewed-in: https://reviews.llvm.org/D80469 Author: qbit (Aaron Bieber)
-
Xing GUO authored
This patch intends to be an NFC-patch. Test cases will be added in a follow-up patch. Reviewed By: jhenderson, grimar Differential Revision: https://reviews.llvm.org/D81356
-
Isuru Fernando authored
Summary: The only difference is that LLVM_ENABLE_WERROR is set to OFF by default, but we enable this in a standalone flang build This commit fixes some windows issues with the flags Reviewers: DavidTruby, jdoerfert, sscalpone Reviewed By: DavidTruby, sscalpone Subscribers: ormris, richard.barton.arm, mehdi_amini, Meinersbur, ChinouneMehdi, tskeith, mgorny, llvm-commits Tags: #llvm, #flang Differential Revision: https://reviews.llvm.org/D78306
-
Matt Arsenault authored
-
Sam Parker authored
Adding type checks into the other backends that call getTypeLegalizationCost. Differential Revision: https://reviews.llvm.org/D80984
-
Matt Arsenault authored
These have very few users to begin with, and have been marked deprecated for 2 months which should be long enough for out of tree targets.
-
David Sherwood authored
When the input to a wide compare instruction is a DUP or SPLAT_VECTOR node we should deal with cases where the DUP/SPLAT_VECTOR input operand is not an immediate value. I've fixed the code to return SDValue() in such cases and added a couple of tests - one each to represent the signed and unsigned cases. Differential Revision: https://reviews.llvm.org/D81167
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Kazushi (Jam) Marukawa authored
Summary: Add regression tests of asmparser, mccodeemitter, and disassembler for floating-point arithmetic instructions. Add FADDQ, FSUBQ, FMULQ, and FCMPQ instructions and F128 register class too. Differential Revision: https://reviews.llvm.org/D81386
-
Pavel Labath authored
Previously, we were simply ignoring them and continuing the evaluation. This behavior does not seem useful, because the resulting value will most likely be completely bogus.
-
Haojian Wu authored
Summary: We lost errorBit for StmtExpr if a recoveryExpr is the result expr of a CompoundStmt, which will lead to crashes. ``` // `-StmtExpr // `-CompoundStmt // `-RecoveryExp ({ invalid(); }); ``` Reviewers: sammccall Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D81154 -
Pavel Labath authored
The functionality will be used from lldb.
-
Jay Foad authored
Differential Revision: https://reviews.llvm.org/D74035
-
Simon Pilgrim authored
-
Simon Pilgrim authored
This is already defined in the YAMLRemarkParser.h module header
-
Pavel Labath authored
Summary: The way that the support for the GNU dialect of tail call frames was implemented in D80519 meant that the were reporting very bogus PC values which pointed into the middle of an instruction: the -1 trick is necessary for the address to resolve to the right function, but we should still be reporting a more realistic PC value -- I say "realistic" and not "real", because it's very debatable what should be the correct PC value for frames like this. This patch achieves that my moving the -1 from SymbolFileDWARF into the stack frame computation code. The idea is that SymbolFileDWARF will merely report whether it has provided an address of the instruction after the tail call, or the address of the call instruction itself. The StackFrameList machinery uses this information to set the "behaves like frame zero" property of the artificial frames (the main thing this flag does is it controls the -1 subtraction when looking up the function address). This required a moderate refactor of the CallEdge class, because it was implicitly assuming that edges pointing after the call were real calls and those pointing the the call insn were tail calls. The class now carries this information explicitly -- it carries three mostly independent pieces of information: - an address of interest in the caller - a bit saying whether this address points to the call insn or after it - whether this is a tail call Reviewers: vsk, dblaikie Subscribers: aprantl, mgrang, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D81010
-
Wen-Heng (Jack) Chung authored
Fix logic error in D79508. The old logic would make the first check in `GPUFuncOp::verifyBody` always pass.
-
Jonathan Coe authored
Summary: This will put a space in `lock (process)` when spaces are required after keywords. Reviewers: krasimir Reviewed By: krasimir Subscribers: cfe-commits Tags: #clang-format, #clang Differential Revision: https://reviews.llvm.org/D81255
-
Sam McCall authored
Summary: To avoid excessive extra stat()s, only check the possible locations of headers that weren't found at all (leading to a compile error). For headers that *were* found, we don't check for files earlier on the search path that could override them. Reviewers: kadircet Subscribers: javed.absar, jkorous, arphaman, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D77942
-
David Sherwood authored
Replace getNumElements() with getElementCount() when asserting that two types have the same element counts. Differential Revision: https://reviews.llvm.org/D81371
-
Pavel Labath authored
-
Kadir Cetinkaya authored
Summary: This ensures ParseInputs provides a read-only access to FS. Reviewers: sammccall Subscribers: ilya-biryukov, javed.absar, MaskRay, jkorous, arphaman, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D81173
-
Cullen Rhodes authored
Summary: This patch adds the following intrinsics for creating two-tuple, three-tuple and four-tuple scalable vectors: * llvm.aarch64.sve.tuple.create2 * llvm.aarch64.sve.tuple.create3 * llvm.aarch64.sve.tuple.create4 As well as: * llvm.aarch64.sve.tuple.get * llvm.aarch64.sve.tuple.set For extracting and inserting scalable vectors from vector tuples. These intrinsics are intended to be used by the ACLE functions svcreate<n>, svget and svset. This patch also includes calling convention support for passing and returning tuples of scalable vectors to/from functions. Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D75674 -
Guillaume Chatelet authored
Summary: Note to downstream target maintainers: this might silently change the semantics of your code if you override `TargetLowering::HandleByVal` without marking it `override`. This patch is part of a series to introduce an Alignment type. See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this patch for the introduction of the type: https://reviews.llvm.org/D64790 Reviewers: courbet Subscribers: sdardis, hiraditya, jrtc27, atanasyan, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D81365
-
Nico Weber authored
See http://lab.llvm.org:8011/console. This reverts commit 0fa3a033. This reverts commit 5787ad6c.
-
Nico Weber authored
This reverts commit a0de3335. Breaks check-clang on Windows, see e.g. https://reviews.llvm.org/D80979#2078750 (but fails on all other Windows bots too).
-
Frederik Gossen authored
The SSA values created with `shape.const_size` are now named depending on the value. A constant size of 3, e.g., is now automatically named `%c3`. Differential Revision: https://reviews.llvm.org/D81249
-
Shawn Landden authored
Problem discovered in https://reviews.llvm.org/D81343
-
Alexander Belyaev authored
This reverts commit a25f5cd7. Now the build with `-DBUILD_SHARED_LIBS=ON` is fixed.
-
Simon Pilgrim authored
-
Sam McCall authored
Reviewers: kadircet Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D81366
-
Dineshkumar Bhaskaran authored
Summary: One more way to access note desc. Reviewers: arsenm, scott.linder, saiislam Reviewed By: scott.linder Subscribers: wdng, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D81185
-
Kazushi (Jam) Marukawa authored
Summary: Add regression tests of asmparser, mccodeemitter, and disassembler for control instructions. Add not defined LPM/SPM/LFR/SFR/SMIR/NOP/LCR/ SCR/TSCR/FIDCR control isntructions newly. Define MISC registers which SMIR instruction reads and IC register which SIC instruction reads. Change asmparser to support Zero, UImm3, and UImm6 operands and MISC registers. Change instprinter to support MISC registers also. Change to use auto to receive dyn_cast also. Differential Revision: https://reviews.llvm.org/D81370
-
Sander de Smalen authored
Scalable vectors cannot use 'BUILD_VECTOR', so it is necessary to properly split and widen scalable vectors when passing them to CopyToReg/CopyFromReg. This functionality is added to TargetLoweringBase::getVectorTypeBreakdown(). This patch only adds support for 'splitting' scalable vectors that are a multiple of some legal type, e.g. <vscale x 6 x i64> -> 3 x <vscale x 2 x i64> Reviewers: efriedma, c-rhodes Reviewed By: efriedma Tags: #llvm Differential Revision: https://reviews.llvm.org/D80139 -
Frederik Gossen authored
The operations `to_extent_tensor` and `from_extent_tensor` become no-ops when lowered to the standard dialect. This is possible with a lowering from `shape.shape` to `tensor<?xindex>`. Differential Revision: https://reviews.llvm.org/D81162
-
Frederik Gossen authored
Convert `shape.shape` to `tensor<?xindex>` when lowering the `shape` to the `std` dialect. Differential Revision: https://reviews.llvm.org/D81161
-