| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
DIBuilder ignoers DICompileUnits that are passed in as scopes anyway.
llvm-svn: 248077
|
| |
|
|
| |
llvm-svn: 248076
|
| |
|
|
| |
llvm-svn: 248075
|
| |
|
|
|
|
|
|
|
| |
(icmp eq (ashr C1, %V) -1) may have multiple answers if C1 is not a
power of two and has the sign bit set.
This fixes PR24873.
llvm-svn: 248074
|
| |
|
|
|
|
| |
correctly
llvm-svn: 248073
|
| |
|
|
|
|
|
|
| |
curses is implemented. Try it out with:
./dotest.py --results-formatter=test_results.Curses --results-file=/dev/stdout
llvm-svn: 248072
|
| |
|
|
| |
llvm-svn: 248071
|
| |
|
|
| |
llvm-svn: 248070
|
| |
|
|
|
|
|
|
| |
of ASTSourceDescriptor. It was effectively a static function.
NFC.
llvm-svn: 248069
|
| |
|
|
| |
llvm-svn: 248068
|
| |
|
|
| |
llvm-svn: 248067
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The test events had worker indexes coming across as strings. I
want them to be ints. worker_index now comes across as an int in
the dicationary.
The optional type can be specified with:
--event-add-entries key=val[:type][,key2=val2[:type2]...]
The type piece may be 'int' at this time. That is all. Otherwise
it will be a string.
llvm-svn: 248066
|
| |
|
|
|
|
| |
dealing with forward declarations.
llvm-svn: 248065
|
| |
|
|
|
|
|
|
|
| |
Binary literals predate C++14, but they are listed as a C++14 extension since
this was the first time they were standardized in the language. Move the
warning into a subgroup so it can be selectively disabled when checking for
other C++14 features.
llvm-svn: 248064
|
| |
|
|
|
|
|
| |
This patch saves 4 ms out of 5 ms. Very small improvement,
but maybe better than nothing.
llvm-svn: 248063
|
| |
|
|
|
|
|
|
|
| |
We don't want a skeleton CU when generating debug info for the module
itself.
NFC.
llvm-svn: 248062
|
| |
|
|
| |
llvm-svn: 248061
|
| |
|
|
|
|
|
| |
The test_filename is the full path to the TestCase class's
implementation file.
llvm-svn: 248060
|
| |
|
|
|
|
|
| |
See the following for details:
http://reviews.llvm.org/D12987
llvm-svn: 248059
|
| |
|
|
|
|
|
| |
- Fix race condition of `Redo`
- Avoid std::distance
llvm-svn: 248058
|
| |
|
|
|
|
|
|
|
| |
use it
The failure mode when one gets this wrong is quite gnarly to then walk oneself out of, and if you can't actually find the library, trying to build against it is fairly pointless anyway
This + my previous skip_if_library_missing change should make running the libc++ tests on a Linux machine without it much more seamless
llvm-svn: 248057
|
| |
|
|
| |
llvm-svn: 248056
|
| |
|
|
|
|
|
|
| |
zturner!
http://reviews.llvm.org/D12984
llvm-svn: 248055
|
| |
|
|
| |
llvm-svn: 248054
|
| |
|
|
|
|
|
|
| |
by passing in a CompilerInstance instead of all its individual members.
NFC.
llvm-svn: 248053
|
| |
|
|
|
|
|
|
| |
Self-hosting took 801 ms on my machine. Of which this function took
69 ms. Now it takes 37 ms. That is about 4% overall performance
improvement.
llvm-svn: 248052
|
| |
|
|
| |
llvm-svn: 248051
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Name `Out` refers to the parameter. It is moved into the member `Out`
in ctor-init. Dereferencing null pointer will crash clang, if user
passes '-analyzer-viz-egraph-ubigraph' argument.
Reviewers: zaks.anna, krememek
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D12119
llvm-svn: 248050
|
| |
|
|
| |
llvm-svn: 248049
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We use the symbolic link to resolver to find the target of the LLDB shlib
symlink if there is a symlink. This allows us to find shlib-relative resources
even when running under the testsuite, where _lldb.so is a symlink in the Python
resource directory.
Also changed a comment to be slightly more clear about what resolve_path in the
constructor for FileSpec means, since if we were actually using realpath() this
code wouldn't have been necessary.
http://reviews.llvm.org/D12984
llvm-svn: 248048
|
| |
|
|
|
|
|
| |
`llvm-mi` now depends on the regex functionality available in LLVM's
support library.
llvm-svn: 248047
|
| |
|
|
|
|
| |
a couple of macro builtin redefines.
llvm-svn: 248046
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
If an induction variable is provably non-negative, its sign extension is
equal to its zero extension. This means narrow uses like
icmp slt iNarrow %indvar, %rhs
can be widened into
icmp slt iWide zext(%indvar), sext(%rhs)
Reviewers: atrick, mcrosier, hfinkel
Subscribers: hfinkel, reames, llvm-commits
Differential Revision: http://reviews.llvm.org/D12745
llvm-svn: 248045
|
| |
|
|
| |
llvm-svn: 248044
|
| |
|
|
|
|
|
|
| |
Generation of clang symlinks now uses add_clang_symlink macro which uses add_llvm_symlink. Also the list of symlinks to generate is configurable via CLANG_LINKS_TO_CREATE.
This re-lands r248015, with fixes for clang symlinks to always be generated as part of the clang and install-clang targets.
llvm-svn: 248043
|
| |
|
|
| |
llvm-svn: 248042
|
| |
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D12973
llvm-svn: 248041
|
| |
|
|
| |
llvm-svn: 248040
|
| |
|
|
|
|
| |
This implements the behavior required for clang symlinks which should be always generated.
llvm-svn: 248039
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The LLD's ICF algorithm is highly parallelizable. This patch does that
using parallel_for_each.
ICF accounted for about one third of total execution time. Previously,
it took 324 ms when self-hosting. Now it takes only 62 ms.
Of course your mileage may vary. My machine is a beefy 24-core Xeon machine,
so you may not see this much speedup. But this optimization should be
effective even for 2-core machine, since I saw speedup (324 ms -> 189 ms)
when setting parallelism parameter to 2.
llvm-svn: 248038
|
| |
|
|
|
|
|
|
|
|
|
| |
The signature may not have been computed at the time the module reference
is generated (e.g.: in the future while emitting debug info for a clang
module). Using the full module name is safe because each clang module may
only have a single definition.
NFC.
llvm-svn: 248037
|
| |
|
|
|
|
| |
See http://reviews.llvm.org/D12983 for details.
llvm-svn: 248036
|
| |
|
|
| |
llvm-svn: 248035
|
| |
|
|
|
|
|
|
|
|
| |
LLVM r217812 made it so that clang-cl implicitly creates bigobj files when
needed, independent of this flag. It looks like cl has this flag to produce obj
flags compatible with MSVS 2003's linker by default, something we don't care
about. Since clang-cl always has /bigobj behavior, don't warn that the flag is
unused, just ignore it silently.
llvm-svn: 248034
|
| |
|
|
|
|
| |
This time handle " and - after clang and lld.
llvm-svn: 248033
|
| |
|
|
| |
llvm-svn: 248032
|
| |
|
|
|
|
|
|
|
| |
The problem this time was the /clang matching the InstalledDir line.
Now we just use regular expressions which are more flexible, if a bit less
readable, than CHECK+CHECK-SAME.
llvm-svn: 248031
|
| |
|
|
|
|
|
|
| |
In if-conversion, there is a utility function MergeBlocks() that is used to merge blocks. However, when new edges are built in this function the edge weight is either not provided or not updated properly, leading to a modified CFG with incorrect edge weights. This patch corrects this issue.
Differential Revision: http://reviews.llvm.org/D12513
llvm-svn: 248030
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CHECK-LABEL assumes that there is only one occurrence of the match.
The output looks like:
clang version 3.8.0 (trunk 247999)
....
/path/to/build/dir/bin/clang-3.8 ....
If the path contains lld, the second CHECK-LABEL matches it and we fail since
there is no -cc1as between clang and lld.
llvm-svn: 248029
|
| |
|
|
| |
llvm-svn: 248028
|