- Sep 19, 2017
-
-
Gadi Haber authored
This patch adds the instruction scheduling information for the SkylakeClient (SKL) architecture target by adding the file X86SchedSkylakeClient.td located under the X86 Target. We used the scheduling information retrieved from the Skylake architects in order to create the file. The scheduling information includes latency, number of micro-Ops and used ports by each SKL instruction. The patch continues the scheduling replacement and insertion effort started with the SNB target in r307529 and r310792 and for HSW in r311879. Please expect some performance fluctuations due to code alignment effects. Reviewers: craig.topper, zvi, chandlerc, igorb, aymanmus, RKSimon, delena Differential Revision: https://reviews.llvm.org/D37294 llvm-svn: 313613
-
Craig Topper authored
We canonicalize undef preserved sources to zero during intrinsic lowering. llvm-svn: 313612
-
Hongbin Zheng authored
[LLVM] [RegionInfo] Introduce getExitingBlocks to get all predecessors of Exit in the current region. This function will return true if all predecessors of Exit are in the current region, false otherwise. Differential Revision: https://reviews.llvm.org/D36210 llvm-svn: 313611
-
Craig Topper authored
llvm-svn: 313610
-
Tom Stellard authored
This is a follow up to r313608. llvm-svn: 313609
-
Tom Stellard authored
Reviewers: hansw, hans Reviewed By: hans Subscribers: hans, llvm-commits Differential Revision: https://reviews.llvm.org/D37936 llvm-svn: 313608
-
Zachary Turner authored
This reverts commit 4ad71811d45268d81b60f27e3b8b2bcbc23bd7b9. There is a bot that is checking out libcxx and lit with nothing else and then running lit.py against the test tree. Since there's no LLVM source tree, there's no LLVM CMake. CMake actually reports this as a warning saying unsupported libcxx configuration, but I guess someone is depending on it anyway. llvm-svn: 313607
-
Zachary Turner authored
Differential Revision: https://reviews.llvm.org/D37997 llvm-svn: 313606
-
Vlad Tsyrklevich authored
Move logic that allows for Triple deduction from an ObjectFile object out of llvm-objdump.cpp into a public factory, found in the ObjectFile class. This should allow other tools in the future to use this logic without reimplementation. Patch by Mitch Phillips Differential Revision: https://reviews.llvm.org/D37719 llvm-svn: 313605
-
Vedant Kumar authored
Use the same logic as the line-oriented coverage view to determine the number of covered lines in a function. Fixes llvm.org/PR34615. llvm-svn: 313604
-
Vedant Kumar authored
As a special case, throw away deferred regions for trailing returns. This allows the closing curly brace to have a count, and is less distracting. llvm-svn: 313603
-
Vedant Kumar authored
Addresses bot failure: http://lab.llvm.org:8011/builders/clang-ppc64le-linux/builds/9803 llvm-svn: 313602
-
Zachary Turner authored
I think this is what is causing the build to constantly encounter tree conflicts. llvm-svn: 313601
-
Hans Wennborg authored
It relied on r313400 which was reverted in r313589. llvm-svn: 313600
-
Vedant Kumar authored
llvm-svn: 313599
-
Vedant Kumar authored
This will make it possible for llvm-cov to pick better line execution counts, and is part of the fix for llvm.org/PR34612. llvm-svn: 313598
-
Vedant Kumar authored
After clang started emitting deferred regions (r312818), llvm-cov has had a hard time picking reasonable line execuction counts. There have been one or two generic improvements in this area (e.g r310012), but line counts can still report coverage for whitespace instead of code (llvm.org/PR34612). To fix the problem: * Introduce a new region kind so that frontends can explicitly label gap areas. This is done by changing the encoding of the columnEnd field of MappingRegion. This doesn't substantially increase binary size, and makes it easy to maintain backwards-compatibility. * Don't set the line count to a count from a gap area, unless the count comes from a wrapped segment. * Don't highlight gap areas as uncovered. Fixes llvm.org/PR34612. llvm-svn: 313597
-
Vedant Kumar authored
The checks with the MARKER prefix were not being run over the right input, because stderr was not redirected properly. llvm-svn: 313596
-
Vedant Kumar authored
Now that that segment builder is guaranteed to produce segments in sorted order, we don't need a linear scan to get the right result. llvm-svn: 313595
-
Zachary Turner authored
Since the path a user specifies to the llvm-lit script might be different than the source tree they built from (since they could be behind different symlinks), we need to use realpath to make sure that path comparisons work as expected. Even better would be to use a custom dictionary comparison with actual file equivalence comparison semantics, but this is the least friction to unbreak things for now. llvm-svn: 313594
-
Yonghong Song authored
Signed-off-by:
Yonghong Song <yhs@fb.com> Acked-by:
Alexei Starovoitov <ast@kernel.org> llvm-svn: 313593
-
Yi Kong authored
Differential Revision: https://reviews.llvm.org/D37993 llvm-svn: 313592
-
Yi Kong authored
Differential Revision: https://reviews.llvm.org/D37995 llvm-svn: 313591
-
Zachary Turner authored
I was using the pattern as the source string and vice versa causing strange regular expression errors. llvm-svn: 313590
-
Hans Wennborg authored
This caused asserts in Chromium. See http://crbug.com/766261 > Summary: > This comes up in optimized debug info for C++ programs that pass and > return objects indirectly by address. In these programs, > llvm.dbg.declare survives optimization, which causes us to emit indirect > DBG_VALUE instructions. The fast register allocator knows to insert > DW_OP_deref when spilling indirect DBG_VALUE instructions, but the > LiveDebugVariables did not until this change. > > This fixes part of PR34513. I need to look into why this doesn't work at > -O0 and I'll send follow up patches to handle that. > > Reviewers: aprantl, dblaikie, probinson > > Subscribers: qcolombet, hiraditya, llvm-commits > > Differential Revision: https://reviews.llvm.org/D37911 llvm-svn: 313589
-
Rui Ueyama authored
ID sounds like an identifier, but this is actually a pointer to a section. llvm-svn: 313588
-
Rui Ueyama authored
EhSectionPiece inherited from SectionPiece, but we did not actually use EhSectionPiece objects as SectionPiece ojbects. They were handled as distinct types. So it didn't make much sense to use inheritance. llvm-svn: 313587
-
Rui Ueyama authored
llvm-svn: 313586
-
Vitaly Buka authored
Breaks build. This reverts commit r313583 and r313584. llvm-svn: 313585
-
Vitaly Buka authored
llvm-svn: 313584
-
Vitaly Buka authored
On Linux we may need preinit_array in static lib and ubsan_standalone_initializer in shared lib. llvm-svn: 313583
-
Zachary Turner authored
llvm-svn: 313580
-
Zachary Turner authored
NFC intended here, this only updates clang and lld's lit configs to use some helper functionality in the lit.llvm submodule. llvm-svn: 313579
-
Adrian Prantl authored
llvm-svn: 313578
-
Sanjay Patel authored
If we have an AssertZext of a truncated value that has already been AssertZext'ed, we can assert on the wider source op to improve the zext-y knowledge: assert (trunc (assert X, i8) to iN), i1 --> trunc (assert X, i1) to iN This moves a fold from being Mips-specific to general combining, and x86 shows improvements. Differential Revision: https://reviews.llvm.org/D37017 llvm-svn: 313577
-
Eric Fiselier authored
llvm-svn: 313576
-
Sanjay Patel authored
The code responsible for these transforms has the potential to add 2 instructions and break min/max patterns (PR33301). llvm-svn: 313575
-
Zachary Turner authored
This is useful when debugging CMake problems. llvm-svn: 313574
-
Adrian Prantl authored
llvm-svn: 313573
-
Vitaly Buka authored
llvm-svn: 313572
-