- May 28, 2011
-
-
Eli Friedman authored
Match llvm-gcc's string literals alignment by forcing alignment on string literals to 1. This can significantly impact the size of the string data, and as far as I know, the alignment doesn't help performance. rdar://9078969 . llvm-svn: 132223
-
- May 27, 2011
-
-
Eli Friedman authored
llvm-svn: 132219
-
John McCall authored
to be careful to emit landing pads that are always prepared to handle a cleanup path. This is correct mostly because of the fix to the LLVM inliner, r132200. llvm-svn: 132209
-
Douglas Gregor authored
parameter types to be ill-formed. However, it relies on the completeness of method parameter types when producing metadata, e.g., for a protocol, leading IR generating to crash in such cases. Since there's no real way to tighten down the semantics of Objective-C here without breaking existing code, do something safe but lame: suppress the generation of metadata when this happens. Fixes <rdar://problem/9123036>. llvm-svn: 132171
-
- May 26, 2011
-
-
Eli Friedman authored
Skip extra copy from aggregate where it isn't necessary; rdar://problem/8139919 . This shouldn't make much of a difference at -O3, but should substantially reduce the number of generated memcpy's at -O0. Originally r130717, but was backed out due to an ObjC regression. llvm-svn: 132102
-
- May 25, 2011
-
-
David Chisnall authored
llvm-svn: 132077
-
Rafael Espindola authored
llvm-svn: 132034
-
Alexis Hunt authored
type that turns one type into another. This is used as the basis to implement __underlying_type properly - with TypeSourceInfo and proper behavior in the face of templates. llvm-svn: 132017
-
- May 24, 2011
-
-
David Chisnall authored
llvm-svn: 131935
-
David Chisnall authored
llvm-svn: 131932
-
David Chisnall authored
Fix some problems where functions must be bitcast but we're expecting a llvm::Function of the right type. PR9994. llvm-svn: 131930
-
- May 23, 2011
-
-
Chris Lattner authored
code generator will do it. With this patch, clang compiles the example in PR9794 to not have an alloca temporary. llvm-svn: 131881
-
Chris Lattner authored
generator will give it something sufficient. This is important because the mid-level optimizer doesn't know what alignment is required otherwise. llvm-svn: 131879
-
David Chisnall authored
llvm-svn: 131877
-
Chris Lattner authored
llvm-svn: 131870
-
- May 22, 2011
-
-
Chris Lattner authored
llvm-svn: 131815
-
- May 21, 2011
-
-
Chris Lattner authored
llvm-svn: 131808
-
Eli Friedman authored
and stop abusing the multi-level dereference isa<> used to allow. llvm-svn: 131804
-
- May 20, 2011
-
-
Douglas Gregor authored
Type::isUnsignedIntegerOrEnumerationType(), which are like Type::isSignedIntegerType() and Type::isUnsignedIntegerType() but also consider the underlying type of a C++0x scoped enumeration type. Audited all callers to the existing functions, switching those that need to also handle scoped enumeration types (e.g., those that deal with constant values) over to the new functions. Fixes PR9923 / <rdar://problem/9447851>. llvm-svn: 131735
-
Devang Patel authored
llvm-svn: 131701
-
- May 19, 2011
-
-
Eli Friedman authored
llvm-svn: 131611
-
- May 18, 2011
-
-
Roman Divacky authored
llvm-svn: 131558
-
Bill Wendling authored
<rdar://problem/8107317> llvm-svn: 131504
-
Fariborz Jahanian authored
llvm-svn: 131499
-
Fariborz Jahanian authored
user specified string class via -fconstant-string-class option. pr9914. llvm-svn: 131496
-
- May 17, 2011
-
-
Eli Friedman authored
For calls returning first-class aggregates, store by element instead of creating aggregate stores in common cases. This is more friendly to fast-isel. llvm-svn: 131490
-
John McCall authored
optimization for abstract classes; there was a misunderstanding, and it turns out that there are no kexts which rely on this. llvm-svn: 131489
-
Argyrios Kyrtzidis authored
llvm-svn: 131450
-
Argyrios Kyrtzidis authored
llvm-svn: 131447
-
Devang Patel authored
Radar 9440721 llvm-svn: 131441
-
Ted Kremenek authored
llvm-svn: 131435
-
John McCall authored
reasons that honestly really, really need to be looked into. llvm-svn: 131434
-
- May 16, 2011
-
-
Anders Carlsson authored
optimization. Make sure to require a vtable when trying to get the address of a VTT, otherwise we would never end up emitting the VTT. llvm-svn: 131400
-
John McCall authored
operators; their semantics are guaranteed by the language. If someone wants to argue that freestanding compiles shouldn't recognize this, I might be convinceable. llvm-svn: 131395
-
- May 15, 2011
-
-
Anders Carlsson authored
llvm-svn: 131385
-
John McCall authored
It can be larger, it can be smaller, it can be signed, whatever. Handle all the crazy cases with grace and spirit. llvm-svn: 131378
-
John McCall authored
hasAggregateLLVMType. llvm-svn: 131375
-
John McCall authored
llvm-svn: 131374
-
John McCall authored
types. Also, cache a translation of 'void' in CGM and provide a ptrdiff_t alias. No functionality change. llvm-svn: 131373
-
Anders Carlsson authored
llvm-svn: 131372
-