- Jul 09, 2012
-
-
Akira Hatanaka authored
Access mips register classes via MCRegisterInfo's functions instead of via the TargetRegisterClasses defined in MipsGenRegisterInfo.inc. llvm-svn: 159953
-
Nuno Lopes authored
This patch removes ~70 lines in InstCombineLoadStoreAlloca.cpp and makes both functions a bit more aggressive than before :) In theory, we can be more aggressive when removing an alloca than a malloc, because an alloca pointer should never escape, but we are not taking advantage of this anyway llvm-svn: 159952
-
Jim Grosbach authored
Lots of tests are using an explicit target triple w/o first checking that the target is actually available. Add a REQUIRES clause to a bunch of them. This should hopefully unbreak bots which don't configure w/ all targets enabled. llvm-svn: 159949
-
Richard Barton authored
llvm-svn: 159948
-
Richard Barton authored
llvm-svn: 159945
-
Fariborz Jahanian authored
from diagnostics. // rdar://9657485 llvm-svn: 159943
-
Chad Rosier authored
llvm-svn: 159942
-
Jordan Rose authored
Previously it was possible to get an infinite-loop-on-invalid with a namespace decl within @interface. Since 'namespace' is normally a safe place to retry top-level parsing, we just didn't consume the token. This adds a flag that tracks whether we have temporarily left Objective-C scope to parse a C-like declaration, and uses that to better recover from parse problems by stopping at possible method declarations and at @end. To fix the original problem, we do /not/ stop at 'namespace' when in an Objective-C @interface or @protocol context (but still do in @implementation). llvm-svn: 159941
-
Jordan Rose authored
This was a regression introduced during the CallEvent changes; a call to FunctionDecl::hasBody was also being used to replace the decl found by lookup with the actual definition. To keep from making this mistake again (particularly if/when we start inlining Objective-C methods), this commit adds a "getDefinition()" method to CallEvent, which should do the right thing under any circumstances. llvm-svn: 159940
-
Jordan Rose authored
Chris pointed out that while the comparison is certainly problematic and does not have well-defined behavior, it isn't any worse than some of the other abuses that we merely warn about and doesn't need to make the compilation fail. Revert the release notes change (r159766) now that this is just a new warning. llvm-svn: 159939
-
Richard Barton authored
Fix instruction description of VMOV (between two ARM core registers and two single-precision resiters) llvm-svn: 159938
-
Richard Barton authored
llvm-svn: 159937
-
Richard Barton authored
llvm-svn: 159936
-
Richard Barton authored
Teach the assembler to use the narrow thumb encodings of various three-register dp instructions where permissable. llvm-svn: 159935
-
Alexey Samsonov authored
llvm-svn: 159934
-
Alexey Samsonov authored
llvm-svn: 159933
-
NAKAMURA Takumi authored
[CMake] Get rid of unconditional dependency to ClangDiagnosticCommon. Only clangBasic and clangASTMatchers need it. llvm-svn: 159931
-
Filipe Cabecinhas authored
llvm-svn: 159930
-
Filipe Cabecinhas authored
llvm-svn: 159929
-
Alexey Samsonov authored
llvm-svn: 159928
-
Filipe Cabecinhas authored
llvm-svn: 159927
-
Arnaud A. de Grandmaison authored
Patch by David Röthlisberger llvm-svn: 159926
-
Alexander Kornienko authored
llvm-svn: 159925
-
Jason Molenda authored
a bit -- we're creating the UnwindPlan here, we can set the register set to whatever is convenient for us, no need to handle different register sets. A handful of small comment fixes I noticed while reading through the code. llvm-svn: 159924
-
Manuel Klimek authored
Patch contributed by David Roethlisberger. llvm-svn: 159923
-
Richard Smith authored
* When substituting a reference to a non-type template parameter pack where the corresponding argument is a pack expansion, transform into an expression which contains an unexpanded parameter pack rather than into an expression which contains a pack expansion. This causes the SubstNonTypeTemplateParmExpr to be inside the PackExpansionExpr, rather than outside, so the expression still looks like a pack expansion and can be deduced. * Teach MarkUsedTemplateParameters that we can deduce a reference to a template parameter if it's wrapped in a SubstNonTypeTemplateParmExpr (such nodes are added during alias template substitution). llvm-svn: 159922
-
Howard Hinnant authored
llvm-svn: 159921
-
Howard Hinnant authored
Change emplace for vector and deque to create the temporary (when necessary) before any changes to the container are made. Nikolay Ivchenkov deserves the credit for pushing this problem and the solution for it. llvm-svn: 159918
-
- Jul 08, 2012
-
-
Richard Smith authored
llvm-svn: 159917
-
Benjamin Kramer authored
Remove some trivial copy ctors so the classes become trivially copyable and get the optimized SmallVector implementation. llvm-svn: 159916
-
Alexander Potapenko authored
llvm-svn: 159915
-
Benjamin Kramer authored
llvm-svn: 159914
-
Benjamin Kramer authored
llvm-svn: 159913
-
NAKAMURA Takumi authored
I'll try to increase stack size later. llvm-svn: 159912
-
Simon Atanasyan authored
MIPS: Range check __builtin_mips_wrdsp / __builtin_mips_rddsp arguments against the upper/lower values. llvm-svn: 159911
-
Simon Atanasyan authored
llvm-svn: 159910
-
Richard Smith authored
expression, skip over any SubstNonTypeTemplateParmExprs which alias templates may have inserted before checking for a DeclRefExpr referring to a non-type template parameter declaration. llvm-svn: 159909
-
Richard Smith authored
llvm-svn: 159908
-
Richard Smith authored
-ftemplate-depth limit. There are various ways to get an infinite (or merely huge) stack of substitutions with no intervening instantiations. This is also consistent with gcc's behavior. llvm-svn: 159907
-
NAKAMURA Takumi authored
ASTMatchers/CMakeLists.txt: Add dependencies to generated headers, or "make clean; make ASTMatchers" would fail. llvm-svn: 159906
-