- Aug 20, 2014
-
-
Alexey Samsonov authored
llvm-svn: 216001
-
Zachary Turner authored
llvm-svn: 216000
-
Renato Golin authored
This reverts commit r215994 because MSVC 2012 can't cope with its C++11 goodness. llvm-svn: 215999
-
Eric Fiselier authored
llvm-svn: 215998
-
Juergen Ributzka authored
[FastISel][AArch64] Fix a few BuildMI callsites where the result register was added as an operand register. This fixes a few BuildMI callsites where the result register was added by using addReg, which is per default a use and therefore an operand register. Also use the zero register as result register when emitting a compare instruction (SUBS with unused result register). llvm-svn: 215997
-
Todd Fiala authored
This change modifies the 'process launch' --disable-aslr option to take a boolean argument. If the user directly specifies --disable-aslr {true,false}, that setting will control whether the process is launched with ASLR disabled accordingly. In the event that the setting is not explicitly made on the process launch command line, then the value is retrieved from the target.disable-aslr setting (i.e. settings show target.disable-aslr). llvm-svn: 215996 -
Alex Lorenz authored
This patch adds the tests for the coverage mapping generation. Most of the tests check the mapping regions produced by the generator, and one checks the llvm IR. Differential Revision: http://reviews.llvm.org/D4847 llvm-svn: 215995
-
Renato Golin authored
Previously, the hint mechanism relied on clean up passes to remove redundant metadata, which still showed up if running opt at low levels of optimization. That also has shown that multiple nodes of the same type, but with different values could still coexist, even if temporary, and cause confusion if the next pass got the wrong value. This patch makes sure that, if metadata already exists in a loop, the hint mechanism will never append a new node, but always replace the existing one. It also enhances the algorithm to cope with more metadata types in the future by just adding a new type, not a lot of code. llvm-svn: 215994
-
Zachary Turner authored
llvm-svn: 215993
-
Zachary Turner authored
This patch creates a HostInfo class, a static class used to answer basic queries about the host platform. As part of this change, some functionality is moved from Host to HostInfo, and relevant fixups are performed in the rest of the codebase. This is part of a larger effort to isolate more code in the Host layer into platform-specific groups, to make it easier to make platform specific changes for a particular Host without breaking other hosts. Reviewed by: Greg Clayton Differential Revision: http://reviews.llvm.org/D4963 llvm-svn: 215992
-
Fariborz Jahanian authored
ext_vector_type's 'hi/lo' components when used as lvalue. rdar://18031917 pr20697 llvm-svn: 215991
-
Alex Lorenz authored
Differential Revision: http://reviews.llvm.org/D4729 llvm-svn: 215990
-
Rafael Espindola authored
* Use StringRef instead of std::string& * Return a std::unique_ptr<Module> instead of taking an optional module to write to (was not really used). * Use current comment style. * Use current naming convention. llvm-svn: 215989
-
Duncan P. N. Exon Smith authored
I should have included this as part of r215986, which worked around this corner by changing ArrayRef::equals() not to use std::equal. Alas. llvm-svn: 215988
-
Duncan P. N. Exon Smith authored
This reverts commit r215981, which reverted the above commits because MSVC std::equal asserts on nullptr iterators, and thes commits introduced an `ArrayRef::equals()` on empty ArrayRefs. ArrayRef was changed not to use std::equal in r215986. llvm-svn: 215987
-
Duncan P. N. Exon Smith authored
MSVC's STL has a bug in `std::equal()`: it asserts on nullptr iterators, causing a block revert in r215981. This works around that by re-writing `ArrayRef::equals()` to do the work itself. llvm-svn: 215986
-
Eric Fiselier authored
llvm-svn: 215985
-
Eric Fiselier authored
I reviewed the patch and added the test cases. llvm-svn: 215984
-
Dan Albert authored
In Android, stderr only goes to the console, and as such will only ever be seen by adb shell users. Since very few developers will ever actually see that, also send the abort message to logcat and the tombstone. llvm-svn: 215983
-
- Aug 19, 2014
-
-
Aaron Ballman authored
Changes diagnostic options, language standard options, diagnostic identifiers, diagnostic wording to use c++14 instead of c++1y. It also modifies related test cases to use the updated diagnostic wording. llvm-svn: 215982
-
Aaron Ballman authored
Reverting r215966, r215965, r215964, r215963, r215960, r215959, r215958, and r215957 (these commits all rely on previous commits) due to build breakage. These commits cause failed assertions when testing Clang using MSVC 2013. The asserts are triggered from the std::equal call within ArrayRef::equals due to being passed invalid input (ArrayRef.begin() is returning a nullptr which is problematic). llvm-svn: 215981
-
Rafael Espindola authored
llvm-svn: 215980
-
Rafael Espindola authored
Returning a std::unique_ptr is more constrained. Thanks to David Blaikie for the suggestion. llvm-svn: 215979
-
Toma Tabacu authored
Summary: This directive is similar to ".set mipsX". It is used to change the CPU target of the assembler, enabling it to accept instructions for a specific CPU. This patch only implements the r4000 CPU (which is treated internally as generic mips3) and the generic ISAs. Contains work done by Matheus Almeida. Reviewers: dsanders Reviewed By: dsanders Differential Revision: http://reviews.llvm.org/D4884 llvm-svn: 215978
-
Jonathan Roelofs authored
This fixes a race condition on temp file name creation. http://reviews.llvm.org/D4962 llvm-svn: 215977
-
Sylvestre Ledru authored
llvm-svn: 215976
-
Alexander Musman authored
[OPENMP] Extract common superclass from all the loop directives. No functional changes (having common superclass is convenient for future loop directives CodeGen implementation) llvm-svn: 215975
-
Mayur Pandey authored
Proof using CVC3 follows: $ cat t.cvc A, B : BITVECTOR(32); QUERY BVXOR((A & ~B),(~A & B)) = BVXOR(A,B); $ cvc3 t.cvc Valid. Differential Revision: http://reviews.llvm.org/D4898 llvm-svn: 215974
-
Craig Topper authored
llvm-svn: 215973
-
David Majnemer authored
MSVC "14" CTP 3 has fixed it's mangling for alias templates when used as template-template arguments; update clang to be compatible with this mangling. llvm-svn: 215972
-
Craig Topper authored
Prevent use of the implicit copy constructor on SmallPtrSetImpl. An accidental copy caused my SmallPtrSet->SmallPtrSetImpl conversion commit to fail the other day. llvm-svn: 215971
-
Mayur Pandey authored
llvm-svn: 215970
-
Rafael Espindola authored
llvm-svn: 215969
-
Rafael Espindola authored
llvm-svn: 215968
-
Rafael Espindola authored
llvm-svn: 215967
-
Duncan P. N. Exon Smith authored
Avoid creating a new `ConstantVector` on an RAUW of one of its members. This reduces RAUW traffic on any containing constant. This is part of PR20515. llvm-svn: 215966
-
Duncan P. N. Exon Smith authored
Previously, `ConstantArray::replaceUsesOfWithOnConstant()` neglected to check whether it becomes a `ConstantDataArray`. Call `ConstantArray::getImpl()` to check for that. llvm-svn: 215965
-
Duncan P. N. Exon Smith authored
Factor out common code, and take advantage of the new function to add early returns to the callers. llvm-svn: 215964
-
Duncan P. N. Exon Smith authored
Introduce `getImpl()` that tries the simplification logic from `get()` and then gives up. This allows the logic to be reused elsewhere in a follow-up commit. llvm-svn: 215963
-
Akira Hatanaka authored
<rdar://problem/16952634> llvm-svn: 215962
-