- Sep 23, 2016
-
-
Kostya Serebryany authored
[libFuzzer] simplify the crash minimizer; split MaxLen into two: MaxInputLen and MaxMutationLen, allow MaxMutationLen to be less than MaxInputLen llvm-svn: 282211
-
Sanjay Patel authored
We already have the udiv variant of this transform, so I think this is ok for InstCombine too even though there is an increase in IR instructions. As the tests and TODO comments show, the transform can lead to follow-on combines. This should fix: https://llvm.org/bugs/show_bug.cgi?id=28672 Differential Revision: https://reviews.llvm.org/D24527 llvm-svn: 282209
-
Jim Ingham authored
Also tests for this and the ThreadSpec serialization. llvm-svn: 282207
-
Davide Italiano authored
llvm-svn: 282206
-
Jim Ingham authored
llvm-svn: 282205
-
Vedant Kumar authored
Add two options to the code coverage artifact prep script: * --use-existing-profdata: Use an existing indexed profile instead of merging the same profiles again. * --restrict: Restrict the coverage reporting to the given list of source directories. With this in place, we can teach the coverage bot how to prepare separate reports for each of the llvm tools. llvm-svn: 282204 -
Vedant Kumar authored
llvm-svn: 282203
-
Vedant Kumar authored
We've supported restricting coverage reports to a set of files for a long time. Add support for being able to restrict by entire directories. I suppose this supersedes D20803. llvm-svn: 282202
-
Matthias Braun authored
llvm-svn: 282201
-
Matthias Braun authored
Currently all nodes get added to the NextSU list when they are released, so any candidate must be in that list, making the heuristic ineffective. Remove it for now, we can add it back later in a working fashion if necessary. llvm-svn: 282200
-
Hans Wennborg authored
and also the dependent r282175 "GVN-hoist: do not dereference null pointers" It's causing compiler crashes building Harfbuzz (PR30499). llvm-svn: 282199
-
Xinliang David Li authored
llvm-svn: 282198
-
Davide Italiano authored
The ELF spec doesn't allow relocations to point directly to a deduplicated COMDAT section but this unfortunately happens in practice. Bail out early instead of crashing. Differential Revision: https://reviews.llvm.org/D24750 llvm-svn: 282197
-
Chris Bieneman authored
This code was adding an explicit dependency on libclang because lldb needs clang headers, changing this to instead depend on the clang tablegen targets means we don't have to depend on building the clang bits in libclang that lldb doesn't need. Note this is still a bit of a hack because we're adding the dependency to all lldb libraries, instead of just the ones that need it. llvm-svn: 282196
-
Zachary Turner authored
It doesn't like the implicit conversion from T[] to ArrayRef<T> so I'm using `llvm::makeArrayRef()`. Hopefully I got everything. llvm-svn: 282195
-
Krzysztof Parzyszek authored
Use lane masks for calculating covering and aliasing of register references. llvm-svn: 282194
-
Xinliang David Li authored
llvm-svn: 282193
-
Krzysztof Parzyszek authored
USR_OVF is a subregister of USR, which is a member of CtrRegs. Having both a register and its proper subregister in the same register class has bad consequences for lane mask calculation: based solely on the lane mask info, USR_OVF would not appear to be a subregister of USR. llvm-svn: 282192
-
Krzysztof Parzyszek authored
llvm-svn: 282191
-
Krzysztof Parzyszek authored
llvm-svn: 282190
-
Peter Collingbourne authored
Differential Revision: https://reviews.llvm.org/D24817 llvm-svn: 282189
-
Zachary Turner authored
This change is very mechanical. All it does is change the signature of `Options::GetDefinitions()` and `OptionGroup:: GetDefinitions()` to return an `ArrayRef<OptionDefinition>` instead of a `const OptionDefinition *`. In the case of the former, it deletes the sentinel entry from every table, and in the case of the latter, it removes the `GetNumDefinitions()` method from the interface. These are no longer necessary as `ArrayRef` carries its own length. In the former case, iteration was done by using a sentinel entry, so there was no knowledge of length. Because of this the individual option tables were allowed to be defined below the corresponding class (after all, only a pointer was needed). Now, however, the length must be known at compile time to construct the `ArrayRef`, and as a result it is necessary to move every option table before its corresponding class. This results in this CL looking very big, but in terms of substance there is not much here. Differential revision: https://reviews.llvm.org/D24834 llvm-svn: 282188
-
Vedant Kumar authored
Reviewed-by: rafael llvm-svn: 282187
-
Arnold Schwaighofer authored
rdar://28432565 llvm-svn: 282186
-
Hans Wennborg authored
According to MSDN (see the PR), functions which don't touch any callee-saved registers (including %rsp) don't need any unwind info. This patch makes LLVM not emit unwind info for such functions, to save binary size. Differential Revision: https://reviews.llvm.org/D24748 llvm-svn: 282185
-
Renato Golin authored
Like NetBSD, OpenBSD prefers having a consistent set of typedefs across the architectures it supports over strictly following the ARM ABIs. The diff below makes sure that clang's view of those types matches OpenBSD's system header files. It also adds a test that checks the relevant types on all OpenBSD platforms that clang works on. Hopefully we can add mips64 and powerpc to that list in the future. Patch by Mark Kettenis <mark.kettenis@xs4all.nl> llvm-svn: 282184
-
Zachary Turner authored
llvm-svn: 282183
-
Nemanja Ivanovic authored
Atomic comparison instructions use the sub-word load instruction on Power8 and up but the value is not sign extended prior to the signed word compare instruction. This patch adds that sign extension. llvm-svn: 282182
-
Rafael Espindola authored
Should fix the windows bots. llvm-svn: 282181
-
Rafael Espindola authored
This fixes a case where we would produce an unaligned PT_LOAD. llvm-svn: 282180
-
Enrico Granata authored
llvm-svn: 282179
-
Enrico Granata authored
llvm-svn: 282178
-
Nirav Dave authored
Correctly use alignment size from loaded size not output value size. Reviewers: jyknight, tstellarAMD, arsenm Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D23356 llvm-svn: 282177
-
Rafael Espindola authored
With the recent changes there should always be a 1:1 correspondence in the correct order between OutputSections and OutputSectionCommands. llvm-svn: 282176
-
Sebastian Pop authored
there may be basic blocks without memory accesses, in which case the list of accesses is a null pointer. llvm-svn: 282175
-
Krzysztof Parzyszek authored
Follow-up to r280705: Make sure that the SP is only restored after all data is loaded from the stack frame, if there is no red zone. This completes the fix for https://llvm.org/bugs/show_bug.cgi?id=26519. Differential Revision: https://reviews.llvm.org/D24466 llvm-svn: 282174
-
Rafael Espindola authored
This also fixes the linker script accounting for the ELF header in some places but not in others. llvm-svn: 282173
-
Todd Fiala authored
This started failing recently: TestDarwinLogSourceDebug.py It looks like the behavior of specifying the OS_ACTIVITY_MODE env var with no value used to work for no-info/no-debug content. That doesn't appear to be the case now. Switch to specifying the proper value ('default') when no info-level and no debug-level content is expected. llvm-svn: 282172 -
Todd Fiala authored
Also fixed up a couple misbehaving functions. It is perfectly legal to have env vars with no values (i.e. the '=' and following need not be present). llvm-svn: 282171
-
- Sep 22, 2016
-
-
Zachary Turner authored
A recent patch added support for consumeInteger() and made getAsInteger delegate to this function. A few buildbots are failing as a result with an assertion failure. On a hunch, I tested what happens if I call getAsInteger() on an empty string, and sure enough it crashes the same way that the buildbots are crashing. I confirmed that getAsInteger() on an empty string did not crash before my patch, so I suspect this to be the cause. I also added a unit test for the empty string. llvm-svn: 282170
-