| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
Clang-rename Emacs integration script sometimes doesn't work correctly.
llvm-svn: 277469
|
|
|
|
|
|
|
|
| |
Causes TSan failure on PPC64
This reverts commit r277459.
llvm-svn: 277468
|
|
|
|
| |
llvm-svn: 277467
|
|
|
|
| |
llvm-svn: 277466
|
|
|
|
|
|
|
|
| |
This is only used for debug prints, but the previous hardcoded ", "
caused it to be printed unnecessarily when OnlySet, and is annoying
when adding new properties.
llvm-svn: 277465
|
|
|
|
|
|
|
| |
The GISel passes don't make sense on non-SSA functions.
All GISel tests already set isSSA. Enforce that.
llvm-svn: 277464
|
|
|
|
| |
llvm-svn: 277463
|
|
|
|
|
|
|
|
| |
The system implementation of OSAtomicTestAndClear returns the original bit, but the TSan interceptor has a bug which always returns zero from the function. This patch fixes this and adds a test.
Differential Revision: https://reviews.llvm.org/D23061
llvm-svn: 277461
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch refactors the logic in collectLoopUniforms and
collectValuesToIgnore, untangling the concepts of "uniform" and "scalar". It
adds isScalarAfterVectorization along side isUniformAfterVectorization to
distinguish the two. Known scalar values include those that are uniform,
getelementptr instructions that won't be vectorized, and induction variables
and induction variable update instructions whose users are all known to be
scalar.
This patch includes the following functional changes:
- In collectLoopUniforms, we mark uniform the pointer operands of interleaved
accesses. Although non-consecutive, these pointers are treated like
consecutive pointers during vectorization.
- In collectValuesToIgnore, we insert a value into VecValuesToIgnore if it
isScalarAfterVectorization rather than isUniformAfterVectorization. This
differs from the previous functionaly in that we now add getelementptr
instructions that will not be vectorized into VecValuesToIgnore.
This patch also removes the ValuesNotWidened set used for induction variable
scalarization since, after the above changes, it is now equivalent to
isScalarAfterVectorization.
Differential Revision: https://reviews.llvm.org/D22867
llvm-svn: 277460
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Recommitting after fixing test.
When parsing assembly where the line comment syntax is not hash, the
lexer cannot distinguish between hash's that start a hash line comment
and one that is part of an assembly statement and must be distinguished
during parsing. Previously, this was incompletely handled by not checking
for EndOfStatement at the end of statements and interpreting hash
prefixed statements as comments.
Change EndOfStatement Parsing to check for Hash comments and reintroduce
Hash statement parsing to catch previously handled cases.
Reviewers: rnk, majnemer
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D23017
llvm-svn: 277459
|
|
|
|
|
|
|
|
| |
On Darwin, there are some apps that rely on realloc(nullptr, 0) returning a valid pointer. TSan currently returns nullptr in this case, let's fix it to avoid breaking binary compatibility.
Differential Revision: https://reviews.llvm.org/D22800
llvm-svn: 277458
|
|
|
|
|
|
|
|
|
|
|
|
| |
These tests require x86-registered-target, but they don't force the target as
x86 on the command line, which means they will be run and they might fail when
building the x86 backend on another platform (such as AArch64).
Fixes https://llvm.org/bugs/show_bug.cgi?id=28797
Differential Revision: https://reviews.llvm.org/D23054
llvm-svn: 277457
|
|
|
|
| |
llvm-svn: 277456
|
|
|
|
| |
llvm-svn: 277455
|
|
|
|
| |
llvm-svn: 277454
|
|
|
|
|
|
|
|
|
|
| |
This commit is causing problems on gcc-* compiler with version number sufix.
Requires a new solution will post a follow up patch.
Differential revision: https://reviews.llvm.org/D20386
llvm-svn: 277453
|
|
|
|
|
|
| |
targeting ms mode.
llvm-svn: 277452
|
|
|
|
|
|
| |
lines below not to be affected by tweaks of parameters.
llvm-svn: 277451
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added (sra (shl x, 16), 16) to the sext_16_node PatLeaf for ARM to
simplify some pattern matching. This has allowed several patterns
for smul* and smla* to be removed as well as making it easier to add
the matching for the corresponding instructions for Thumb2 targets.
Also added two Pat classes that are predicated on Thumb2 with the
hasDSP flag and UseMulOps flags. Updated the smul codegen test with
the wider range of patterns plus the ThumbV6 and ThumbV6T2 targets.
Differential Revision: https://reviews.llvm.org/D22908
llvm-svn: 277450
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
So far the CloneDetector only respected the kind of each statement when
searching for clones. This patch refines the way the CloneDetector collects data
from each statement by providing methods for each statement kind,
that will read the kind-specific attributes.
For example, statements 'a < b' and 'a > b' are no longer considered to be
clones, because they are different in operation code, which is an attribute
specific to the BinaryOperator statement kind.
Patch by Raphael Isemann!
Differential Revision: https://reviews.llvm.org/D22514
llvm-svn: 277449
|
|
|
|
|
|
| |
expression of assert(). It has side effects.
llvm-svn: 277448
|
|
|
|
|
|
| |
They don't have types and should be using register classes.
llvm-svn: 277447
|
|
|
|
|
|
| |
They don't have types and should be legal.
llvm-svn: 277446
|
|
|
|
| |
llvm-svn: 277445
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
function call expression.
Summary:
The check doesn't mark the template argument as used when the template
argument is a template.
Reviewers: djasper, alexfh
Subscribers: klimek, cfe-commits
Differential Revision: https://reviews.llvm.org/D22803
llvm-svn: 277444
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This introduces basic support for debugging OCaml binaries.
Use of the native compiler with DWARF emission support (see
https://github.com/ocaml/ocaml/pull/574) is required.
Available variables are considered as 64 bits unsigned integers,
their interpretation will be left to a OCaml-made debugging layer.
Differential revision: https://reviews.llvm.org/D22132
llvm-svn: 277443
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
information
Summary:
include-fixer will firstly try to use scoped namespace context information to
search identifier. However, in some cases, it's unsafe to do nested class
search, because it might treat the identifier as a nested class of scoped
namespace.
Given the following code, and the symbol database only has two classes: "foo" and
"b::Bar".
namespace foo { Bar t; }
Before getting fixing, include-fixer will never search "Bar" symbol.
Because it firstly tries to search "foo::Bar", there is no "Bar" in foo namespace,
then it finds "foo" in database finally. So it treats "Bar" is a nested class
of "foo".
Reviewers: bkramer
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D23023
llvm-svn: 277442
|
|
|
|
|
|
|
|
|
|
|
| |
These changes update the schedule model for the P5600 and includes the
rest of the MSA and MIPS32R5 instruction sets.
Reviewers: dsanders, vkalintris
Differential Revision: https://reviews.llvm.org/D21835
llvm-svn: 277441
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Commit 276701 requires that targets have the DSP extensions to use
certain saturating instructions. This requires some corrections.
For ARM ISA the instructions in question are available in all v6*
architectures.
For Thumb2, the instructions in question are available from v6T2.
SSAT and USAT are part of the base architecture while SSAT16 and
USAT16 require the DSP extensions.
Reviewers: rengolin
Subscribers: aemerson, rengolin, samparker, llvm-commits
Differential Revision: https://reviews.llvm.org/D23010
llvm-svn: 277439
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- rename-at is meant to be integrated with editors and works mainly off
of a location in a file, and this is the default
- rename-all is optimized for one or more oldname->newname renames, and
works with clang-apply-replacements
Reviewers: bkramer, klimek
Subscribers: omtcyfz
Differential Revision: https://reviews.llvm.org/D21814
llvm-svn: 277438
|
|
|
|
|
|
|
|
|
|
|
| |
Few simple tweaks allow template parameters to be renamed. See
TemplateTypenameFindBy{TemplateParam|TypeInside}.cpp
Reviewers: alexfh
Differential Revision: https://reviews.llvm.org/D22853
llvm-svn: 277437
|
|
|
|
|
|
|
|
| |
SmallPtrSet
No functionality change intended.
llvm-svn: 277436
|
|
|
|
|
|
|
|
| |
dataWidth check.
Differential Revision: http://reviews.llvm.org/D23055
llvm-svn: 277435
|
|
|
|
| |
llvm-svn: 277434
|
|
|
|
|
|
|
|
|
|
| |
This patch aims to add very basic Emacs integration.
Reviewers: hokein, alexfh
Differential Revision: https://reviews.llvm.org/D23006
llvm-svn: 277433
|
|
|
|
|
|
|
|
|
| |
Previously addends were ignored. This is PR28779.
Patch fixes the issue.
Differential revision: https://reviews.llvm.org/D23011
llvm-svn: 277432
|
|
|
|
| |
llvm-svn: 277431
|
|
|
|
|
|
| |
Move some logic into TII.
llvm-svn: 277430
|
|
|
|
|
|
| |
Differential revision: https://reviews.llvm.org/D20386
llvm-svn: 277429
|
|
|
|
|
|
|
|
| |
The branch relaxation pass has the worst test coverage
of any pass in AArch64. Add a few tests that hit some
large pieces of code in the pass.
llvm-svn: 277428
|
|
|
|
|
|
|
| |
Not all blocks have terminators. I'm not sure how this wasn't
crashing before.
llvm-svn: 277427
|
|
|
|
|
|
|
|
|
|
|
|
| |
emulation for (D)ADDIU, SD/SW and LW/LD instructions
Reviewers: clayborg, jaydeep, bhushan
Subscribers: mohit.bhakkad, slthakur, sdardis, lldb-commits
Differential Revision: https://reviews.llvm.org/D20357
llvm-svn: 277426
|
|
|
|
|
|
| |
adding itineraries to all of the instructions that use the avx512_fp_binop_p class.
llvm-svn: 277422
|
|
|
|
|
|
| |
instructions to match SSE/AVX.
llvm-svn: 277421
|
|
|
|
|
|
| |
This reverts commit r277419.
llvm-svn: 277420
|
|
|
|
|
|
|
|
| |
The sanitizers use C++ but don't require linking with the library.
Differential Revision: https://reviews.llvm.org/D23005
llvm-svn: 277419
|
|
|
|
|
|
|
|
| |
Therefore move some code into reusable macros.
Differential Revision: https://reviews.llvm.org/D22866
llvm-svn: 277418
|
|
|
|
| |
llvm-svn: 277417
|
|
|
|
| |
llvm-svn: 277416
|
|
|
|
| |
llvm-svn: 277415
|