- Oct 21, 2014
-
-
Rafael Espindola authored
Don't duplicate names in comments and remove useless ones. Hopefully anyone reading this knows what main is. llvm-svn: 220298
-
Aaron Ballman authored
The nodebug attribute has a C++11-style spelling supported by GCC as well. This modifies it so we support that spelling as well. llvm-svn: 220297
-
Marshall Clow authored
llvm-svn: 220296
-
Marshall Clow authored
LWG #2212 (not yet adopted) mandates that tuple_size/tuple_element are available if <array> or <utility> are included (not just <tuple>). We already do this. Add some tests to make sure that this remains true. llvm-svn: 220295
-
Rafael Espindola authored
llvm-svn: 220294
-
Aaron Ballman authored
llvm-svn: 220293
-
Viktor Kutuzov authored
Differential Revision: http://reviews.llvm.org/D5857 llvm-svn: 220292
-
Viktor Kutuzov authored
Differential Revision: http://reviews.llvm.org/D5856 llvm-svn: 220291
-
Bill Schmidt authored
With VSX enabled, test/CodeGen/PowerPC/recipest.ll exposes a bug in the FMA mutation pass. If we have a situation where a killed product register is the same register as the FMA target, such as: %vreg5<def,tied1> = XSNMSUBADP %vreg5<tied0>, %vreg11, %vreg5, %RM<imp-use>; VSFRC:%vreg5 F8RC:%vreg11 then the substitution makes no sense. We end up getting a crash when we try to extend the interval associated with the killed product register, as there is already a live range for %vreg5 there. This patch just disables the mutation under those circumstances. Since recipest.ll generates different code with VMX enabled, I've modified that test to use -mattr=-vsx. I've borrowed the code from that test that exposed the bug and placed it in fma-mutate.ll, where it tests several mutation opportunities including the "bad" one. llvm-svn: 220290 -
Anton Yartsev authored
llvm-svn: 220289
-
Oliver Stannard authored
The 32-bit variants of the NEON scalar<->GPR move instructions are also available in VFPv2. The 8- and 16-bit variants do require NEON. Note that the checks in the test file are all -DAG because they are checking a mixture of stdout and stderr, and the ordering is not guaranteed. llvm-svn: 220288
-
Daniel Jasper authored
Before: String someString = "abc" + "cde"; After: String someString = "abc" + "cde"; llvm-svn: 220287 -
Daniel Jasper authored
Before: @SuppressWarnings(value = "unchecked") @Author(name = "abc") public void doSomething() { } After: @SuppressWarnings(value = "unchecked") @Author(name = "abc") public void doSomething() { } llvm-svn: 220286 -
Daniel Jasper authored
Before: A.<B>doSomething(); After: A.<B>doSomething(); llvm-svn: 220285
-
Daniel Jasper authored
Before: @SuppressWarnings( value = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") public static int iiiiiiiiiiiiiiiiiiiiiiii; After: @SuppressWarnings(value = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") public static int iiiiiiiiiiiiiiiiiiiiiiii; llvm-svn: 220284 -
Yuri Gorshenin authored
Summary: Fixed memory accesses with rbp as a base or an index register. Reviewers: eugenis Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D5819 llvm-svn: 220283
-
Daniel Jasper authored
Before: DoSomething(new A() { @Override public String toString() { } }); After: DoSomething(new A() { @Override public String toString() { } }); llvm-svn: 220282 -
Daniel Jasper authored
Before: Iterable< ? > a; Iterable< ? extends SomeObject > a; After: Iterable<?> a; Iterable<? extends SomeObject> a; llvm-svn: 220281
-
Daniel Jasper authored
Before: class A extends B .C {} After: class A extends B.C {} llvm-svn: 220280 -
Daniel Jasper authored
Before: @SuppressWarnings (value = "unchecked") public void doSomething() { .. } After: @SuppressWarnings(value = "unchecked") public void doSomething() { .. } llvm-svn: 220279 -
Oliver Stannard authored
The Thumb2 LDRS?[BH] instructions are not valid when the destination register is the PC (these encodings are used for preload hints). llvm-svn: 220278
-
Chandler Carruth authored
inttoptr or ptrtoint cast provided there is datalayout available. Eventually, the datalayout can just be required but in practice it will always be there today. To go with the ability to expose available values requiring a ptrtoint or inttoptr cast, helpers are added to perform one of these three casts. These smarts are necessary to finish canonicalizing loads and stores to the operational type requirements without regressing fundamental combines. I've added some test cases. These should actually improve as the load combining and store combining improves, but they may fundamentally be highlighting some missing combines for select in addition to exercising the specific added logic to load analysis. llvm-svn: 220277
-
Zoran Jovanovic authored
Differential Revision: http://reviews.llvm.org/D5118 llvm-svn: 220276
-
Zoran Jovanovic authored
Differential Revision: http://reviews.llvm.org/D5117 llvm-svn: 220275
-
Daniel Jasper authored
Before: @Override public String toString() { .. } After: @Override public String toString() { .. } llvm-svn: 220274 -
Zoran Jovanovic authored
Differential Revision: http://reviews.llvm.org/D5116 llvm-svn: 220273
-
Evgeny Astigeevich authored
llvm-svn: 220272
-
Evgeny Astigeevich authored
llvm-svn: 220271
-
Daniel Jasper authored
Before: { void (^block)(Object * x); } After: { void (^block)(Object *x); } llvm-svn: 220270 -
Daniel Jasper authored
Before: void F(int& i) { i. ~int(); } After: void F(int& i) { i.~int(); } Also, some cleanups. llvm-svn: 220269 -
Nick Lewycky authored
llvm-svn: 220268
-
Nick Lewycky authored
llvm-svn: 220267
-
NAKAMURA Takumi authored
llvm-svn: 220266
-
Justin Bogner authored
These tests were a little bit too flexible in terms of filenames. llvm-svn: 220265
-
Craig Topper authored
llvm-svn: 220264
-
Shankar Easwaran authored
The -mllvm option is not specific to LTO. llvm-svn: 220263
-
Alexey Bataev authored
This patch generates some helper variables which used as a private copies of the corresponding original variables inside an OpenMP 'parallel' directive. These generated variables are initialized by default (with the default constructor, if any). In outlined function references to original variables are replaced by the references to these private helper variables. At the end of the initialization of the private variables and implicit barier is set by calling __kmpc_barrier(...) runtime function to be sure that all threads were initialized using original values of the variables. Differential Revision: http://reviews.llvm.org/D4752 llvm-svn: 220262
-
Shankar Easwaran authored
The base class ELFObjectReader/ELFDSOReader implement the canParse functionaity with this change. llvm-svn: 220261
-
Eric Fiselier authored
llvm-svn: 220260
-
Rui Ueyama authored
Entry symbol name can be decorated. When we look for _WinMain, we also have to look for _WinMain@16. llvm-svn: 220259
-