- Mar 30, 2020
-
-
scentini authored
-
Raphael Isemann authored
Commit 83c81c0a enabled Fix-Its for top-level expressions which change the error message of this test here as Clang comes up with a strange Fix-It for this expression. This patch just changes the test to declare a void variable so that Clang doesn't see a way to recover with a Fix-It and change the error message.
-
Georgii Rymar authored
We are able to reduce `-DBITS=32/64` to reduce this test case. I've rewrote the comments we had to generalize them and fix wrong computations they contained. Differential revision: https://reviews.llvm.org/D76924
-
Simon Pilgrim authored
If we are lowering to X86ISD::SHUF128 we are going to lose track of individual 128-bit lanes that are UNDEF, so if we can widen these to guarantee that they are sequential with their neighbour we should. This helps with later shuffle combines.
-
Krasimir Georgiev authored
Commit "[clang-format] Handle C# generic type constraints", https://github.com/llvm/llvm-project/commit/dcbcec4822f47ec5b638dd9c20dcebd464569dae regressed the formatting of code containing `where` as an identifier in other languages.
-
Florian Hahn authored
The Chained in the name potentially leads to confusion. Also updated the comment to drop the unnecessary mention of tile-sized.
-
Florian Hahn authored
This fixes warning: loop variable 'Def' of type 'const llvm::Register' creates a copy from type 'const llvm::Register' [-Wrange-loop-analysis] llvm::Register just contains a single unsigned and should be copied. Reviewers: rampitec Reviewed By: rampitec Differential Revision: https://reviews.llvm.org/D77011
-
Florian Hahn authored
-
Raphael Isemann authored
Summary: Currently top-level expressions won't automatically get Fix-Its applied. The reason for that is that we only set the `m_fixed_text` member if we have a wrapping source code (I.e. `m_source_code` is not zero and is wrapping some expressions). This patch just always sets `m_fixed_text` to get this working. Reviewers: labath, jingham Reviewed By: labath Subscribers: JDevlieghere Differential Revision: https://reviews.llvm.org/D77042
-
Qiu Chaofan authored
Use script to update test for ori with 32-bit imms, and add test for ori with 64-bit imms.
-
Raphael Isemann authored
-
Sam Parker authored
Add a bit more logic into the 'FalseLaneZeros' tracking to enable horizontal reductions and also make the VADDV variants validForTailPredication. Differential Revision: https://reviews.llvm.org/D76708
-
Haojian Wu authored
Summary: If the bitwith expr contains errors, we mark the field decl invalid. This patch also tweaks the behavior of ObjCInterfaceDecl to be consistent with existing RecordDecl -- getObjCLayout method is only called with valid decls. Reviewers: sammccall Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D76953
-
Balázs Kéri authored
Summary: The kernel kmalloc function may return a constant value ZERO_SIZE_PTR if a zero-sized block is allocated. This special value is allowed to be passed to kfree and should produce no warning. This is a simple version but should be no problem. The macro is always detected independent of if this is a kernel source code or any other code. Reviewers: Szelethus, martong Reviewed By: Szelethus, martong 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/D76830
-
Hanhan Wang authored
Differential Revision: https://reviews.llvm.org/D77040
-
Raphael Isemann authored
This test also passes on my Linux machine, so this seems too strict.
-
Raphael Isemann authored
-
Guillaume Chatelet authored
Summary: Also deprecate getOriginalAlignment, getAlignment will take much more time as it is pervasive through the codebase (including TableGened files). This is 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: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D76933
-
Adam Balogh authored
Typo fix.
-
Adam Balogh authored
Iterator checkers (and planned container checkers) need the option aggressive-binary-operation-simplification to be enabled. Without this option they may cause assertions. To prevent such misuse, this patch adds a preventive check which issues a warning and denies the registartion of the checker if this option is disabled. Differential Revision: https://reviews.llvm.org/D75171
-
David Green authored
In the original batch of MVE VMOVimm code generation VMOV.i64 was left out due to the way it was done downstream. It turns out that it's fairly simple though. This adds the codegen for it, similar to NEON. Bigendian is technically incorrect in this version, which John is fixing in a Neon patch.
-
Craig Topper authored
[TTI][X86] Fix the value passed to IsUnsigned for cost modeling of experimental.vector.reduce.smin/smax/umin/umax. We were passing true for smax/smin and false for umax/umin.
-
Max Kazantsev authored
In past, isGuaranteedToTransferExecutionToSuccessor contained some weird logic for volatile loads/stores that was ultimately removed by patch D65375. It's time to remove a piece of dependent logic that used to be a workaround for the code which is now deleted. Reviewed By: uenoku Differential Revision: https://reviews.llvm.org/D76918
-
River Riddle authored
Summary: This revision performs a lot of different cleanups on operation documentation to ensure that they are consistent, e.g. using mlir code blocks, formatting, etc. This revision also includes the auto-generated documentation into the hand-written documentation for the dialects that have a specific top-level dialect file. This updates the documentation for all dialects aside from SPIRV and STD. These dialects will be updated in a followup. Differential Revision: https://reviews.llvm.org/D76734
-
River Riddle authored
Summary: This revision updates the dialect documentation to use the auto-generated markdown for operations. This allows for updating some out-of-date bits of documentation, and allows for displaying a large of number of newly added operations that did not have a counter part in Standard.md. Differential Revision: https://reviews.llvm.org/D76743
-
River Riddle authored
Summary: This revision updates the SourceMgrDiagnosticHandler to not print the source location of a note if it is the same location as the previously printed diagnostic. This helps avoid redundancy, and potential confusion, when looking at the diagnostic output. Differential Revision: https://reviews.llvm.org/D76787
-
Juneyoung Lee authored
Summary: This patch clarifies the semantics of branching on undef value. Defining `br undef` as undefined behavior explains optimizations that use branch conditions, such as CVP (D76931) and GVN (propagateEquality). For `switch cond`, it is defined to raise UB if cond is an expression containing undef && cond is not frozen && it may yield different values. This allows that at the destination block the branch condition can be assumed to be frozen already (otherwise UB was already triggered). This condition is slightly stricter than MemorySanitizer, which allows undef-y condition if it always leads to the same destination, but it does not break MemorySanitizer because we are giving stricter constraint. Reviewers: efriedma, fhahn, nikic, spatel, jdoerfert, nlopes Reviewed By: nlopes Subscribers: regehr, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D76973
-
Richard Smith authored
of array new expressions with runtime bound.
-
Jun Ma authored
Differential Revision: https://reviews.llvm.org/D76913
-
Jun Ma authored
Differential Revision: https://reviews.llvm.org/D76911
-
Alexandre Ganea authored
-
David Zarzycki authored
This reverts commit cd7f9751 which has unintended breakage to non-libcxx projects when using the documented way of building LLVM. (See the Getting Started guide. I.e. one big CMake setup.)
-
Craig Topper authored
Mostly this matches the sse4.2 we already had command lines for. Except in the i64 case since sse4.1 doesn't have pcmpgtq.
-
- Mar 29, 2020
-
-
Daan Sprenkels authored
Baseline tests for D76983 (PR45314) Differential Revision: https://reviews.llvm.org/D77024
-
Craig Topper authored
SSE4.2 has the pcmpgtq instruction which we will use in vXi64 reductions when its available.
-
Benjamin Kramer authored
Shrinks clang by 40k.
-
Richard Smith authored
-
Fangrui Song authored
Delete arm-exidx-link.s which is now covered by arm-exidx-output.s Differential Revision: https://reviews.llvm.org/D76409
-
David Green authored
-
LLVM GN Syncbot authored
-