- May 15, 2012
-
-
Stepan Dyatkovskiy authored
SelectionDAGBuilder::Clusterify : main functinality was replaced with CRSBuilder::optimize, so big part of Clusterify's code was reduced. llvm-svn: 156804
-
Richard Smith authored
PR12826: Converting an lvalue to an xvalue is a no-op conversion, not an lvalue-to-rvalue conversion. llvm-svn: 156803
-
Richard Smith authored
into one. These were all performing almost identical checks, with different bugs in each of them. This fixes PR12806 (we weren't setting the exception specification for an explicitly-defaulted, non-user-provided default constructor) and enforces 8.4.2/2's rule that an in-class defaulted member must exactly match the implicit parameter type. llvm-svn: 156802
-
Akira Hatanaka authored
resolved. llvm-svn: 156801
-
Greg Clayton authored
llvm-svn: 156797
-
rdar://problem/11451919Greg Clayton authored
Fixed the test suite not working on i386 due to recent default arch detection changes. llvm-svn: 156796
-
rdar://problem/11240464Greg Clayton authored
Correctly unique a class' methods when we detect that a class has been uniqued to another. llvm-svn: 156795
-
John McCall authored
it is placed in a position which is never ambiguous with a reference-to-function type. This follows some recent discussion and ensuing proposal on cxx-abi-dev. It is not necessary to change the mangling of CV-qualifiers because you cannot apply CV-qualification in the normal sense to a function type. It is not necessary to change the mangling of ref-qualifiers on method declarations because they appear in an unambiguous location. In addition, mangle CV-qualifiers and ref-qualifiers on function types when they occur in positions other than member pointers (that is, when they appear as template arguments). This is a minor ABI break with previous releases of clang. It is not considered critical because (1) ref-qualifiers are relatively rare, since AFAIK we're the only implementing compiler, and (2) they're particularly likely to come up in contexts that do not rely on the ODR for correctness. We apologize for any inconvenience; this is the right thing to do. llvm-svn: 156794
-
Enrico Granata authored
Fixing a bug where the summary for certain NSStrings was being returned as empty in spite of the string actually having a content llvm-svn: 156793
-
Jakob Stoklund Olesen authored
Besides the weight, we also want to store up to two root registers per unit. Most units will have a single root, the leaf register they represent. Units created for ad hoc aliasing get two roots: The two aliasing registers. The root registers can be used to compute the set of overlapping registers. llvm-svn: 156792
-
Bill Wendling authored
llvm-svn: 156791
-
Akira Hatanaka authored
The purpose of this option is to silence error messages issued by machine verifier passes and enable them to run to the end. If this option is not provided, -verify-machineinstrs complains when it discovers there is a non-terminator instruction (an instruction that is in a delay slot) after the first terminator in a basic block. llvm-svn: 156790
-
Argyrios Kyrtzidis authored
the receiver in parentheses when necessary. Part of rdar://11438360 llvm-svn: 156789
-
Fariborz Jahanian authored
// rdar://11356439 llvm-svn: 156788
-
Michael J. Spencer authored
llvm-svn: 156787
-
Richard Smith authored
permitted as a Microsoft extension. Patch by William Wilson! (Plus some minor tweaking by me.) llvm-svn: 156786
-
Michael J. Spencer authored
llvm-svn: 156785
-
Anna Zaks authored
We should investigate why signature info is not set in this case. llvm-svn: 156784
-
Richard Smith authored
llvm-svn: 156783
-
Argyrios Kyrtzidis authored
cast to 'id' for any argument that requires it. Part of rdar://11438360. llvm-svn: 156782
-
Richard Smith authored
expression is treated as an lvalue. llvm-svn: 156781
-
David Blaikie authored
Found by GCC's maybe-uninitialized. llvm-svn: 156780
-
Enrico Granata authored
llvm-svn: 156779
-
Jakob Stoklund Olesen authored
This should unbreak llvm-x86_64-linux. llvm-svn: 156778
-
Jakob Stoklund Olesen authored
RAFast must add an <imp-def> operand when it is rewriting a sub-register def that isn't a read-modify-write. llvm-svn: 156777
-
Chad Rosier authored
so that it can be reused in MemCpyOptimizer. This analysis is needed to remove an unnecessary memcpy when returning a struct into a local variable. rdar://11341081 PR12686 llvm-svn: 156776
-
Brendon Cahoon authored
llvm-svn: 156775
-
Dan Gohman authored
llvm-svn: 156774
-
Johnny Chen authored
Fix missing NEON registers for the 'register read' command with the lldb debugserver which supports the 'qRegisterInfo' packet that dynamically discovers remote register context information. o GDBRemoteRegisterContext.h: Change the prototype of HardcodeARMRegisters() to take a boolean flag, which now becomes void HardcodeARMRegisters(bool from_scratch); o GDBRemoteRegisterContext.cpp: HardcodeARMRegisters() now checks the from_scratch flag and decides whether to add composite registers to the already existing primordial registers based on a table called g_composites which describes the composite registers. o ProcessGDBRemote.cpp: Modify the logic of ProcessGDBRemote::BuildDynamicRegisterInfo() to call m_register_info.HardcodeARMRegisters() with the newly introduced 'bool from_scrach' flag. rdar://problem/10652076 llvm-svn: 156773 -
Akira Hatanaka authored
llvm-svn: 156772
-
Chandler Carruth authored
Patch from Andrew C. Morrow. llvm-svn: 156771
-
Andrew Trick authored
llvm-svn: 156770
-
Jordy Rose authored
We check the address of the last element accessed, but with 0 calculating that address results in element -1. This patch bails out early (and avoids a bunch of other work at that). Fixes PR12807. llvm-svn: 156769
-
- May 14, 2012
-
-
Jakob Stoklund Olesen authored
Returning a temporary BitVector is very expensive. If you must, create the temporary explicitly: Use BitVector(A).flip() instead of ~A. llvm-svn: 156768
-
Jakob Stoklund Olesen authored
These operators were crazy slow, calling malloc to return a temporary result. At the same time, they look very innocent when used in code. If you need temporary BitVectors to compute your thing, create them explicitly, and use the inplace logical operators. This makes the high cost explicit in the code. llvm-svn: 156767
-
Dmitry Vyukov authored
llvm-svn: 156766
-
Dmitry Vyukov authored
llvm-svn: 156765
-
Dmitry Vyukov authored
llvm-svn: 156764
-
Jakob Stoklund Olesen authored
Register units can be used to compute if two registers overlap: A overlaps B iff units(A) intersects units(B). With this change, the above holds true even on targets that use ad hoc aliasing (currently only ARM). This means that register units can be used to implement regsOverlap() more efficiently, and the register allocator can use the concept to model interference. When there is no ad hoc aliasing, the register units correspond to the maximal cliques in the register overlap graph. This is optimal, no other register unit assignment can have fewer units. With ad hoc aliasing, weird things are possible, and we don't try too hard to compute the maximal cliques. The current approach is always correct, and it works very well (probably optimally) as long as the ad hoc aliasing doesn't have cliques larger than pairs. It seems unlikely that any target would need more. llvm-svn: 156763
-
Jakob Stoklund Olesen authored
The ad hoc aliasing specified in the 'Aliases' list in .td files is currently only used by computeOverlaps(). It will soon be needed to build accurate register units as well, so build the undirected graph in CodeGenRegister::buildObjectGraph() instead. Aliasing is a symmetric relationship with only one direction specified in the .td files. Make sure both directions are represented in getExplicitAliases(). llvm-svn: 156762
-