- Jun 16, 2016
-
-
Craig Topper authored
[X86] Pre-size some SmallVectors using the constructor in the shuffle lowering code instead of using push_back. Some of these already did this but used resize or assign instead of the constructor. NFC llvm-svn: 272872
-
Craig Topper authored
llvm-svn: 272871
-
Derek Bruening authored
Fixes another interceptor issue where an app with a static tcmalloc library that prevents our early-calloc handling from triggering yet does not have a static mmap crashes in our mmap interceptor. The solution is to call internal_mmap when REAL(mmap) is not yet set up. llvm-svn: 272870
-
Craig Topper authored
[X86] Inline a couple lambdas into their callers since they are only used once and it all fits on a single line. NFC llvm-svn: 272869
-
Eli Friedman authored
The original check for load CSE or store-to-load forwarding is wrong when the forwarded stored value happened to be a load. Ref https://github.com/JuliaLang/julia/issues/16894 Differential Revision: http://reviews.llvm.org/D21271 Patch by Yichao Yu! llvm-svn: 272868
-
George Burgess IV authored
llvm-svn: 272867
-
Vitaly Buka authored
Bot sets ASAN_OPTIONS=handle_abort=1 which prevents expected crash. llvm-svn: 272866
-
Tim Northover authored
The backend has been around for years, it's pretty ridiculous that we can't even use the preferred form for printing "MOV" aliases. Unfortunately, TableGen can't handle the complex predicates when printing so it's a bunch of nasty C++. Oh well. llvm-svn: 272865
-
Reid Kleckner authored
Clang now emits these, and these match MSVC. Should allow more powerful merging of type records across TUs. llvm-svn: 272864
-
Vitaly Buka authored
llvm-svn: 272863
-
Reid Kleckner authored
We implemented the mangling for this a long time ago. llvm-svn: 272862
-
Eric Christopher authored
llvm-svn: 272861
-
Matt Arsenault authored
Disabling the pre-RA scheduler on large-work-group-registers causes it to be ~50% slower. llvm-svn: 272860
-
Paul Robinson authored
Parameters and non-static members of aggregates are still excluded, and probably should remain that way. Differential Revision: http://reviews.llvm.org/D19754 llvm-svn: 272859
-
Vitaly Buka authored
Summary: [libFuzzer] Enable afl_driver to append stderr to a user specified file. Append stderr of afl_driver to the file specified by the environmental variable AFL_DRIVER_STDERR_DUPLICATE_FILENAME if it is set. This lets users see outputs on crashes without rerunning crashing test cases (which won't work for crashes that are difficult to reproduce). Before this patch, stderr would only be sent to afl-fuzz and users would have no way of seeing it. Reviewers: llvm-commits, aizatsky, kcc, vitalybuka Subscribers: vitalybuka Differential Revision: http://reviews.llvm.org/D21194 llvm-svn: 272858
-
Justin Lebar authored
Summary: Previously if you did e.g. $ clang -march=haswell -x cuda foo.cu we would pass "-march=haswell -march=sm_20" down to the ptxas tool. This causes it to assert, and rightly so! Reviewers: tra Subscribers: cfe-commits, echristo Differential Revision: http://reviews.llvm.org/D21419 llvm-svn: 272857
-
Evgeniy Stepanov authored
llvm-svn: 272856
-
Justin Lebar authored
Summary: This reverts the changes to Globals.cpp and IRMover.cpp in "[IR] Copy comdats in GlobalObject::copyAttributesFrom" (D20631, rL270743). The DeadArgElim test is left unchanged, and we change DAE to explicitly copy comdats. The reverted change breaks copyAttributesFrom when the destination lives in a different module from the source. The decision in D21255 was to revert this patch and handle comdat copying separately from copyAttributesFrom. Reviewers: majnemer, rnk Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D21403 llvm-svn: 272855
-
Justin Lebar authored
Summary: This is necessary to keep the verifier happy after bugpoint removes an initializer from a global variable with a comdat annotation, because globals without initializers may not have comdats. Reviewers: majnemer, rnk Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D21274 llvm-svn: 272854
-
Evgeniy Stepanov authored
Broken in r272717 because of no test coverage. llvm-svn: 272853
-
Artem Belevich authored
Otherwise it produces compiler warning if asserts are disabled. llvm-svn: 272852
-
Adam Nemet authored
LoopVectorizationLegality holds a constant reference to LAI, so this will have to be const as well. Also added missed function comment. llvm-svn: 272851
-
Xinliang David Li authored
llvm-svn: 272850
-
Chad Rosier authored
llvm-svn: 272849
-
Sanjay Patel authored
llvm-svn: 272848
-
Xinliang David Li authored
llvm-svn: 272847
-
Chad Rosier authored
llvm-svn: 272846
-
Rafael Espindola authored
This is a reduction from the only symbol in a build of clang that the gold plugin internalizes but lld does not. llvm-svn: 272845
-
Todd Fiala authored
Not sure what changed, but something outside our code is failing one of the EditLine gtests on OS X CI (and locally) before the gtest ever gets to run. This fails the first EditLine gtest. This change exports the TERM as "vt100" before running the lldb-gtest binary, fixing the issue. llvm-svn: 272844
-
Rui Ueyama authored
Differential Revision: http://reviews.llvm.org/D21406 llvm-svn: 272843
-
Davide Italiano authored
llvm-svn: 272842
-
Sanjay Patel authored
The clang side of this was r272840: http://reviews.llvm.org/rL272840 A follow-up step would be to auto-upgrade and remove these LLVM intrinsics completely. Differential Revision: http://reviews.llvm.org/D21269 llvm-svn: 272841
-
Sanjay Patel authored
As noted in the code comment, a potential follow-on would be to remove the builtins themselves. Other than ord/unord, this already works as expected. Eg: typedef float v4sf __attribute__((__vector_size__(16))); v4sf fcmpgt(v4sf a, v4sf b) { return a > b; } Differential Revision: http://reviews.llvm.org/D21268 llvm-svn: 272840 -
Evgeniy Stepanov authored
Also replace mkdir -p with rm -rf && mkdir. llvm-svn: 272839
-
Chad Rosier authored
llvm-svn: 272838
-
Kevin Enderby authored
It was printing out nothing in this case. llvm-objdump tries to disassemble sections a symbol at a time. In the case of a fully stripped Mach-O executable the only symbol remaining in the (__TEXT,__text) section is the special linker defined symbol __mh_execute_header . This symbol is special in that while it is N_SECT symbol in the (__TEXT,__text) its address is before the start of the (__TEXT,__text). It’s address is the start of the __TEXT segment which is where the mach header is statically linked. So the code in DisassembleMachO() needs to deal with this case specially. rdar://26778273 llvm-svn: 272837
-
Krzysztof Parzyszek authored
Fix for PR28138. llvm-svn: 272836
-
Kevin B. Smith authored
llvm-svn: 272835
-
Sanjay Patel authored
Missed this in r272806, r272807. llvm-svn: 272834
-
George Burgess IV authored
This patch makes CFLAA ignore non-pointer values, since we can now sanely do that with the escaping/unknown attributes. Additionally, StratifiedAttrs make more sense to sit on nodes than edges (since they're properties of values, and ultimately end up on the nodes of StratifiedSets). So, this patch puts said attributes on nodes. Patch by Jia Chen. Differential Revision: http://reviews.llvm.org/D21387 llvm-svn: 272833
-