| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
before in the new function Sema::DiagRuntimeBehavior, addressing one of Chris' comments.
llvm-svn: 91870
|
|
|
|
|
|
| |
a call. This speeds up memdep ~1.5%
llvm-svn: 91869
|
|
|
|
|
|
|
|
|
| |
this was useful, and on review Doug and I decided it was probably on the level
of a bug in the standard and therefore not worth a warning even in -pedantic.
If someone disagrees and urgently wants clang++ to warn about this in strict
c++98 mode, we can talk about it.
llvm-svn: 91868
|
|
|
|
| |
llvm-svn: 91867
|
|
|
|
| |
llvm-svn: 91866
|
|
|
|
| |
llvm-svn: 91865
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
get things like this out of the disassembler:
0x100000ecb: callq -96
instead of:
0x100000ecb: callq 4294967200
rdar://7491123
llvm-svn: 91864
|
|
|
|
| |
llvm-svn: 91863
|
|
|
|
|
|
| |
since the context is available in the Decl
llvm-svn: 91862
|
|
|
|
|
|
|
|
|
| |
constructor call, the conversion is only a standard conversion
sequence if that constructor is a copy constructor. This fixes PR5834
in a semi-lame way, because the "real" fix will be to move over to
InitializationSequence. That will happen "soonish", but not now.
llvm-svn: 91861
|
|
|
|
|
|
| |
SDNodes. This time in the load/store and limited-precision code.
llvm-svn: 91860
|
|
|
|
|
|
| |
This fixes an in-place update bug where code inserted at the end of basic blocks may not be covered by existing intervals which were live across the entire block. It is also consistent with the way ranges are specified for live intervals.
llvm-svn: 91859
|
|
|
|
|
|
|
| |
sure to fill in the initialized member of a union when a member was
explicitly designated. Fixes PR5843.
llvm-svn: 91858
|
|
|
|
|
|
|
| |
assign the ordering when called. Combine some of the ordering assignments to
keep things simple.
llvm-svn: 91857
|
|
|
|
|
|
| |
imported block variables. WIP.
llvm-svn: 91856
|
|
|
|
|
|
|
|
| |
- Correctly is in quotes, because we are following what I interpreted as GCC's
intent (which diverges from practice, naturally).
- Also, fix the arch define for arm1136jf-s.
llvm-svn: 91855
|
|
|
|
| |
llvm-svn: 91854
|
|
|
|
| |
llvm-svn: 91853
|
|
|
|
|
|
|
|
|
|
| |
explicitly-specified template arguments are enough to determine the
instantiation, and either template argument deduction fails or is not
performed in that context, we can resolve the template-id down to a
function template specialization (so sayeth C++0x
[temp.arg.explicit]p3). Fixes PR5811.
llvm-svn: 91852
|
|
|
|
|
|
|
|
|
|
|
| |
load to avoid even messing around with SSAUpdate at all. In this case (which
is very common, we can just use the input value directly).
This speeds up GVN time on gcc.c-torture/20001226-1.c from 36.4s to 16.3s,
which still isn't great, but substantially better and this is a simple speedup
that applies to lots of different cases.
llvm-svn: 91851
|
|
|
|
|
|
| |
orderings to values returned by getValue().
llvm-svn: 91850
|
|
|
|
| |
llvm-svn: 91849
|
|
|
|
|
|
| |
no functionality change.
llvm-svn: 91848
|
|
|
|
|
|
| |
shuffle and insert vector.
llvm-svn: 91847
|
|
|
|
| |
llvm-svn: 91846
|
|
|
|
|
|
| |
- Modify the "dump" method to emit the order of an SDNode.
llvm-svn: 91845
|
|
|
|
|
|
|
|
|
| |
not deduce an "overload" type. Such a deduction indicates a failure in
semantic analysis (e.g., PR5811) that currently isn't caught until
code-generation time. This assertions makes it clearer that this
particular issue is a semantic-analysis problem, not a code-gen problem.
llvm-svn: 91844
|
|
|
|
|
|
|
| |
just substituted. This could cause infinite looping in certain
pathological cases.
llvm-svn: 91843
|
|
|
|
|
|
| |
two reasons: 1. Accroding to C++ standard snprintf should be available in std namespace (and __gnu_cxx in case of GCC to). Such ifdef will change all snprintf's to _snprintf's, but won't bring snprintf to all necessary namespaces. Thus e.g. any locale-using code on mingw will yield an error (include this file + string to see the result) 2. MSVCRT's _snprintf does not comply with C99 standard. Standard one is snprintf.
llvm-svn: 91842
|
|
|
|
| |
llvm-svn: 91841
|
|
|
|
|
|
|
|
|
| |
recursing in CGDebugInfo::CreateTypeNode, teach
CanonicalizeTypeForDebugInfo---now called UnwrapTypeForDebugInfo---to
keep unwrapping the type until we hit something that can be
represented by debug information. Thanks to Anders for pointing this out!
llvm-svn: 91840
|
|
|
|
|
|
| |
a lot of the branching instructions.
llvm-svn: 91838
|
|
|
|
|
|
|
|
| |
ElaboratedType, QualifiedNameType, and SubstTemplateTypeParmType type
nodes. Also, produce an "unsupported" diagnostic for C++0x type nodes
and "typeof" nodes, rather than asserting nondescriptly.
llvm-svn: 91837
|
|
|
|
| |
llvm-svn: 91836
|
|
|
|
| |
llvm-svn: 91834
|
|
|
|
|
|
| |
object.
llvm-svn: 91830
|
|
|
|
|
|
|
|
| |
two-element arrays. After restructuring the SROA code, it was not safe to
do this without adding more checking. It is not clear that this special-case
has really been useful, and removing this simplifies the code quite a bit.
llvm-svn: 91828
|
|
|
|
|
|
| |
as a g++ extension (fixes radar 7481987).
llvm-svn: 91827
|
|
|
|
|
|
| |
care, feel free to fix.
llvm-svn: 91826
|
|
|
|
|
|
| |
support diagnostics and error recovery.
llvm-svn: 91825
|
|
|
|
|
|
|
|
|
|
| |
by allowing backends to override routines that will default
the JIT and Static code generation to an appropriate code model
for the architecture.
Should fix PR 5773.
llvm-svn: 91824
|
|
|
|
| |
llvm-svn: 91823
|
|
|
|
| |
llvm-svn: 91822
|
|
|
|
|
|
| |
the underlying PHI node insertion issue in SSAUpdate is fixed.
llvm-svn: 91821
|
|
|
|
|
|
|
|
|
|
| |
'GetValueInMiddleOfBlock' case, instead of inserting
duplicates.
A similar fix is almost certainly needed by the machine-level
SSAUpdate implementation.
llvm-svn: 91820
|
|
|
|
| |
llvm-svn: 91819
|
|
|
|
| |
llvm-svn: 91818
|
|
|
|
|
|
| |
bit more verbose, but optimize to much shorter code.
llvm-svn: 91817
|
|
|
|
| |
llvm-svn: 91816
|
|
|
|
| |
llvm-svn: 91815
|