- May 20, 2020
-
-
LLVM GN Syncbot authored
-
Benjamin Kramer authored
-
Florian Hahn authored
SCEVExpander modifies the underlying function so it is more suitable in Transforms/Utils, rather than Analysis. This allows using other transform utils in SCEVExpander. This patch was originally committed as b8a3c34e, but broke the modules build, as LoopAccessAnalysis was using the Expander. The code-gen part of LAA was moved to lib/Transforms recently, so this patch can be landed again. Reviewers: sanjoy.google, efriedma, reames Reviewed By: sanjoy.google Differential Revision: https://reviews.llvm.org/D71537
-
Kang Zhang authored
Summary: For PowerPC, there are 3 passes has disabled the machine verification. ``` PPCTargetMachine.cpp: addPass(&LiveVariablesID, false); PPCTargetMachine.cpp: addPass(createPPCEarlyReturnPass(), false); PPCTargetMachine.cpp: addPass(createPPCBranchSelectionPass(), false); ``` This patch is to enable machine verification for above three passes. Reviewed By: steven.zhang Differential Revision: https://reviews.llvm.org/D79840
-
Georgii Rymar authored
We can use `-D` to generalize inputs. This patch does it. Differential revision: https://reviews.llvm.org/D80199
-
Emre Kultursay authored
Summary: When adb client connects to adb server, or when lldb connects to lldb server on Android device, IPv6 does not work (at least on Windows it does not work). For Android on Windows, each IPv6 failure (fallback-to-IPv4) wastes 2 seconds, and since this is called 5 times when attaching, LLDB is wasting 10 seconds. This CL brings a big improvement to attach latency. Reviewers: labath Reviewed By: labath Subscribers: aadsm, clayborg, mgrang, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D79757
-
Jaroslav Sevcik authored
Summary: This patch makes the stop reason reset logic similar to MacOS' debugserver, where exceptions are reset for all threads when resuming process for stepping or continuing (see [[ https://github.com/llvm/llvm-project/blob/96f3ea0d21b48ca088355db10d4d1a2e9bc9f884/lldb/tools/debugserver/source/MacOSX/MachThreadList.cpp#L433 | MachThreadList::ProcessWillResume ]] and [[ https://github.com/llvm/llvm-project/blob/96f3ea0d21b48ca088355db10d4d1a2e9bc9f884/lldb/tools/debugserver/source/MacOSX/MachThread.cpp#L363 | MachThread::ThreadWillResume ]]). Resetting stop reasons on resume fixes problems where LLDB spuriously reports SIGTRAP signal stop reason for deleted breakpoints (both internal and public) and where LLDB stops on an internal breakpoint while stepping over while a breakpoint is hit in another thread. See [[ https://bugs.llvm.org/show_bug.cgi?id=45642 | PR45642 ]] for details. Reviewed By: jingham, labath Differential Revision: https://reviews.llvm.org/D79308
-
Simon Pilgrim authored
-
Simon Pilgrim authored
Replace with forward declarations and move necessary includes down to source files. Exposes an implicit dependency on TargetMachine.h in llvm-opt-fuzzer.cpp
-
Jay Foad authored
This is the second attempt at landing this patch, after fixing the KeepOneInputPHIs behaviour to also keep zero input PHIs. Differential Revision: https://reviews.llvm.org/D80141
-
Ying Yi authored
-
Pavel Labath authored
This reverts commit a3609b0e, because it makes a number of lldb-vscode tests flaky.
-
Tres Popp authored
Summary: Additionally, this adds traits and builder methods to AssumingYieldOp and names the input witness to the AssumingOp. Differential Revision: https://reviews.llvm.org/D80187
-
Tres Popp authored
Differential Revision: https://reviews.llvm.org/D80179
-
Balázs Kéri authored
Summary: Stream functions `fread` and `fwrite` are evaluated and preconditions checked. A new bug type is added for a (non fatal) warning if `fread` is called in EOF state. Reviewers: Szelethus, NoQ, dcoughlin, baloghadamsoftware, martong, xazax.hun Reviewed By: Szelethus Subscribers: rnkovacs, xazax.hun, baloghadamsoftware, szepet, a.sidorin, mikhail.ramalho, Szelethus, donat.nagy, dkrupp, gamesh411, Charusso, martong, ASDenysPetrov, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D80015
-
mydeveloperday authored
Summary: Its currently not possible to recreate the GNU style using the `BreakBeforeBraces: Custom` style due to a lack of missing `BeforeWhile` in the `BraceWrappingFlags` The following request was raised to add `BeforeWhile` in a `do..while` context like `BeforeElse` and `BeforeCatch` to give greater control over the positioning of the `while` https://bugs.llvm.org/show_bug.cgi?id=42164 Reviewers: krasimir, mitchell-stellar, sammccall Reviewed By: krasimir Subscribers: cfe-commits Tags: #clang, #clang-format Differential Revision: https://reviews.llvm.org/D79325
-
mydeveloperday authored
Summary: https://bugs.llvm.org/show_bug.cgi?id=33890 This revision allow the microsoft `for each(.... in ...` nonstandard C++ extension which can be used in C++/CLI to be handled as a ForEach macro. This prevents the breaking between the for and each onto a new line Reviewed By: JakeMerdichAMD Subscribers: cfe-commits Tags: #clang, #clang-format Differential Revision: https://reviews.llvm.org/D80228
-
mydeveloperday authored
Summary: The following revision follows D80115 since @MyDeveloperDay and I apparently both had the same idea at the same time, for https://bugs.llvm.org/show_bug.cgi?id=45816 and my efforts on tooling support for AMDVLK, respectively. This option aligns adjacent bitfield separators across lines, in a manner similar to AlignConsecutiveAssignments and friends. Example: ``` struct RawFloat { uint32_t sign : 1; uint32_t exponent : 8; uint32_t mantissa : 23; }; ``` would become ``` struct RawFloat { uint32_t sign : 1; uint32_t exponent : 8; uint32_t mantissa : 23; }; ``` This also handles c++2a style bitfield-initializers with AlignConsecutiveAssignments. ``` struct RawFloat { uint32_t sign : 1 = 0; uint32_t exponent : 8 = 127; uint32_t mantissa : 23 = 0; }; // defaults to 1.0f ``` Things this change does not do: - Align multiple comma-chained bitfield variables. None of the other AlignConsecutive* options seem to implement that either. - Detect bitfields that have a width specified with something other than a numeric literal (ie, `int a : SOME_MACRO;`). That'd be fairly difficult to parse and is rare. Patch By: JakeMerdichAMD Reviewed By: MyDeveloperDay Subscribers: cfe-commits, MyDeveloperDay Tags: #clang, #clang-format Differential Revision: https://reviews.llvm.org/D80176
-
Guillaume Chatelet authored
Summary: This patch adds general purpose `memset` and `bzero` implementations. Reviewers: sivachandra, abrachet Subscribers: mgorny, tschuett, ecnelises, libc-commits, courbet Tags: #libc-project Differential Revision: https://reviews.llvm.org/D80010
-
mydeveloperday authored
Summary: https://bugs.llvm.org/show_bug.cgi?id=43845 When a '//comment' trails a consecutive alignment, it adds a whitespace replacement within the comment token. This wasn't handled correctly in the alignment code, which treats it as a whole token and thus double counts it. This can wrongly trigger the "line too long, it'll wrap" alignment-break condition with specific lengths, causing the alignment to break for seemingly no reason. Patch By: JakeMerdichAMD Reviewed By: MyDeveloperDay Subscribers: kostyakozko, cfe-commits Tags: #clang, #clang-format Differential Revision: https://reviews.llvm.org/D79465
-
Kang Zhang authored
-
Max Kazantsev authored
-
Fangrui Song authored
-
Stanislav Mekhanoshin authored
Differential Revision: https://reviews.llvm.org/D80256
-
Haruki Imai authored
MLIR tests in "mlir/test/mlir-cpu-runner" fails in SystemZ (z14) because of incompatible datalayout error. This patch fixes it by setting host CPU name in createTargetMachine() Differential Revision: https://reviews.llvm.org/D80130
-
Jinsong Ji authored
Per target runtime dir may change the suffix of shared libs. We can not assume we are always building with per_target_runtime_dir on. Reviewed By: cryptoad Differential Revision: https://reviews.llvm.org/D80243
-
Eli Friedman authored
If we're going to assume references are dereferenceable, we should also assume they're aligned: otherwise, we can't actually dereference them. See also D80072. Differential Revision: https://reviews.llvm.org/D80166
-
Chintan Kaur authored
This is consistent to the other methods of the class, as well as AffineExpr::replaceDimsAndSymbols. Differential Revision: https://reviews.llvm.org/D80266
-
Matt Arsenault authored
The intent wasn't cases with illegal VGPR to SGPR copies.
-
Nicolas Vasilache authored
This should fix the error ``` VectorToSCF.cpp:238:62: error: specialization of 'template<class ConcreteOp> mlir::LogicalResult {anonymous}::NDTransferOpHelper<ConcreteOp>::doReplace()' in different namespace ``` -
Thomas Raoux authored
Add a new type to SPIRV dialect for cooperative matrix and add new op for cooperative matrix load. This is missing most instructions to support cooperative matrix extension but this is a stop-gap patch to avoid creating big review. Differential Revision: https://reviews.llvm.org/D80043
-
QingShan Zhang authored
We have the getNegatibleCost/getNegatedExpression to evaluate the cost and negate the expression. However, during negating the expression, the cost might change as we are changing the DAG, and then, hit the assertion if we negated the wrong expression as the cost is not trustful anymore. This patch is target to remove the getNegatibleCost to avoid the out of sync with getNegatedExpression, and check the cost during negating the expression. It also reduce the duplicated code between getNegatibleCost and getNegatedExpression. And fix the crash for the test in D76638 Reviewed By: RKSimon, spatel Differential Revision: https://reviews.llvm.org/D77319
-
Thomas Raoux authored
The first timestamp query should use VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT. Differential Revision: https://reviews.llvm.org/D80183
-
Diego Caballero authored
This patch introduces interfaces for read and write ops with affine restrictions. I used `read`/`write` intead of `load`/`store` for the interfaces so that they can also be implemented by dma ops. For now, they are only implemented by affine.load, affine.store, affine.vector_load and affine.vector_store. For testing purposes, this patch also migrates affine loop fusion and required analysis to use the new interfaces. No other changes are made beyond that. Co-authored-by:
Alex Zinenko <zinenko@google.com> Reviewed By: bondhugula, ftynse Differential Revision: https://reviews.llvm.org/D79829
-
Kuangyuan Chen authored
Enclose verifier code for AttrSizedOperandSegments and AttrSizedResultSegments in a nested code block to avoid symbol collision. Differential Revision: https://reviews.llvm.org/D80250
-
Kirstóf Umann authored
[analyzer][StackAddressEscape] Tie warnings to the diagnostic checkers rather then core.StackAddrEscapeBase Differential Revision: https://reviews.llvm.org/D78101
-
zoecarver authored
Summary: All supported compilers have rvalues and variadics so we can safely remove the overloads of allocator::construct which are only enabled on compilers without rvalues and variadics. Reviewers: ldionne, #libc! Subscribers: dexonsmith, libcxx-commits Tags: #libc Differential Revision: https://reviews.llvm.org/D80068
-
zoecarver authored
Summary: All supported compilers have rvalues and variadics so we can safely remove the overloads of allocator::construct which are only enabled on compilers without rvalues and variadics. Reviewers: ldionne, #libc! Subscribers: dexonsmith, libcxx-commits Tags: #libc Differential Revision: https://reviews.llvm.org/D80068
-
zoecarver authored
Summary: The default constructor for shared_ptr and shared_ptr::__enable_weak_this are both noexcept so, shared_ptr::__create_with_control_block can also be marked noexcept. Reviewers: ldionne, #libc! Subscribers: dexonsmith, libcxx-commits Tags: #libc Differential Revision: https://reviews.llvm.org/D80070
-