- Feb 11, 2016
-
-
Matt Arsenault authored
If the two operands to an instruction were both subregisters of the same super register, it would incorrectly think this counted as the same constant bus use. This fixes the verifier error in fmin_legacy.ll which was missing -verify-machineinstrs. llvm-svn: 260495
-
Matt Arsenault authored
llvm-svn: 260494
-
Matt Arsenault authored
llvm-svn: 260493
-
Alexey Bataev authored
OMPCapturedExprDecl allows caopturing not only of fielddecls, but also other expressions. It also allows to simplify codegen for several clauses. llvm-svn: 260492
-
Matt Arsenault authored
llvm-svn: 260491
-
Matt Arsenault authored
These were only sharing some somewhat incorrect logic for when to scalarize or split vectors. llvm-svn: 260490
-
Michael J. Spencer authored
llvm-svn: 260489
-
Michael J. Spencer authored
This adds support for finding the dynamic table and dynamic symbol table via the section table or the program header table. If there's no section table an attempt is made to figure out the length of the dynamic symbol table. llvm-svn: 260488
-
Michael J. Spencer authored
llvm-svn: 260487
-
Michael J. Spencer authored
Sort by enum value, but keep related entries adjacent. This makes it easier to compare against documentation. llvm-svn: 260486
-
Michael J. Spencer authored
NFC. This code will be expanded to handle dynamic tables that don't have a PT_DYNAMIC. llvm-svn: 260485
-
Hemant Kulkarni authored
llvm-svn: 260484
-
Tom Stellard authored
Separate methods to convert parsed instructions to MCInst: - VOP3 only instructions (always create modifiers as operands in MCInst) - VOP2 instrunctions with modifiers (create modifiers as operands in MCInst when e64 encoding is forced or modifiers are parsed) - VOP2 instructions without modifiers (do not create modifiers as operands in MCInst) - Add VOP3Only flag. Pass HasMods flag to VOP3Common. - Simplify code that deals with modifiers (-1 is now same as 0). This is no longer needed. - Add few tests (more will be added separately). Update error message now correct. Patch By: Nikolay Haustov Differential Revision: http://reviews.llvm.org/D16778 llvm-svn: 260483 -
Davide Italiano authored
llvm-svn: 260482
-
Reid Kleckner authored
llvm-svn: 260481
-
Reid Kleckner authored
This test isn't posix specific, but it doesn't pass on Windows and is XFAILed. I suspect that this test, which is expected to fail, is causing the hangs I'm seeing on our WinASan builder. Moving it to Posix seems to be the cleanest way to avoid running it on Windows. llvm-svn: 260480
-
Justin Lebar authored
Summary: We can't do the right thing, since there's no right thing to do, but at least we can not crash the compiler. Reviewers: majnemer, rnk Subscribers: cfe-commits, jhen, tra Differential Revision: http://reviews.llvm.org/D17103 llvm-svn: 260479
-
Justin Lebar authored
Summary: Actions don't depend on the toolchain; they get bound to a particular toolchain via BindArch. No functional changes. Reviewers: echristo Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D17100 llvm-svn: 260478
-
Rui Ueyama authored
llvm-svn: 260477
-
Rui Ueyama authored
llvm-svn: 260476
-
Reid Kleckner authored
It thinks that these functions don't match the function pointer type that they are passed with: GCDAProfiling.c(578) : warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)' GCDAProfiling.c(579) : warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)' GCDAProfiling.c(580) : warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)' llvm-svn: 260475
-
Quentin Colombet authored
For now, generic virtual registers will not have a register class. We may want to change that. For instance, if we want to use all the methods from TargetRegisterInfo with generic virtual registers, we need to either have some sort of generic register classes that do what we want, or teach those methods how to deal with nullptr register class. Although the latter seems easy enough to do, we may still want to differenciate generic register classes from nullptr to catch cases where nullptr gets introduced by a bug of some sort. Anyway, I will file a PR to keep track of that. llvm-svn: 260474
-
Evgeniy Stepanov authored
This is an asan/android test harness change aiming to catch "adb pull" failures on the buildbot. llvm-svn: 260473
-
Reid Kleckner authored
Something changed the inference of nonnull. llvm-svn: 260472
-
Hemant Kulkarni authored
llvm-svn: 260471
-
Davide Italiano authored
llvm-svn: 260470
-
Teresa Johnson authored
Make sure we split ":" from the end of the global function id (which is <path>:<function> for local functions) instead of the beginning to avoid splitting at the wrong place for Windows file paths that contain a ":". llvm-svn: 260469
-
Quentin Colombet authored
llvm-svn: 260468
-
Rui Ueyama authored
llvm-svn: 260467
-
Mehdi Amini authored
The current function importer will walk the callgraph, importing transitively any callee that is below the threshold. This can lead to import very deep which is costly in compile time and not necessarily beneficial as most of the inline would happen in imported function and not necessarilly in user code. The actual factor has been carefully chosen by flipping a coin ;) Some tuning need to be done (just at the existing limiting threshold). Reviewers: tejohnson Differential Revision: http://reviews.llvm.org/D17082 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 260466
-
Rafael Espindola authored
They don't count for the memory or file size, so this is mostly just a simplification. The only noticeable difference should be fewer empty program headers. llvm-svn: 260465
-
Hemant Kulkarni authored
llvm-svn: 260464
-
Rui Ueyama authored
Global constructors and destructors are guaranteed to be called in the order as they appear in a translation unit. So we don't want to mess up the order if they have the same priority. llvm-svn: 260463
-
Mehdi Amini authored
There is not reason to pass an array of "char *" to rebuild a set if the client already has one. From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 260462
-
Mehdi Amini authored
From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 260461
-
Rui Ueyama authored
llvm-svn: 260460
-
Davide Italiano authored
llvm-svn: 260459
-
Mehdi Amini authored
Summary: Just like the existing find_as() method, the new insert_as() accepts an extra parameter which is used as a key to find the bucket in the map. When creating a Constant, we want to check the map before actually creating the object. In this case we have to perform two queries to the map, and this extra parameter can save recomputing the hash value for the second query. Reviewers: dexonsmith, chandlerc Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D16268 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 260458
-
Quentin Colombet authored
LLVM_BUILD_GLOBAL_ISEL llvm-svn: 260457
-
Quentin Colombet authored
llvm-svn: 260456
-