- Feb 12, 2017
-
-
Davide Italiano authored
llvm-svn: 294885
-
Davide Italiano authored
llvm-svn: 294884
-
Davide Italiano authored
llvm-svn: 294883
-
Davide Italiano authored
llvm-svn: 294882
-
NAKAMURA Takumi authored
llvm-svn: 294881
-
NAKAMURA Takumi authored
Differential Revision: https://reviews.llvm.org/D27405 llvm-svn: 294880
-
Davide Italiano authored
On Windows the filename might have an extension, namely `.exe`, so the search will fail. Sorry, I don't have a good way to test this as it seems to fail only in some weird configurations. r284430 has the same modification for Fuchsia. llvm-svn: 294879
-
Craig Topper authored
llvm-svn: 294878
-
Saleem Abdulrasool authored
Use # as the comment leader for AArch64 auto-release elision marker. This is to keep it in sync with the value used in swift. When building libdispatch for Linux AArch64, the auto-release elision marker was emitted. However, ELF uses # as the comment leader while MachO accepts both ; and #. Use the common marker for it instead. llvm-svn: 294877
-
Craig Topper authored
[X86] Move code for using blendi for insert_subvector out to an isel pattern. This gives the DAG combiner more opportunity to optimize without needing to dig through the blend. llvm-svn: 294876
-
Craig Topper authored
[DAGCombiner] Make the combine of INSERT_SUBVECTOR into a CONCAT_VECTOR more generic to support larger concats. llvm-svn: 294875
-
Simon Pilgrim authored
Preparatory step for PR31712 llvm-svn: 294874
-
Simon Pilgrim authored
Generalize VSEXT/VZEXT constant folding to work with any target constant bits source not just BUILD_VECTOR . llvm-svn: 294873
-
Saleem Abdulrasool authored
Certain ARC runtime functions have an ABI contract of being forwarding. Annotate the functions with the appropriate `returned` attribute on the arguments. This hoists some of the runtime ABI contract information into the frontend rather than the backend transformations. The test adjustments are to mark the returned function parameter as such. The minor change to the IR output is due to the fact that the returned reference of the object causes it to extend the lifetime of the object by returning an autoreleased return value. The result is that the explicit objc_autorelease call is no longer formed, as autorelease elision is now possible on the return. llvm-svn: 294872
-
Saleem Abdulrasool authored
Silence some diagnostics which clang now generates. This makes it easier to see the failures in lit output. NFC. llvm-svn: 294871
-
Mehdi Amini authored
Many quoted code blocks were not in sync with the actual toy.cpp files. Improve tutorial text slightly in several places. Added some step descriptions crucial to avoid crashes (like InitializeNativeTarget* calls). Solve/workaround problems with Windows (JIT'ed method not found, using custom and standard library functions from host process). Patch by: Moritz Kroll <moritz.kroll@gmx.de> Differential Revision: https://reviews.llvm.org/D29864 llvm-svn: 294870
-
Dylan McKay authored
Summary: The -mmcu option for GCC sets macros like __AVR_ATmega328P__ (with the trailing underscores), be sure to include these underscores for Clangs -mcpu option. See "AVR Built-in Macros" in https://gcc.gnu.org/onlinedocs/gcc/AVR-Options.html Reviewers: jroelofs, dylanmckay Reviewed By: jroelofs, dylanmckay Subscribers: efriedma, cfe-commits Differential Revision: https://reviews.llvm.org/D29817 llvm-svn: 294869
-
Vitaly Buka authored
Fix -Wsign-compare - this might not be quite right, but preserves behavior llvm-svn: 294868
-
Amaury Sechet authored
llvm-svn: 294867
-
Amaury Sechet authored
llvm-svn: 294866
-
Aaron Ballman authored
llvm-svn: 294865
-
Simon Pilgrim authored
llvm-svn: 294864
-
Sanjay Patel authored
I don't know if anything other than x86 vectors is affected by this change, but this may allow us to remove target-specific intrinsics for blendv* (vector selects). The simplification arises from the fact that blendv* instructions only use the sign-bit when deciding which vector element to choose for the destination vector. The mechanism to fold VSELECT into SHRUNKBLEND nodes already exists in x86 lowering; this demanded bits change just enables the transform to fire more often. The original motivation starts with a bug for DSE of masked stores that seems completely unrelated, but I've explained the likely steps in this series here: https://llvm.org/bugs/show_bug.cgi?id=11210 Differential Revision: https://reviews.llvm.org/D29687 llvm-svn: 294863
-
Aaron Ballman authored
llvm-svn: 294862
-
Aaron Ballman authored
Attributes on K&R C functions should not cause incompatible function type with a redeclaration having the same attribute. Fixing this introduced a secondary problem where we were assuming that K&R functions could not be attributed types when reporting old-style function definitions that are not preceded by a prototype. This patch fixes PR31020. llvm-svn: 294861
-
Amaury Sechet authored
llvm-svn: 294860
-
Amaury Sechet authored
llvm-svn: 294859
-
Craig Topper authored
llvm-svn: 294858
-
Craig Topper authored
llvm-svn: 294857
-
Simon Pilgrim authored
Removes duplicate constant extraction code in getTargetShuffleMaskIndices. getTargetConstantBitsFromNode - adds support for VZEXT_MOVL(SCALAR_TO_VECTOR) and fail if the caller doesn't support undef bits. llvm-svn: 294856
-
Saleem Abdulrasool authored
objc_storeStrong does not return a value. llvm-svn: 294855
-
Saleem Abdulrasool authored
Adjust style before making more intrusive changes. NFC. llvm-svn: 294854
-
Saleem Abdulrasool authored
The conditional cast is unnecessary since we know that it will always succeed. NFC. llvm-svn: 294853
-
Simon Pilgrim authored
llvm-svn: 294852
-
- Feb 11, 2017
-
-
Daniel Berlin authored
llvm-svn: 294851
-
Daniel Berlin authored
llvm-svn: 294850
-
Daniel Berlin authored
llvm-svn: 294849
-
Simon Pilgrim authored
llvm-svn: 294848
-
Simon Pilgrim authored
llvm-svn: 294847
-
Simon Pilgrim authored
All commutations confirmed to give identical results - note PFMAX/PFMIN do not PFSUB<->PFSUBR should be commutable as well llvm-svn: 294846
-