- Jun 23, 2016
-
-
Rafael Espindola authored
llvm-svn: 273497
-
Changpeng Fang authored
Reviewers: tstellarAMD, arsenm Differential Revision: http://reviews.llvm.org/D21533 llvm-svn: 273496
-
Hans Wennborg authored
Differential Revision: http://reviews.llvm.org/D21621 llvm-svn: 273495
-
Pawel Bylica authored
Summary: Do not require __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS macros to be defined globally. They are not needed for C++11 compliant standard headers. Reviewers: joerg, jyknight Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D21553 llvm-svn: 273493
-
Chris Bieneman authored
LLVMConfig.cmake needs to set LLVM_BINARY_DIR differently based on whether or not it is the build directory or the install directory. The build directory just needs to set the value from the configuration, the install directory needs to set it to the install prefix. llvm-svn: 273479
-
Chris Bieneman authored
These are just missing swap functions for handling endian conversion. llvm-svn: 273478
-
Reid Kleckner authored
Tweak the big-types.ll test case to catch this bug. We just need an enumerator name that doesn't have a length that is a multiple of 4. llvm-svn: 273477
-
Ryan Govostes authored
llvm-svn: 273476
-
Anna Zaks authored
This test is flaky. Specifically, on some Mac configurations we see the __sanitizer_ptr_cmp as the 0th frame. Let's relax it to not require that f is in frame #0. 61396==ERROR: AddressSanitizer: invalid-pointer-pair: 0x01e00510 0x01e004d0 0 0x18f5a3 in __sanitizer_ptr_cmp ... libclang_rt.asan_osx_dynamic.dylib+0xaf5a3) 1 0xdd924 in f(char, char*, char*) ... invalid-pointer-pairs.cc:14:14 Differential Revision: http://reviews.llvm.org/D21588 llvm-svn: 273475
-
Davide Italiano authored
PR: 28256 Differential Revision: http://reviews.llvm.org/D21616 llvm-svn: 273474
-
Daniel Berlin authored
llvm-svn: 273473
-
Simon Atanasyan authored
llvm-svn: 273471
-
Peter Collingbourne authored
This is a convenience iterator that allows clients to enumerate the GlobalObjects within a Module. Also start using it in a few places where it is obviously the right thing to use. Differential Revision: http://reviews.llvm.org/D21580 llvm-svn: 273470
-
Matt Arsenault authored
llvm-svn: 273469
-
Simon Atanasyan authored
llvm-svn: 273468
-
Matt Arsenault authored
The main sin this was committing was using terminator instructions in the middle of the block, and then not updating the block successors / predecessors. Split the blocks up to avoid this and introduce new pseudo instructions for branches taken with exec masking. Also use a pseudo instead of emitting s_endpgm and erasing it in the special case of a non-void return. llvm-svn: 273467
-
Krzysztof Parzyszek authored
Transform: (store ch addr (add x (add (shl y c) e))) to: (store ch addr (add x (shl (add y d) c))), where e = (shl d c) for some integer d. The purpose of this is to enable generation of loads/stores with shifted addressing mode, i.e. mem(x+y<<#c). For that, the shift value c must be 0, 1 or 2. llvm-svn: 273466 -
Simon Atanasyan authored
The findMIPSMultilibs is too long. One more reason for splitting is to escape redundant calls of MultilibSet::FilterOut method which lead to disk access. llvm-svn: 273465
-
Ryan Govostes authored
This test case checks that globals from all object files are being registered after they've been linked together. It also checks that globals from libraries loaded at runtime are registered. llvm-svn: 273464
-
Vedant Kumar authored
Push a new region for the try block and propagate execution counts through it. This ensures that catch statements get a region counter distinct from the try block's counter. llvm-svn: 273463
-
Davide Italiano authored
llvm-svn: 273462
-
Davide Italiano authored
* UpdateCompilerUsed() -> updateCompilerUsed() * ThinLTO doesn't use the API so we can remove the include * Clean up unused #include <functional> from the header * Rename #ifdef guard comment to be correct. llvm-svn: 273461
-
Xinliang David Li authored
-view-machine-block-freq-propagation-dags currently support integer and fraction as the suboptions. This patch adds the 'count' suboption to display actual profile count if available. llvm-svn: 273460
-
Sanjay Patel authored
This is similar to the computeKnownBits improvement in rL268479. There's probably more we can do for vector logic instructions, but this should let us see non-splat constant masking ops that can become vector selects instead of and/andn/or sequences. Differential Revision: http://reviews.llvm.org/D21610 llvm-svn: 273459
-
Chad Rosier authored
llvm-svn: 273458
-
Rafael Espindola authored
Include a token test showing that access to private is now the same as to internal. llvm-svn: 273457
-
Nirav Dave authored
Recommiting after fixing over-aggressive assertion [DAG] Previously debug values would transfer debuginfo for the selected start node for a replacement which allows for debug to be dropped. Push debug value transfer to occur with node/value replacement in SelectionDAG, remove now extraneous transfers of debug values. This refixes PR9817 which was being incompletely checked in the testsuite. Reviewers: jyknight Subscribers: dblaikie, llvm-commits Differential Revision: http://reviews.llvm.org/D21037 llvm-svn: 273456
-
Wei Ding authored
Differential Revision: http://reviews.llvm.org/D21214 llvm-svn: 273455
-
Reid Kleckner authored
llvm-svn: 273454
-
Reid Kleckner authored
CodeView needs to know if a virtual method was introduced in the current class, and base classes may not have complete type information, so we need to thread this bit through from the frontend. llvm-svn: 273453
-
Jason Henline authored
This initial commit just sets up the basic directory structure and includes the charter document as README.rst to describe the purpose of the project. llvm-svn: 273452
-
Davide Italiano authored
This fixes PR28218. Thanks to Rafael for spotting a failure in the SHARED_LIBS build! Differential Revision: http://reviews.llvm.org/D21577 llvm-svn: 273451
-
Rafael Espindola authored
We do pass -pic-level to cc1 when targeting darwin. Given that codegen itself doesn't use it, the only difference is whether __PIE__ and __pie__ are defined. llvm-svn: 273450
-
Jason Henline authored
Undoing the trivial change I introduced in rL273447. llvm-svn: 273449
-
Matt Arsenault authored
We don't need it to be that high. The natural alignment for a single workitem's stack is 16. llvm-svn: 273448
-
Jason Henline authored
No functional changes. Just adding whitespace in a comment in order to check that I am able to push a commit to the repo. llvm-svn: 273447
-
Reid Kleckner authored
These should be equality comparisons. Fixes assertions while self-hosting clang with codeview debug info. Ultimately this is going to be covered by real tests for virtual method emission, so I'm not adding a "don't crash on this input" test that I'll remove soon afterwards. llvm-svn: 273446
-
Sean Callanan authored
<rdar://problem/26935520> llvm-svn: 273445
-
Vedant Kumar authored
It's only useful to asan-itize profiling globals while debugging llvm's profiling instrumentation passes. Enabling asan along with instrprof or gcov instrumentation shouldn't incur extra overhead. This patch is in the same spirit as r264805 and r273202, which disabled tsan instrumentation of instrprof/gcov globals. Differential Revision: http://reviews.llvm.org/D21541 llvm-svn: 273444
-
Reid Kleckner authored
This is the motivating example: struct B { int b; }; struct A { B *b; }; int f(A *p) { return p->b->b; } Clang emits complete types for both A and B because they are required to be complete, but our CodeView emission would only emit forward declarations of A and B. This was a consequence of the fact that the A* type must reference the forward declaration of A, which doesn't reference B at all. We can't eagerly emit complete definitions of A and B when we request the forward declaration's type index because of recursive types like linked lists. If we did that, our stack usage could get out of hand, and it would be possible to lower a type while attempting to lower a type, and we would need to double check if our type is already present in the TypeIndexMap after all recursive getTypeIndex calls. Instead, defer complete type emission until after all type lowering has completed. This ensures that all referenced complete types are emitted, and that type lowering is not re-entrant. llvm-svn: 273443
-