- Jul 16, 2014
-
-
Alp Toker authored
Removing the native CMakeCache.txt causes the target to get re-run needlessly on some systems. We'll want another solution for that part of the fix. llvm-svn: 213099
-
Aaron Ballman authored
Switching some iterator-based for loops to use range-based for loops. No functional changes intended. llvm-svn: 213098
-
- Jul 15, 2014
-
-
Joerg Sonnenberger authored
llvm-svn: 213097
-
Matt Arsenault authored
llvm-svn: 213096
-
Aaron Ballman authored
Added the pack_elements range accessor. Refactoring some for loops to use range-based for loops instead. No functional changes intended. llvm-svn: 213095
-
Jim Ingham authored
LinuxThread.cpp LinuxThread.h NativeRegisterContext.h ProcessLinux.cpp ProcessLinux.h ProcessMonitor.cpp ProcessMonitor.h Were inserted in the CopyFiles phase of the "desktop" aggregate target. That caused them to get copied to /usr/shared/man/man1 on install, which isn't right. Not sure why they were there... I removed them. If this was supposed to achieve some other purpose, we should discuss how to do that correctly on the mailing list. <rdar://problem/17642262> llvm-svn: 213094
-
Johannes Doerfert authored
+ Test case annotated with the new attribute + Modified test case to check if subfunctions are annotated llvm-svn: 213093
-
David Blaikie authored
Just tried this on a few tests and this was the only one that was easily ported to use the new feature, so we'll go with that for now. Hopefully can act as inspiration/reminder for other tests. Not all debug info tests need to check for every DW_TAG or NULL child terminator, but perhaps they should (just to ensure they don't accidentally end up with tags nested inside other tags without the test failing, for example) llvm-svn: 213092
-
Alp Toker authored
This adds support for building native artifacts when cross-compiling using the popular side-by-side source directory layout (no symlinks, no nested repositories). llvm-svn: 213091
-
Duncan P. N. Exon Smith authored
Add a `MapVector::remove_if()` that erases items in bulk in linear time, as opposed to quadratic time for repeated calls to `MapVector::erase()`. llvm-svn: 213090
-
Matt Arsenault authored
Assuming single precision denormals and accurate sqrt/div are not reported, this passes the OpenCL conformance test. llvm-svn: 213089
-
Matt Arsenault authored
llvm-svn: 213088
-
Matt Arsenault authored
llvm-svn: 213087
-
Lang Hames authored
The registration scheme used in r211652 violated the read-only contract of MemoryBuffer. This caused crashes in llvm-rtdyld where macho objects were backed by read-only mmap'd memory. llvm-svn: 213086
-
Reid Kleckner authored
Imagine, hypothetically, that you had a build of clang-tidy that enabled the google-* checks by default. If you had such a binary, then this test would fail. Making it pass in that configuration isn't such a bad thing. llvm-svn: 213085
-
Duncan P. N. Exon Smith authored
Actually update the changed indexes in the map portion of `MapVector` when erasing from the middle. Add a unit test that checks for this. Note that `MapVector::erase()` is a linear time operation (it was and still is). I'll commit a new method in a moment called `MapVector::remove_if()` that deletes multiple entries in linear time, which should be slightly less painful. llvm-svn: 213084
-
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
-
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
-