| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
The pointer returned by __RTDynamicCast must be bitcasted. However, it
was not expected that __RTDynamicCast would be invoked, resulting in the
bitcast occuring in a different BasicBlock than the invoke. This caused
a down-stream PHI to get confused about which BasicBlock the incomming
value was from.
This fixes PR25606.
llvm-svn: 253843
|
| |
|
|
| |
llvm-svn: 253842
|
| |
|
|
| |
llvm-svn: 253841
|
| |
|
|
|
|
|
| |
(NFC)
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 253840
|
| |
|
|
|
| |
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 253839
|
| |
|
|
| |
llvm-svn: 253838
|
| |
|
|
| |
llvm-svn: 253837
|
| |
|
|
| |
llvm-svn: 253836
|
| |
|
|
| |
llvm-svn: 253835
|
| |
|
|
| |
llvm-svn: 253834
|
| |
|
|
| |
llvm-svn: 253833
|
| |
|
|
| |
llvm-svn: 253832
|
| |
|
|
|
|
| |
Mark the unit test as applying to all platforms.
llvm-svn: 253831
|
| |
|
|
|
|
| |
Fixes some broken checks.
llvm-svn: 253830
|
| |
|
|
| |
llvm-svn: 253829
|
| |
|
|
| |
llvm-svn: 253828
|
| |
|
|
| |
llvm-svn: 253827
|
| |
|
|
| |
llvm-svn: 253826
|
| |
|
|
| |
llvm-svn: 253825
|
| |
|
|
|
|
| |
Placeholder for upcoming patch for PR23022.
llvm-svn: 253824
|
| |
|
|
| |
llvm-svn: 253823
|
| |
|
|
| |
llvm-svn: 253822
|
| |
|
|
| |
llvm-svn: 253821
|
| |
|
|
|
|
|
|
| |
Duplicate a few common definitions between DFAPacketizer.cpp and
DFAPacketizerEmitter.cpp to avoid including files from CodeGen
in TableGen.
llvm-svn: 253820
|
| |
|
|
|
|
|
|
|
| |
ISERT_SUBVECTOR for i1 vectors may be done with shifts, when we insert into the lower part, or into the upper part, on into all-zero vector.
CONCAT_VECTORS uses ISERT_SUBVECTOR.
Differential Revision: http://reviews.llvm.org/D14815
llvm-svn: 253819
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Trying to build up access functions for any of these blocks is likely to fail,
as error blocks may contain invalid/non-representable instructions, and blocks
dominated by error blocks may reference such instructions, which wil also cause
failures. As all of these blocks are anyhow assumed to not be executed, we can
just remove them early on.
This fixes http://llvm.org/PR25596
llvm-svn: 253818
|
| |
|
|
|
|
| |
resolved by a call to yield_value / return_value before rejecting them.
llvm-svn: 253817
|
| |
|
|
| |
llvm-svn: 253816
|
| |
|
|
| |
llvm-svn: 253815
|
| |
|
|
|
|
|
|
|
|
| |
In profile runtime implementation for Darwin, Linux and FreeBSD, the
names of sections holding profile control/counter/naming data need
to be known by the runtime in order to locate the start/end of the
data. Moving the name definitions to the common file to specify the
connection.
llvm-svn: 253814
|
| |
|
|
|
|
|
|
|
| |
Cross compiling from linux and OSX results in Error: Exec format.
This is because the linker is expecting ELF formated objects.
By passing the target we can explicitly tell the linker that
it should be linking COFF objects regardless of the host.
llvm-svn: 253813
|
| |
|
|
| |
llvm-svn: 253812
|
| |
|
|
|
|
| |
co_await and co_yield, and use it to hold await_* calls.
llvm-svn: 253811
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
FIXME: This can be reverted several hours later.
r253790 introduced cyclic deps around llvm-tblgen and it was affecting after reverting.
ninja: error: dependency cycle: include/llvm/IR/Attributes.inc -> include/llvm/IR/Attributes.inc.tmp -> bin/llvm-tblgen -> utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DFAPacketizerEmitter.cpp.o -> include/llvm/IR/Attributes.inc
It may be a ninja's bug.
FYI, renaming DFAPacketizerEmitter.cpp would be useless.
llvm-svn: 253810
|
| |
|
|
|
|
| |
These are shared definitions too. (NFC)
llvm-svn: 253809
|
| |
|
|
|
|
| |
Suggested by: David Blaikie.
llvm-svn: 253808
|
| |
|
|
|
|
|
|
|
|
| |
Add more complete description of the content and structure
of the template file. Made the comment in C style to be
shared by C runtime. Also enhance the file structure so
that it can included as standalone header for common
definitions.
llvm-svn: 253807
|
| |
|
|
|
|
|
| |
ValueProfKind value affects runtime data structure and
definition is shared between compiler-rt and LLVM.
llvm-svn: 253806
|
| |
|
|
| |
llvm-svn: 253805
|
| |
|
|
|
|
|
|
|
|
|
| |
We had two code paths. One would create names like "foo.1" and the other
names like "foo1".
For globals it is important to use "foo.1" to help C++ name demangling.
For locals there is no strong reason to go one way or the other so I
kept the most common mangling (foo1).
llvm-svn: 253804
|
| |
|
|
|
|
| |
To enable code sharing with compiler-rt (NFC)
llvm-svn: 253803
|
| |
|
|
| |
llvm-svn: 253802
|
| |
|
|
| |
llvm-svn: 253801
|
| |
|
|
|
|
|
| |
This is the default since a long time. Setting it again does not add value
in any of these test cases.
llvm-svn: 253800
|
| |
|
|
|
|
| |
Hope this won't break any hardware next.
llvm-svn: 253799
|
| |
|
|
| |
llvm-svn: 253798
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
With this patch, lld creates PT_GNU_STACK segments only when all input
files have .note.GNU-stack sections. This is in line with other linkers
with a minor difference (we don't care about .note.GNU-stack rwx bits as
you can always remove .note.GNU-stack sections instead of setting x bit.)
At least, NetBSD loader does not understand PT_GNU_STACK segments and
reject any executables that have the section. This patch makes lld
compatible with such operating systems.
llvm-svn: 253797
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Several fixes to the handling of bitcode files without function summary
sections so that they are skipped during ThinLTO processing in llvm-lto
and the gold plugin when appropriate instead of aborting.
1 Don't assert when trying to add a FunctionInfo that doesn't have
a summary attached.
2 Skip FunctionInfo structures that don't have attached function summary
sections when trying to create the combined function summary.
3 In both llvm-lto and gold-plugin, check whether a bitcode file has
a function summary section before trying to parse the index, and skip
the bitcode file if it does not.
4 Fix hasFunctionSummaryInMemBuffer in BitcodeReader, which had a bug
where we returned to early while looking for the summary section.
Also added llvm-lto and gold-plugin based tests for cases where we
don't have function summaries in the bitcode file. I verified that
either the first couple fixes described above are enough to avoid the
crashes, or fixes 1,3,4. But have combined them all here for added
robustness.
Reviewers: joker.eph
Subscribers: llvm-commits, joker.eph
Differential Revision: http://reviews.llvm.org/D14903
llvm-svn: 253796
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
additional offset.
MachineInstrBuilder::addDisp can already add an immediate or global address MO with an adjusted offset, this patch adds support for constant pool indices as well.
All remaining MO types still assert - there are a number of other types that could support adjusted offsets but I have no test cases at this time.
Required to fix a regression in D13988 found by Mikael Holmén during stress testing (test case attached).
Differential Revision: http://reviews.llvm.org/D14867
llvm-svn: 253795
|
| |
|
|
|
|
|
|
| |
The most interesting change for Polly in this isl update is 4d5654af which
in certain cases can speed up the construction of run-time checks from an isl
set consisting of several disjuncts significantly.
llvm-svn: 253794
|