| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Fixes PR23809. Without passing the context to SimplifyICmpInst, we would
use the assume to prove that the condition feeding the assume is
trivially true (see isValidAssumeForContext in ValueTracking.cpp),
causing the removal of the assume which may be useful for later
optimizations.
Test Plan: pr23800.ll
Reviewers: hfinkel, majnemer
Reviewed By: hfinkel
Subscribers: henryhu, llvm-commits, wengxt, broune, meheff, eliben
Differential Revision: http://reviews.llvm.org/D10695
llvm-svn: 240683
|
| |
|
|
| |
llvm-svn: 240682
|
| |
|
|
|
|
|
|
|
|
|
|
| |
We already disallowed
.global .Lfoo
so this is reasonable.
This is a small cherry pick from r240130.
llvm-svn: 240681
|
| |
|
|
|
|
|
| |
To match the '-ccc-print-phases' command-line flag.
Also make two more 'for' loops range-based. NFC
llvm-svn: 240680
|
| |
|
|
|
|
| |
It was matching at EOF regardless of whether the section was present.
llvm-svn: 240679
|
| |
|
|
| |
llvm-svn: 240678
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
runtime in "expression parser mode"
The expression parser mode allows UnknownAnyTy to make it all the way through, but that is bad for ivars because it means type layout fails horribly (as in, clang crashes)
This patch fixes the issue by using the "variables view mode", which masks UnknownAnyTy as empty-type, and pointer-to UnknownAnyTy as void*
This, in turn, allows LLDB to properly reconstruct ivars of IMP type in ObjC type - as per accompanying test case
Fixes rdar://21471326
llvm-svn: 240677
|
| |
|
|
| |
llvm-svn: 240676
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Only SectionChunk can be dead-stripped. Previously,
all types of chunks implemented these functions,
but their functions were blank.
Likewise, only DefinedRegular and DefinedCOMDAT symbols
can be dead-stripped. markLive() function was implemented
for other symbol types, but they were blank.
I started thinking that the change I made in r240319 was
a mistake. I separated DefinedCOMDAT from DefinedRegular
because I thought that would make the code cleaner, but now
we want to handle them as the same type here. Maybe we
should roll it back.
This change should improve readability a bit as this removes
some dubious uses of reinterpret_cast. Previously, we
assumed that all COMDAT chunks are actually SectionChunks,
which was not very obvious.
llvm-svn: 240675
|
| |
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D10738
llvm-svn: 240674
|
| |
|
|
| |
llvm-svn: 240673
|
| |
|
|
|
|
|
| |
MemIntrinsicSDNode is already a subclass of MemSDNode,
so the MemSDNode check is sufficient.
llvm-svn: 240672
|
| |
|
|
|
|
| |
are available.
llvm-svn: 240671
|
| |
|
|
|
|
|
|
|
| |
This previously caused miscompilations as a result of phi nodes receiving
undef incoming values from blocks dominated by such successors.
Differential Revision: http://reviews.llvm.org/D10726
llvm-svn: 240670
|
| |
|
|
|
|
|
|
|
|
|
| |
Integer variants are implemented as atomicrmw or cmpxchg instructions.
Atomic add for floating point (__nvvm_atom_add_gen_f()) is implemented
as a call to an overloaded @llvm.nvvm.atomic.load.add.f32.* LVVM
intrinsic.
Differential Revision: http://reviews.llvm.org/D10666
llvm-svn: 240669
|
| |
|
|
|
|
| |
Random failures on the bots.
llvm-svn: 240668
|
| |
|
|
| |
llvm-svn: 240666
|
| |
|
|
| |
llvm-svn: 240665
|
| |
|
|
| |
llvm-svn: 240664
|
| |
|
|
|
|
| |
http://reviews.llvm.org/D10309
llvm-svn: 240663
|
| |
|
|
|
|
|
|
|
|
|
| |
The language can not be definitively determined from the mangling, so
this new name helps clarify that fact. This addresses the concerns raised
in http://reviews.llvm.org/rL226962.
Reviewed by: clayborg
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D10723
llvm-svn: 240662
|
| |
|
|
|
|
|
| |
The size of the field is 16 bit, so it's inaccurate if the
number of relocations in a section is more than 65535.
llvm-svn: 240661
|
| |
|
|
|
|
| |
http://reviews.llvm.org/D10711
llvm-svn: 240660
|
| |
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D10664
llvm-svn: 240659
|
| |
|
|
| |
llvm-svn: 240658
|
| |
|
|
|
|
|
|
|
|
|
|
| |
There were two issues:
* ISL's configure generates include/isl/stdint.h, not isl/stdint.h as
assumed. This is also changed in the CMake build.
* Need to pass --with-int=imath to ISL's configure; the default is gmp.
Polly's configure has been regenerated due to changing configure.ac
llvm-svn: 240657
|
| |
|
|
| |
llvm-svn: 240656
|
| |
|
|
|
|
| |
This matches gnu nm and has the advantage that there is a upper case N.
llvm-svn: 240655
|
| |
|
|
|
|
|
|
| |
name. The local should not be renamed, only the externally-available declaration should be.
Patch by Andrey Bokhanko!
llvm-svn: 240653
|
| |
|
|
|
|
|
| |
it seems the failure happens also with clang. The main thing which triggers the failure is
architecture.
llvm-svn: 240652
|
| |
|
|
|
|
|
| |
On Linux malloc calls itself in some case. Change the test case to
handle this scenario.
llvm-svn: 240651
|
| |
|
|
|
|
|
|
|
| |
This patch adds support for the vector merge even word and vector merge odd word
instructions introduced in POWER8.
Phabricator review: http://reviews.llvm.org/D10704
llvm-svn: 240650
|
| |
|
|
|
|
|
|
|
|
|
| |
Check for symbols in MCValue before using them. Bail out early in case
they are null. This fixes PR23779.
Differential Revision: http://reviews.llvm.org/D10712
rdar://problem/21532830
llvm-svn: 240649
|
| |
|
|
|
|
|
|
| |
unw_getcontext() should return UNW_ESUCCESS on success. Therefore, the
assembly for AArch64 is incorrect because "ldr x0, #0" is a PC-relative
load instead of an immediate value load.
llvm-svn: 240648
|
| |
|
|
| |
llvm-svn: 240647
|
| |
|
|
| |
llvm-svn: 240646
|
| |
|
|
| |
llvm-svn: 240645
|
| |
|
|
|
|
|
|
| |
* Have it return a iterator_range.
* Remove the global function.
* Rename to getDynamicSymbolIterators.
llvm-svn: 240644
|
| |
|
|
|
|
|
|
| |
Patch by takeshi-yoshimura!
Differential Revision: http://reviews.llvm.org/D10145
llvm-svn: 240643
|
| |
|
|
|
|
|
| |
We still have to support C++11 standard libraries, make_unique is a C++14
feature.
llvm-svn: 240642
|
| |
|
|
|
|
| |
No functionality change intended.
llvm-svn: 240641
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This is a utility for clients that want to insert a layer that modifies
each ObjectFile and then passes it along to the next layer.
Reviewers: lhames
Reviewed By: lhames
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D10456
llvm-svn: 240640
|
| |
|
|
|
|
| |
No functional change intended.
llvm-svn: 240639
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
the original bug was fixed (a rogue breakpoint messing up inferior data structures) and the tests
seems to pass now. Since android has a default SEGV handler, I have had to alter the test
expectation in this case.
Test Plan: Tests pass on android arm.
Reviewers: tberghammer
Subscribers: tberghammer, aemerson, lldb-commits
Differential Revision: http://reviews.llvm.org/D10733
llvm-svn: 240638
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Simplify emitDirectiveModuleFP() by having it just print the current information
from MipsABIFlagsSection and doing an updateABIInfo() before such calls.
This prevents us from forgetting to update the STI.FeatureBits,
because updateABIInfo() uses those to update the MipsABIFlagsSection object,
and also makes sure we use the update mechanism from MipsABIFlagsSection.
Reviewers: dsanders
Reviewed By: dsanders
Subscribers: llvm-commits, mpf
Differential Revision: http://reviews.llvm.org/D10642
llvm-svn: 240637
|
| |
|
|
|
|
|
|
| |
Reviewed By: hfinkel
Differential Revision: http://reviews.llvm.org/D10475
llvm-svn: 240636
|
| |
|
|
|
|
| |
the thread creation failure was fixed, but a backtracing problem remains in some situations.
llvm-svn: 240635
|
| |
|
|
|
|
|
|
|
|
|
|
| |
As pointed out by Justin Bogner (see r240520), SystemZDAGToDAGISel::Select
currently attempts to convert boolean operations into RxSBG even on some
non-integer types (in particular, vector types). This would not work in
any case, and it happened to trigger undefined behaviour in allOnes.
This patch verifies that we have a (<= 64-bit) integer type before
attempting to perform this optimization.
llvm-svn: 240634
|
| |
|
|
| |
llvm-svn: 240633
|
| |
|
|
|
|
|
| |
The tested functionality is implemented now. The test remains XTIMEOUTed, because it times out
occasionally, probably due to test suite deficiencies.
llvm-svn: 240632
|