- Jun 06, 2011
-
-
Jakob Stoklund Olesen authored
Only target-dependent hints require callbacks. The RCI allocation order has CSR aliases last according to their order of appearance in the getCalleeSavedRegs list. This can depend on the calling convention. This way, AllocationOrder::next doesn't have to check for reserved registers, and CSRs are always allocated last, even with weird calling conventions. llvm-svn: 132690
-
Nadav Rotem authored
legalize SDNodes such as BUILD_VECTOR, EXTRACT_VECTOR_ELT, etc. llvm-svn: 132689
-
Alexis Hunt authored
llvm-svn: 132687
-
Nick Lewycky authored
it was added, the test has regressed, so XFAIL it. llvm-svn: 132686
-
Stuart Hastings authored
llvm-svn: 132682
-
Stuart Hastings authored
llvm-svn: 132681
-
Jakob Stoklund Olesen authored
The order of registers returned by getCalleeSavedRegs is used to lay out the fixed stack slots for CSRs. Some targets like their CSRs used from one end, and some targets want them used from the other end. When computing an allocation order, simply preserve the relative ordering of CSRs that the target specifies in its allocation order. Reordering CSRs would break some targets, ARM in particular. We still place volatiles before the CSRs, providing slightly better results with different calling conventions. llvm-svn: 132680
-
Jonathan D. Turner authored
llvm-svn: 132679
-
Tobias Grosser authored
llvm-svn: 132678
-
Douglas Gregor authored
specializing a member of an unspecialized template, and recover from such errors without crashing. Fixes PR10024 / <rdar://problem/9509761>. llvm-svn: 132677
-
Eli Friedman authored
llvm-svn: 132676
-
Francois Pichet authored
llvm-svn: 132675
-
Francois Pichet authored
"unsafe mix of type 'int' and type 'bool' in operation" llvm-svn: 132674
-
Chandler Carruth authored
this. My suggestion assumed a viable erase method for iterators on SmallPtrSet. This patch restores his original pattern. llvm-svn: 132673
-
Richard Smith authored
Fix PR10053: Improve diagnostics and error recovery for code which some compilers incorrectly accept due to a lack of proper support for two-phase name lookup. llvm-svn: 132672
-
- Jun 05, 2011
-
-
Benjamin Kramer authored
llvm-svn: 132671
-
Benjamin Kramer authored
llvm-svn: 132669
-
Benjamin Kramer authored
llvm-svn: 132668
-
Sebastian Redl authored
Drop most of InitializationSequence::SequenceKind's values. They didn't really contain any information that the step array didn't contain too. This makes debugging dumps a bit less informative, but probably not significantly so. The advantage is that the redundancy is gone, so the code is easier to understand. ReferenceBinding is still there, because it is used in some unclear code. llvm-svn: 132667
-
Sebastian Redl authored
llvm-svn: 132666
-
Howard Hinnant authored
llvm-svn: 132665
-
Sebastian Redl authored
Remove all references to InitializationSequence::FailedSequence from outside SemaInit.cpp. Replace them with the boolean conversion or the new Failed() function. This is a first step towards removing InitializationSequence::SequenceKind. No functionality change. llvm-svn: 132664
-
Sebastian Redl authored
llvm-svn: 132663
-
Sebastian Redl authored
llvm-svn: 132662
-
Sebastian Redl authored
llvm-svn: 132661
-
Douglas Gregor authored
compared even when one is a reference binding and the other is not (<rdar://problem/9173984>), but the definition of an identity sequence does not involve lvalue-to-rvalue adjustments (PR9507). Fix both inter-related issues. llvm-svn: 132660
-
-
Douglas Gregor authored
return <expression> ; in blocks with a 'void' result type, so long as <expression> has type 'void'. This follows the rules for C++ functions. llvm-svn: 132658
-
Douglas Gregor authored
with a type-dependent expression, infer the placeholder type 'Context.DependentTy' to indicate that this is just a placeholder. Fixes PR9982 / <rdar://problem/9486685>. llvm-svn: 132657
-
Rafael Espindola authored
We still don't handle * default values * :req * :vararg * \() llvm-svn: 132656
-
Rafael Espindola authored
VK_GOTOFF reloc. This matches as' behavior, but it is not clear why the linker might need this, so I added a FIXME. I could test this by duplicating test/MC/ELF/got.s, but it doesn't look worthwhile. llvm-svn: 132655
-
Jakob Stoklund Olesen authored
Who said FileCheck couldn't handle arbitrarily complex conditions? llvm-svn: 132654
-
Rafael Espindola authored
llvm-svn: 132653
-
Howard Hinnant authored
llvm-svn: 132652
-
- Jun 04, 2011
-
-
Richard Smith authored
llvm-svn: 132651
-
Howard Hinnant authored
llvm-svn: 132650
-
Nadav Rotem authored
TypeLegalizer: Add support for passing of vector-promoted types in registers (copyFromParts/copyToParts). llvm-svn: 132649
-
Nadav Rotem authored
(only happens when using the -promote-elements option). The correct legalization order is to first try to promote element. Next, we try to widen vectors. llvm-svn: 132648
-
Howard Hinnant authored
llvm-svn: 132647
-
Howard Hinnant authored
llvm-svn: 132646
-