- Jun 20, 2014
-
-
Justin Bogner authored
A function to copy one file's contents to another. llvm-svn: 211302
-
David Greene authored
Configure creates makefiles, so it doesn't make sense to check for them to see if we can configure. llvm-svn: 211301
-
David Greene authored
Sometimes we want to install things in "standard" locations and the flavor directories interfere with that. Add an option to keep them out of the install path. llvm-svn: 211300
-
David Greene authored
Don't build with -Werror unless asked to. llvm-svn: 211299
-
Eric Christopher authored
try to execute it on windows. llvm-svn: 211298
-
Alp Toker authored
llvm-svn: 211297
-
John Wolfe authored
llvm-svn: 211296
-
Yaron Keren authored
llvm-svn: 211295
-
Rafael Espindola authored
No functionality change. llvm-svn: 211294
-
Eric Christopher authored
frame section to match, just the version for this test. llvm-svn: 211293
-
Eli Bendersky authored
This patch fixes a crash when handling malformed arguments to loop pragmas such as: "#pragma clang loop vectorize(()". Essentially any argument which is not an identifier or constant resulted in a crash. This patch also changes a couple of the error messages which weren't quite correct. New behavior with this patch vs old behavior: #pragma clang loop vectorize(1) OLD: error: missing keyword; expected 'enable' or 'disable' NEW: error: invalid argument; expected 'enable' or 'disable' #pragma clang loop vectorize() OLD: error: expected ')' NEW: error: missing argument to loop pragma 'vectorize' #pragma clang loop vectorize_width(bad) OLD: error: missing value; expected a positive integer value NEW: error: invalid argument; expected a positive integer value #pragma clang loop vectorize(bad) OLD: invalid keyword 'bad'; expected 'enable' or 'disable' NEW: error: invalid argument; expected 'enable' or 'disable' http://reviews.llvm.org/D4197 Patch by Mark Heffernan llvm-svn: 211292
-
David Blaikie authored
llvm-svn: 211291
-
David Blaikie authored
llvm-svn: 211290
-
Jim Ingham authored
directly accessing the isa pointer of a class object to get its meta-class, but the isa pointers are not simple pointers on arm64, so this would cause the stepping to fail. object_getClass does whatever magic needs doing in this case. <rdar://problem/17239690> llvm-svn: 211289
-
Zachary Turner authored
llvm-svn: 211288
-
Zachary Turner authored
After a number of previous small iterations, the functions llvm_start_multithreaded() and llvm_stop_multithreaded() have been reduced essentially to no-ops. This change removes them entirely. Reviewed by: rnk, dblaikie Differential Revision: http://reviews.llvm.org/D4216 llvm-svn: 211287
-
Eli Bendersky authored
Extend the documentation for "#pragma clang loop" hints to include the unroll and unroll_count directives. Patch by Mark Heffernan [http://reviews.llvm.org/D4198] llvm-svn: 211286
-
Zachary Turner authored
revision r211277, this function is essentially a no-op. llvm-svn: 211285
-
David Blaikie authored
The address pool was being emitted before location lists. The latter could add more entries to the pool which would be lost/never emitted. llvm-svn: 211284
-
Todd Fiala authored
Fixes two causes for https://github.com/tfiala/lldb/issues/7. 1. Ensures the inferior program has started executing, by printing a message on output first thing (per the "message:" command line arg) and waiting for that text to arrive before doing any checks related to auxv support. 2. Fixes up auxv-related regex patterns to be compiled with the Python re.MULTILINE and re.DOTALL options. The multiline is needed because the binary data can include what look like newlines when interpreted as text, and the DOTALL is needed to have the (.*) content portion match newlines. Added interrupt packet helper methods to add interrupt test sequence packets and parse the results from them. llvm-svn: 211283
-
Alp Toker authored
Use the MCStreamer base implementations for file ID tracking instead of overriding them as no-ops. Avoids assertions when streaming Dwarf debug info, and fixes ASM parsing of loc and file directives. llvm-svn: 211282
-
Jingyue Wu authored
Summary: With this patch, range metadata can be added to call/invoke including IntrinsicInst. Previously, it could only be added to load. Rename computeKnownBitsLoad to computeKnownBitsFromRangeMetadata because range metadata is not only used by load. Update the language reference to reflect this change. Test Plan: Add several tests in range-2.ll to confirm the verifier is happy with having range metadata on call/invoke. Add two tests in AddOverFlow.ll to confirm annotating range metadata to call/invoke can benefit InstCombine. Reviewers: meheff, nlewycky, reames, hfinkel, eliben Reviewed By: eliben Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D4187 llvm-svn: 211281
-
Tobias Grosser authored
Contributed-by:Yabin Hu <yabin.hwu@gmail.com> llvm-svn: 211280
-
Oliver Stannard authored
llvm-svn: 211279
-
Johannes Doerfert authored
See r210927 and r210847 llvm-svn: 211278
-
Zachary Turner authored
This patch removes the LLVM global lock, and updates all existing users of the global lock to use their own mutex. None of the existing users of the global lock were protecting code that was mutually exclusive with any of the other users of the global lock, so its purpose was not being met. Reviewed by: rnk Differential Revision: http://reviews.llvm.org/D4142 llvm-svn: 211277
-
Oliver Stannard authored
Fix clang tests to not break if the ID numbers of module flags metadata nodes change. llvm-svn: 211276
-
- Jun 19, 2014
-
-
Oliver Stannard authored
Currently, when using llvm as an assembler, DWARF debug information is only generated for the .text section. This patch modifies this so that DWARF info is emitted for all executable sections. llvm-svn: 211273
-
Oliver Stannard authored
Currently, llvm always emits a DWARF CIE with a version of 1, even when emitting DWARF 3 or 4, which both support CIE version 3. This patch makes it emit the newer CIE version when we are emitting DWARF 3 or 4. This will not reduce compatibility, as we already emit other DWARF3/4 features, and is worth doing as the DWARF3 spec removed some ambiguities in the interpretation of call frame information. It also fixes a minor bug where the "return address" field of the CIE was encoded as a ULEB128, which is only valid when the CIE version is 3. There are no test changes for this, because (as far as I can tell) none of the platforms that we test have a return address register with a DWARF register number >127. llvm-svn: 211272
-
Matheus Almeida authored
Patch by David Chisnall His work was sponsored by: DARPA, AFRL Some small modifications to the original patch: we now error if it's not possible to expand an instruction (mips-expansions-bad.s has some examples). Added some comments to the expansions. llvm-svn: 211271 -
Argyrios Kyrtzidis authored
Fix assertion hit or bogus compiler error in cases when instantiating ObjC property accesses used with overloaded binary operators. rdar://17153478 llvm-svn: 211270
-
Matheus Almeida authored
Summary: The functions that do the expansion now return false on success and true otherwise. This is so we can catch some errors during the expansion (e.g.: immediate too large). The next patch adds some test cases. Reviewers: vmedic Reviewed By: vmedic Differential Revision: http://reviews.llvm.org/D4214 llvm-svn: 211269
-
Dinesh Dwivedi authored
llvm-svn: 211268
-
Richard Smith authored
for (x : range) { ... } which is equivalent to for (auto &&x : range) { ... } llvm-svn: 211267 -
Dinesh Dwivedi authored
This patch enables transforms for following patterns. (x + (~(y & c) + 1) --> x - (y & c) (x + (~((y >> z) & c) + 1) --> x - ((y>>z) & c) Differential Revision: http://reviews.llvm.org/D3733 llvm-svn: 211266
-
Andrea Di Biagio authored
Before this change, the backend was unable to fold a build_vector dag node with UNDEF operands into a single horizontal add/sub. This patch teaches how to combine a build_vector with UNDEF operands into a horizontal add/sub when possible. The algorithm conservatively avoids to combine a build_vector with only a single non-UNDEF operand. Added test haddsub-undef.ll to verify that we correctly fold horizontal binop even in the presence of UNDEFs. llvm-svn: 211265
-
Evgeniy Stepanov authored
This is a resubmit of r211166 reverted due to osx breakage. llvm-svn: 211264
-
Simon Atanasyan authored
llvm-svn: 211263
-
Alexey Bataev authored
[OPENMP] Improved diagnostic messages for vars with the predetermined data sharing attributes and reformatting llvm-svn: 211262
-
Dinesh Dwivedi authored
* Find factorization opportunities using identity values. * Find factorization opportunities by treating shl(X, C) as mul (X, shl(C)) * Keep NSW flag while simplifying instruction using factorization. This fixes PR19263. Differential Revision: http://reviews.llvm.org/D3799 llvm-svn: 211261
-