- Aug 16, 2014
-
-
Juergen Ributzka authored
We actually need to return the register into which we materialized the constant and not just "true" for success. This code is currently partially dead, that is why it didn't trigger any failures yet. Once I change the order of the constant materialization this code will be fully exercised. llvm-svn: 215727
-
Rafael Espindola authored
llvm-svn: 215726
-
Timur Iskhodzhanov authored
llvm-svn: 215725
-
Timur Iskhodzhanov authored
[ASan/Win] Introduce a new macro for malloc-like function attributes; also, clang-format the definitions of these functions llvm-svn: 215724
-
- Aug 15, 2014
-
-
Rafael Espindola authored
Replace the old code in GVN and BBVectorize with it. Update SimplifyCFG to use it. Patch by Björn Steinbrink! llvm-svn: 215723
-
Timur Iskhodzhanov authored
[ASan/Win] Remove one more reference to __interception::GetRealFunctionAddress (follow-up to r215707) llvm-svn: 215722
-
Rafael Espindola authored
llvm-svn: 215721
-
Rafael Espindola authored
llvm-svn: 215720
-
Timur Iskhodzhanov authored
llvm-svn: 215719
-
Rafael Espindola authored
llvm-svn: 215718
-
Rafael Espindola authored
llvm-svn: 215717
-
Amara Emerson authored
big-endian mode. Patch by Asiri Rathnayake. Differential Revision: http://reviews.llvm.org/D4922 llvm-svn: 215716
-
Rafael Espindola authored
llvm-svn: 215715
-
Samuel Benzaquen authored
Reviewers: klimek Subscribers: klimek, cfe-commits Differential Revision: http://reviews.llvm.org/D4911 llvm-svn: 215714
-
Rafael Espindola authored
llvm-svn: 215713
-
Rafael Espindola authored
We already require CFI, so it should be safe to require .leb128 and .uleb128. llvm-svn: 215712
-
Bill Schmidt authored
I had deferred adding this test case until I could get it down to a reasonable size. That's done now. Thanks, Bill llvm-svn: 215711
-
Timur Iskhodzhanov authored
llvm-svn: 215708
-
Timur Iskhodzhanov authored
llvm-svn: 215707
-
Aaron Ballman authored
llvm-svn: 215706
-
Aaron Ballman authored
llvm-svn: 215705
-
Aaron Ballman authored
llvm-svn: 215704
-
Benjamin Kramer authored
Silences GCC's -Wcast-qual. llvm-svn: 215703
-
Chandler Carruth authored
the new shuffle lowering and an implementation for v4 shuffles. This allows us to handle non-half-crossing shuffles directly for v4 shuffles, both integer and floating point. This currently misses places where we could perform the blend via UNPCK instructions, but otherwise generates equally good or better code for the test cases included to the existing vector shuffle lowering. There are a few cases that are entertainingly better. ;] llvm-svn: 215702
-
Chandler Carruth authored
BLENDPS, BLENDPD, and PBLENDW instructions into pretty shuffle comments. These will be used in my next commit as part of test cases for AVX shuffles which can directly use blend in more places. llvm-svn: 215701
-
Tim Northover authored
These are system-only instructions for CPUs with virtualization extensions, allowing a hypervisor easy access to all of the various different AArch32 registers. rdar://problem/17861345 llvm-svn: 215700
-
Erik Verbruggen authored
llvm-svn: 215699
-
Vladimir Medic authored
Current implementation of c.cond.fmt instructions only accept default cc0 register. This patch enables the instruction to accept other fcc registers. The aliases with default fcc0 registers are also defined. llvm-svn: 215698
-
Yi Kong authored
Since __SIZEOF_LONG_LONG__ is always defined as 8 on ARM targets, there's no point in checking this. NFC. Patch by Moritz Roth. llvm-svn: 215697
-
Chandler Carruth authored
elements of a shuffle mask and simplify how it works. No functionality changed now that the bug that was here has been fixed. llvm-svn: 215696
-
Eric Fiselier authored
llvm-svn: 215695
-
Eric Fiselier authored
llvm-svn: 215694
-
Daniel Jasper authored
Before: typename aaaaaaaaaa<aaaaaa>::aaaaaaaaaaa aaaaaaaaaa< aaaaaa>::aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(bool *aaaaaaaaaaaaaaaaaa, bool *aa) {} After: typename aaaaaaaaaa<aaaaaa>::aaaaaaaaaaa aaaaaaaaaa<aaaaaa>::aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa( bool *aaaaaaaaaaaaaaaaaa, bool *aa) {} llvm-svn: 215693 -
Daniel Jasper authored
Before: option (MyProto.options) = { field_c : "OK" msg_field{field_d : 123} }; After: option (MyProto.options) = { field_c : "OK" msg_field{field_d : 123} }; (Note that the colon after "msg_field" is optional). llvm-svn: 215692 -
Eric Fiselier authored
llvm-svn: 215691
-
Chandler Carruth authored
target-specific shuffl DAG combines. We were recognizing the paired shuffles backwards. This code needs to be replaced anyways as we have the same functionality elsewhere, but I'll do the refactoring in a follow-up, this is the minimal fix to the behavior. In addition to fixing miscompiles with the new vector shuffle lowering, it also causes the canonicalization to kick in much better, selecting the smaller encoding variants in lots of places in the new AVX path. This still isn't quite ideal as we don't need both the shufpd and the punpck instructions, but that'll get fixed in a follow-up patch. llvm-svn: 215690
-
Rafael Espindola authored
llvm-svn: 215689
-
Rafael Espindola authored
llvm-svn: 215688
-
Chandler Carruth authored
broken logic for merging shuffle masks in the face of SM_SentinelZero mask operands. While these are '-1' they don't mean 'undef' the way '-1' means in the pre-legalized shuffle masks. Instead, they mean that the shuffle operation is forcibly zeroing that lane. Reflect this and explicitly handle it in a bunch of places. In one place the effect is equivalent but much more clear. In the rest it was really weirdly broken. Also, rewrite the entire merging thing to be a more directy operation with a single loop and just doing math to map the indices through the various masks. Also add a bunch of asserts to try to make in extremely clear what the different masks can possibly look like. Finally, add some comments to clarify that we're merging shuffle masks *up* here rather than *down* as we do everywhere else, and thus the logic is quite confusing. Thanks to several different people for sending test cases, and for Robert Khasanov for an initial attempt at fixing. llvm-svn: 215687
-
Keno Fischer authored
Summary: When the CallExpr passed to Sema::ConvertArgumentsForCall has all default parameters, and the number of actual arguments passed is zero, this function will segfault in the call to Call->getLocStart() if the Callee has an invalid getLocStart(), the reason being that since ConvertArgumentsForCall has set the correct number of arguments, but has not filled them in yet, getLocStart() will try to access the first (not yet existent) argument and thus segfaults. This fixes that by making getLocStart return an invalid source location if the queried argument is NULL rather than segfaulting. Reviewers: rnk Reviewed By: rnk Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D4917 llvm-svn: 215686
-