- Jun 28, 2017
-
-
George Rimar authored
Change introduces error reporting policy for DWARFContextInMemory. New callback provided by client is able to handle error on it's side and return Halt or Continue. That allows to either keep current behavior when parser prints all errors but continues parsing object or implement something very different, like stop parsing on a first error and report an error in a client style. Differential revision: https://reviews.llvm.org/D34328 llvm-svn: 306512
-
NAKAMURA Takumi authored
llvm-svn: 306511
-
Craig Topper authored
[InstCombine] Add test case demonstrating that we don't handle icmp eq (trunc (lshr(X, cst1)), cst->icmp (and X, mask), cst when the shift type is larger than 64-bits. NFC llvm-svn: 306510
-
Craig Topper authored
Revert r306508 "[InstCombine] Add test case demonstrating that we don't handle icmp eq (trunc (lshr(X, cst1)), cst->icmp (and X, mask), cst when the shift type is larger than 64-bits. NFC" I accidentally had a extra change in there. llvm-svn: 306509
-
Craig Topper authored
[InstCombine] Add test case demonstrating that we don't handle icmp eq (trunc (lshr(X, cst1)), cst->icmp (and X, mask), cst when the shift type is larger than 64-bits. NFC llvm-svn: 306508
-
Hiroshi Inoue authored
error message CMakeFiles/llvm-lto2.dir/llvm-lto2.cpp.o: In function `dumpSymtab(int, char**)': llvm-lto2.cpp:(.text._ZL10dumpSymtabiPPc+0x238): undefined reference to `llvm::getBitcodeFileContents(llvm::MemoryBufferRef)' collect2: error: ld returned 1 exit status llvm-svn: 306507
-
Dean Michael Berris authored
Followup to D34669. llvm-svn: 306506
-
Dean Michael Berris authored
Followup to D34669. llvm-svn: 306505
-
Kuba Mracek authored
Re-enable wait.cc, wait4.cc, waitid.cc tests on Darwin. They used to be flaky, something to do with LeakSanitizer now being enabled on Darwin. Let's re-enable them and see if they are still flaky or not. llvm-svn: 306504
-
Max Kazantsev authored
A slightly more efficient way to get constant, we avoid resolving in getSCEV and excessive invocations, and we don't create a ConstantInt if 'true' branch is taken. Differential Revision: https://reviews.llvm.org/D34672 llvm-svn: 306503
-
Dean Michael Berris authored
Summary: This change introduces two files that show exaples of the always/never instrument files that can be provided to clang. We don't add these as defaults yet in clang, which we can do later on (in a separate change). We also add a test that makes sure that these apply in the compiler-rt project tests, and that changes in clang don't break the expectations in compiler-rt. Reviewers: pelikan, kpw Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D34669 llvm-svn: 306502
-
Nirav Dave authored
This reverts commit r306498 which appears to cause a compilrt-rt test failures llvm-svn: 306501
-
Stanislav Mekhanoshin authored
If immediate in shift is less than 32 we can use alignbit too. Differential Revision: https://reviews.llvm.org/D34729 llvm-svn: 306500
-
Stanislav Mekhanoshin authored
That is pretty common for clang to produce code like (shl %x, (and %amt, 31)). In this situation we can still perform trunc (shl) into shl (trunc) conversion given the known value range of shift amount. Differential Revision: https://reviews.llvm.org/D34723 llvm-svn: 306499
-
Nirav Dave authored
Pull FrameIndex comparision reasoning from DAGCombiner::isAlias to general BaseIndexOffset. llvm-svn: 306498
-
Vedant Kumar authored
llvm-svn: 306497
-
Rafael Espindola authored
It is somewhat pointless to check that a specific error is not produced. That is already checked by the ld.lld exit value. Instead make the test a bit stronger by checking that the output file has the expected symbol and section. llvm-svn: 306496
-
Kyle Butt authored
When simplifying an instruction that has been re-mapped, it should never simplify to an instruction in the original function. In the edge case where we are inlining a function into itself, the existing code led to incorrect behavior. Replace the incorrect code with an assert verifying that we never expect simplification to produce an instruction in the old function, unless the functions are the same. Differential Revision: https://reviews.llvm.org/D33850 llvm-svn: 306495
-
Akira Hatanaka authored
The assertion was failing when a method of a parameterized class was called and the types of the argument and parameter didn't match. To fix the failure, move the assertion in EmitCallArg to its only caller EmitCallArgs and require the argument and parameter types match only when the method is not parameterized. rdar://problem/32874473 Differential Revision: https://reviews.llvm.org/D34665 llvm-svn: 306494
-
Evgeniy Stepanov authored
llvm-svn: 306493
-
Joel Jones authored
Add headers for each section of output, with white space and "+++" to improve readability. Differential Revision: https://reviews.llvm.org/D34713 llvm-svn: 306492
-
Peter Collingbourne authored
llvm-svn: 306491
-
Mandeep Singh Grang authored
Summary: This is the llvm part of the initial implementation to support Windows ARM64 COFF format. I will gradually add more functionality in subsequent patches. Reviewers: ruiu, rnk, t.p.northover, compnerd Reviewed By: ruiu, compnerd Subscribers: aemerson, mgorny, javed.absar, llvm-commits, kristof.beyls Differential Revision: https://reviews.llvm.org/D34705 llvm-svn: 306490
-
Mandeep Singh Grang authored
Summary: This is the clang part of the initial implementation to support Windows ARM64 COFF format. Reviewers: ruiu, t.p.northover, rnk, compnerd Reviewed By: ruiu, compnerd Subscribers: aemerson, kristof.beyls, cfe-commits, llvm-commits Differential Revision: https://reviews.llvm.org/D34706 llvm-svn: 306489
-
Peter Collingbourne authored
Fixes PR27551. Differential Revision: https://reviews.llvm.org/D33974 llvm-svn: 306488
-
Peter Collingbourne authored
Differential Revision: https://reviews.llvm.org/D33973 llvm-svn: 306487
-
Peter Collingbourne authored
These will be necessary in order to handle upgrades from old bitcode files. Differential Revision: https://reviews.llvm.org/D33972 llvm-svn: 306486
-
Sanjay Patel authored
llvm-svn: 306485
-
Easwaran Raman authored
Differential Revision: https://reviews.llvm.org/D34312 llvm-svn: 306484
-
Jonathan Coe authored
Summary: This patch exposes the exception specification type (noexcept, etc.) of a C++ function through libclang and Python clang.cindex. Reviewers: rsmith, aaron.ballman Reviewed By: aaron.ballman Subscribers: jbcoe, cfe-commits Differential Revision: https://reviews.llvm.org/D34091 Patch by Andrew Bennieston llvm-svn: 306483
-
Evgeniy Stepanov authored
Also move wcslen, wscnlen to common interceptors. Reviewers: vitalybuka Reviewed By: vitalybuka Subscribers: kubamracek, llvm-commits Differential Revision: https://reviews.llvm.org/D34656 llvm-svn: 306482
-
Tim Northover authored
llvm-svn: 306481
-
Xinliang David Li authored
llvm-svn: 306480
-
Andreas Simbuerger authored
llvm-svn: 306479
-
Florian Hahn authored
Summary: Similar to X86, it should be safe to inline callees if their target-features are a subset of the caller. This change matches GCC's inlining behavior with respect to attributes [1]. [1] https://gcc.gnu.org/onlinedocs/gcc/AArch64-Function-Attributes.html#AArch64-Function-Attributes Reviewers: kristof.beyls, javed.absar, rengolin, t.p.northover Reviewed By: t.p.northover Subscribers: aemerson, eraman, llvm-commits Differential Revision: https://reviews.llvm.org/D34698 llvm-svn: 306478
-
Geoff Berry authored
llvm-svn: 306477
-
Eugene Zelenko authored
llvm-svn: 306476
-
Aditya Nandakumar authored
Also add IRTranslator support. https://reviews.llvm.org/D34710 llvm-svn: 306475
-
Rafael Espindola authored
It had a few inconsistent indentations that made a followup patch hard to read. llvm-svn: 306474
-
Dehao Chen authored
Differential Revision: https://reviews.llvm.org/D33341 llvm-svn: 306473
-