- Jul 16, 2014
-
-
Ehsan Akhgari authored
Summary: This implements the -arch flag for both x86 and x86-64 by letting them affect the default target features we pass to cc1. -m machine flags will override the features set by -arch. Reviewers: hansw Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D4519 llvm-svn: 213083
-
Duncan P. N. Exon Smith authored
This keeps clang-format from deleting the preceding newline. llvm-svn: 213082
-
-
Kuba Brecka authored
Reviewed at http://reviews.llvm.org/D4466 llvm-svn: 213080
-
Matt Arsenault authored
llvm-svn: 213079
-
Chris Bieneman authored
The coalescer is very aggressive at propagating constraints on the register classes, and the register allocator doesn’t know how to split sub-registers later to recover. This patch provides an escape valve for targets that encounter this problem to limit coalescing. This patch also implements such for ARM to lower register pressure when using lots of large register classes. This works around PR18825. llvm-svn: 213078
-
Simon Atanasyan authored
There are two forms of `-l` prefixed expression: * -l<libname> * -l:<filename> In the first case a linker should construct a full library name `lib + libname + .[so|a]` and search this library as usual. In the second case a linker should use the `<filename>` as is and search this file through library search directories. The patch reviewed by Shankar Easwaran. llvm-svn: 213077
-
Fariborz Jahanian authored
ObC's metaclass metadata with its class metadata which results in an assert. rdar://17633301 llvm-svn: 213076
-
Benjamin Kramer authored
Summary: We still allow the escape hatch foo(int /*x*/) and also suggest this in a fixit. This is more powerful than the corresponding cpplint.py check it also flags functions with multiple arguments as naming all arguments is recommended by the google style guide. Reviewers: alexfh, djasper Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D4518 llvm-svn: 213075
-
Tilmann Scheller authored
LDP is unpredictable if the registers in the pair are identical, these tests check that we don't assemble instructions like that and error out instead. llvm-svn: 213074
-
Cameron McInally authored
llvm-svn: 213073
-
- Jul 15, 2014
-
-
Jan Vesely authored
v2: use ffbh/l if available v3: Rebase on top of Matt's SI patches Signed-off-by:
Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by:
Tom Stellard <tom@stellard.net> llvm-svn: 213072
-
Daniel Sanders authored
Summary: Previously all the test cases set it after initialization with '.module fp=xx'. Differential Revision: http://reviews.llvm.org/D4489 llvm-svn: 213071
-
Cameron McInally authored
llvm-svn: 213070
-
Andrea Di Biagio authored
This patch adds two new rules to the DAGCombiner: 1. shuffle (shuffle A, Undef, M0), B, M1 -> shuffle A, B, M2 2. shuffle (shuffle A, Undef, M0), A, M1 -> shuffle A, Undef, M2 We only do this if the combined shuffle is legal for the target. Example: ;; define <4 x float> @test(<4 x float> %a, <4 x float> %b) { %1 = shufflevector <4 x float> %a, <4 x float> undef, <4 x i32><i32 6, i32 0, i32 1, i32 7> %2 = shufflevector <4 x float> %1, <4 x float> %b, <4 x i32><i32 1, i32 2, i32 4, i32 5> ret <4 x i32> %2 } ;; (using llc -mcpu=corei7 -march=x86-64) Before, the x86 backend generated: pshufd $120, %xmm0, %xmm0 shufps $-108, %xmm0, %xmm1 movaps %xmm1, %xmm0 Now the x86 backend generates: movsd %xmm1, %xmm0 llvm-svn: 213069 -
Benjamin Kramer authored
llvm-svn: 213068
-
Benjamin Kramer authored
This handles both methods and freestanding overloads. Differential Revision: http://reviews.llvm.org/D4498 llvm-svn: 213067
-
Joerg Sonnenberger authored
llvm-svn: 213066
-
Joerg Sonnenberger authored
llvm-svn: 213065
-
NAKAMURA Takumi authored
I checked this with Release+Asserts on x86_64-mingw32. Please restore partially if this were overkill. llvm-svn: 213064
-
Joerg Sonnenberger authored
underlaying types. llvm-svn: 213063
-
Tobias Grosser authored
This pulls in a couple of minor cleanups in isl. More importantly, in preparation of the upcoming LLVM releases this change brings us back on a released version of isl. llvm-svn: 213062
-
Andrea Di Biagio authored
Fixes a gcc warning caused by a typo. A redundant assignment operation was accidentally used as the third operand of a conditional expression. No functional change intended. llvm-svn: 213061
-
Stepan Dyatkovskiy authored
Phabricator ticket: D4246, Don't merge functions with different range metadata on call/invoke. Thanks! llvm-svn: 213060
-
Tim Northover authored
rdar://problem/17624784 llvm-svn: 213059
-
Benjamin Kramer authored
Those may be incompatible with C++11 and are unnecessary. We suggest removing the template arguments when they match the types of the make_pair arguments or replace it with std::pair and explicit template arguments when not. Differential Revision: http://reviews.llvm.org/D4497 llvm-svn: 213058
-
Dmitry Vyukov authored
There is now a more common functionality in the form of called_from_lib suppressions. llvm-svn: 213057
-
Dmitry Vyukov authored
There are no known usages anymore, so one less thing to support. llvm-svn: 213056
-
Daniel Jasper authored
Now, this can be properly formatted: static_cast<A< // B> *>( // ); Before, clang-format could end up, not formatting the code at all. llvm-svn: 213055 -
Evgeniy Stepanov authored
llvm-svn: 213054
-
Timur Iskhodzhanov authored
[ASan] Only define macros in asan_init_version.h, move the __asan_init declaration back to asan_interface_internal.h This fixes the issues we've uncovered after landing r212815. Reviewed at http://reviews.llvm.org/D4500 llvm-svn: 213053
-
David Majnemer authored
No functionality changed. llvm-svn: 213052
-
Juergen Ributzka authored
llvm-svn: 213051
-
Juergen Ributzka authored
Rename X86VisitIntrinsicCall -> FastLowerIntrinsicCall, which effectively implements the target hook. llvm-svn: 213050
-
Juergen Ributzka authored
This implements the FastLowerCall hook, which is based on the DoSelectCall function. The implementation is very similar, but the target-independent call lowering part has been factored out. This should also enable patchpoint intrinsic lowering for FastISel on X86. Related to <rdar://problem/17427052>. llvm-svn: 213049
-
Juergen Ributzka authored
Revert "[FastISel][X86] Implement the FastLowerIntrinsicCall hook." Revert "[FastISel][X86] Implement the FastLowerCall hook." This reverts commit r213035, r213036, and r213037 to make the buildbots happy again. llvm-svn: 213048
-
Peter Collingbourne authored
Specifically, when building a union query, if we are dominated by an identical query then use the result of that query instead. llvm-svn: 213047
-
Peter Collingbourne authored
llvm-svn: 213046
-
Peter Collingbourne authored
llvm-svn: 213045
-
David Majnemer authored
No funcionality changed, just a simplification of the existing code. llvm-svn: 213044
-