- Aug 20, 2015
-
-
Eric Fiselier authored
llvm-svn: 245512
-
Alexander Kornienko authored
This patch re-applies r245434 and r245471 reverted in r245493, and changes the way custom null macros are configured. The test for custom null macros is temporarily excluded and will be committed separately to reduce chances of breakages. Initial patches by Angel Garcia. llvm-svn: 245511
-
Daniel Jasper authored
YouCompleteMe setup which apparently doesn't find the base classes and thus doesn't understand that there is an implicit virtual destructor. llvm-svn: 245510
-
Richard Smith authored
llvm-svn: 245509
-
Paul Herman authored
llvm-svn: 245508
-
Richard Trieu authored
Remove the assumption of a Boolean type by checking if an expression is known to have a boolean value. Disable warning in two other tests. llvm-svn: 245507
-
Sanjay Patel authored
llvm-svn: 245506
-
Paul Herman authored
llvm-svn: 245505
-
Sanjay Patel authored
llvm-svn: 245504
-
Simon Pilgrim authored
We still need to add constant folding of vector comparisons to fold the tests for targets that don't support the respective min/max nodes I needed to update 2011-12-06-AVXVectorExtractCombine to load a vector instead of using a constant vector to prevent it folding Differential Revision: http://reviews.llvm.org/D12118 llvm-svn: 245503
-
Artem Belevich authored
They show up in CUDA headers but are not currently supported by NVPTX back-end. Differential Revision: http://reviews.llvm.org/D11694 llvm-svn: 245502
-
Richard Smith authored
llvm-svn: 245501
-
Daniel Jasper authored
Also adapt tests a bit to make it possible to test this. Removed checking the number of errors reported per test. It was never actually checked and doesn't seem particularly relevant to the test itself. llvm-svn: 245500
-
Juergen Ributzka authored
We are already falling back to SelectionDAG when encountering an shift with UB. This adds the same checks for shifts with UB that get folded into arithmetic or logical operations. This fixes rdar://problem/22345295. llvm-svn: 245499
-
David Majnemer authored
We don't do a great job with >= 0 comparisons against zero when the result is used as an i8. Given something like: void f(long long LL, bool *B) { *B = LL >= 0; } We used to generate: shrq $63, %rdi xorb $1, %dil movb %dil, (%rsi) Now we generate: testq %rdi, %rdi setns (%rsi) Differential Revision: http://reviews.llvm.org/D12136 llvm-svn: 245498 -
Richard Smith authored
Internal-linkage variables with constant-evaluatable initializers do not need to be emitted. (Also reduces the set of variables that need to be eagerly deserialized when using PCH / modules.) llvm-svn: 245497
-
Artem Belevich authored
Differential Revision: http://reviews.llvm.org/D12122 llvm-svn: 245496
-
Adrian McCarthy authored
Differential Revision: http://reviews.llvm.org/D12126 llvm-svn: 245495
-
Dan Gohman authored
Previously WebAssembly's datalayout string had -v128:8:128. This had been an attempt to declare a certain level of support for unaligned SIMD accesses. However, clang makes its own determinations for SIMD alignment that are independent of the datalayout string, so this wasn't actually meaningful. llvm-svn: 245494
-
Justin Bogner authored
The new test is failing on darwin: http://lab.llvm.org:8080/green/job/clang-stage1-configure-RA_check/10339/ This reverts r245434 and its follow up r245471. llvm-svn: 245493
-
Aaron Ballman authored
Replacing a custom AST matcher with some builtin AST matchers; NFC, and existing tests should provide sufficient coverage. llvm-svn: 245492
-
Simon Atanasyan authored
Patch by Simon Dardis. Differential Revision: http://reviews.llvm.org/D12103 llvm-svn: 245491
-
Simon Pilgrim authored
Check to see if this is a CONCAT_VECTORS of a bunch of EXTRACT_SUBVECTOR operations. If so, and if the EXTRACT_SUBVECTOR vector inputs come from at most two distinct vectors the same size as the result, attempt to turn this into a legal shuffle. Differential Revision: http://reviews.llvm.org/D12125 llvm-svn: 245490
-
Piotr Padlewski authored
Bugfix revealed in r245264. http://reviews.llvm.org/D12128 llvm-svn: 245489
-
Dawn Perchik authored
Reviewed by: abidh, ki.stfu Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12113 llvm-svn: 245488
-
David Majnemer authored
No functionality change is intended. llvm-svn: 245487
-
Paul Robinson authored
llvm-svn: 245486
-
Douglas Katzman authored
llvm-svn: 245485
-
Aaron Ballman authored
Replacing a custom AST matcher with some builtin AST matchers; NFC, and existing tests should provide sufficient coverage. llvm-svn: 245484
-
Alex Lorenz authored
Besides storing the operand's source range, this structure now stores other attributes as well, so the name should reflect this fact. llvm-svn: 245483
-
Alex Lorenz authored
This commit serializes the machine instruction's register operand ties. The ties are printed out only when the instructon has register ties that are different from the ties that are specified in the instruction's description. llvm-svn: 245482
-
Nemanja Ivanovic authored
This revision has introduced an issue that only affects bootstrapped compiler when it is printing the ASM. I am working on resolving the issue, but in the meantime, I'm disabling the legalization of scalar_to_vector operation for v2i64 and the associated testing until I can get this fixed. llvm-svn: 245481
-
Alex Lorenz authored
The defined registers are already serialized - they are represented by placing them before the '=' in a machine instruction. However, certain instructions like INLINEASM can have defined register operands after the '=', so this commit introduces the 'def' register flag for such operands. llvm-svn: 245480
-
Bruno Cardoso Lopes authored
Reintroduce r245442. Remove an overly conservative assertion introduced in r245442. We could replace the assertion to use `shareSameRegisterFile` instead, but in that point in `insertPHI` we already lost the original Def subreg to check against. So drop the assertion completely. Original commit message: - Teaches the ValueTracker in the PeepholeOptimizer to look through PHI instructions. - Add findNextSourceAndRewritePHI method to lookup into multiple sources returnted by the ValueTracker and rewrite PHIs with new sources. With these changes we can find more register sources and rewrite more copies to allow coaslescing of bitcast instructions. Hence, we eliminate unnecessary VR64 <-> GR64 copies in x86, but it could be extended to other archs by marking "isBitcast" on target specific instructions. The x86 example follows: A: psllq %mm1, %mm0 movd %mm0, %r9 jmp C B: por %mm1, %mm0 movd %mm0, %r9 jmp C C: movd %r9, %mm0 pshufw $238, %mm0, %mm0 Becomes: A: psllq %mm1, %mm0 jmp C B: por %mm1, %mm0 jmp C C: pshufw $238, %mm0, %mm0 Differential Revision: http://reviews.llvm.org/D11197 rdar://problem/20404526 llvm-svn: 245479
-
Chaoren Lin authored
llvm-svn: 245477
-
Douglas Katzman authored
llvm-svn: 245475
-
Lang Hames authored
llvm-svn: 245474
-
Vedant Kumar authored
llvm-svn: 245473
-
Lang Hames authored
Also reduces changes between tutorial chapters. llvm-svn: 245472
-
Alexander Kornienko authored
http://reviews.llvm.org/D12162 Patch by Angel Garcia! llvm-svn: 245471
-