- Nov 01, 2011
-
-
Eli Friedman authored
Fix the representation of wide strings in the AST and IR so that it uses the native representation of integers for the elements. This fixes a bunch of nastiness involving treating wide strings as a series of bytes. Patch by Seth Cantrell. llvm-svn: 143417
-
Fariborz Jahanian authored
In this case, temporary value is copied into block descriptor as their own copy to work on. // rdar://9971124 llvm-svn: 143399
-
- Oct 31, 2011
-
-
Anders Carlsson authored
In x86_64, when calling an Objective-C method that returns a _Complex long double, make sure to use the objc_msgSend_fp2ret function which ensures that the return value will be {0, 0} if the receiver is nil. llvm-svn: 143350
-
Nick Lewycky authored
llvm-svn: 143327
-
- Oct 30, 2011
-
-
Peter Collingbourne authored
-mlink-bitcode-file flag), and more generally llvm::Modules, before running optimisations. llvm-svn: 143314
-
- Oct 29, 2011
-
-
Richard Smith authored
implicitly perform an lvalue-to-rvalue conversion if used on an lvalue expression. Also improve the documentation of Expr::Evaluate* to indicate which of them will accept expressions with side-effects. llvm-svn: 143263
-
- Oct 28, 2011
-
-
Devang Patel authored
In case of template specialization, do not try to delay emitting debug info for concrete type in -flimit-debug-info mode. This fixes some of the failures from bs15503.exp tests in gdb testsuite. llvm-svn: 143227
-
Rafael Espindola authored
the common case (-O0, no always_inline) fast. llvm-svn: 143222
-
David Chisnall authored
llvm-svn: 143205
-
- Oct 27, 2011
-
-
Peter Collingbourne authored
The OpenCL single precision division operation is only required to be accurate to 2.5ulp. Annotate the fdiv instruction with metadata which signals to the backend that an imprecise divide instruction may be used. llvm-svn: 143136
-
- Oct 26, 2011
-
-
Fariborz Jahanian authored
value and ABI requires return slot to be passed as first argument to message sent. // rdar://10331109 llvm-svn: 143053
-
Rafael Espindola authored
itself via an asm label. available_externally functions are supposed to correspond to an external function, and that is not the case in the examples in pr9614. llvm-svn: 143049
-
- Oct 25, 2011
-
-
John McCall authored
GCC compiler workaround. llvm-svn: 142931
-
NAKAMURA Takumi authored
r142914: "Introduce a placeholder type for "pseudo object"" r142915: "Pull the pseudo-object stuff into its own file." llvm-svn: 142921
-
David Chisnall authored
Change an int64_t to an intptr_t so that we don't end up with crashes in the back end on large classes on 32-bit. llvm-svn: 142918
-
John McCall authored
expressions: expressions which refer to a logical rather than a physical l-value, where the logical object is actually accessed via custom getter/setter code. A subsequent patch will generalize the AST for these so that arbitrary "implementing" sub-expressions can be provided. Right now the only client is ObjC properties, but this should be generalizable to similar language features, e.g. Managed C++'s __property methods. llvm-svn: 142914
-
Douglas Gregor authored
statements. As noted in the documentation for the AST node, the semantics of __if_exists/__if_not_exists are somewhat different from the way Visual C++ implements them, because our parsed-template representation can't accommodate VC++ semantics without serious contortions. Hopefully this implementation is "good enough". llvm-svn: 142901
-
Dan Gohman authored
llvm-svn: 142879
-
Devang Patel authored
llvm-svn: 142873
-
Eli Friedman authored
llvm-svn: 142863
-
- Oct 24, 2011
-
-
Benjamin Kramer authored
llvm-svn: 142803
-
David Chisnall authored
llvm-svn: 142796
-
David Chisnall authored
llvm-svn: 142795
-
- Oct 22, 2011
-
-
Bob Wilson authored
llvm-svn: 142734
-
Benjamin Kramer authored
llvm-svn: 142730
-
Eric Christopher authored
for the function type. Update a testcase accordingly. Patch initially by Anders Waldenborg! llvm-svn: 142700
-
Fariborz Jahanian authored
class declaration which forces any such class and any class that inherits from such a class to have their typeinfo symbols be marked as weak. // rdar://10246395 A test/CodeGenCXX/weak-extern-typeinfo.cpp M lib/Sema/SemaDeclCXX.cpp M lib/Sema/SemaDeclAttr.cpp M lib/CodeGen/CGRTTI.cpp llvm-svn: 142693
-
- Oct 21, 2011
-
-
Nick Lewycky authored
closer to what GCC does, except that GCC also checks that the inodes for $PWD and '.' match. llvm-svn: 142633
-
- Oct 19, 2011
-
-
Eric Christopher authored
Fixes rdar://10282889 llvm-svn: 142467
-
Eric Christopher authored
lexical blocks for debug info. llvm-svn: 142466
-
John McCall authored
llvm-svn: 142433
-
- Oct 18, 2011
-
-
John McCall authored
llvm-svn: 142420
-
Eli Friedman authored
Rewrite parts of MS ABI C++ layout. Based on work by r4start; I ended up doing this while I was trying to review his patch. llvm-svn: 142325
-
Nick Lewycky authored
r142300 but not this patch, clang -S may emit .s files that assemblers other than llvm-mc can't parse. llvm-svn: 142301
-
- Oct 17, 2011
-
-
John McCall authored
casts in ARC. No semantic analysis yet. llvm-svn: 142208
-
- Oct 16, 2011
-
-
Benjamin Kramer authored
t.c:2:7: error: invalid operand for instruction asm("movl 0(%rax), 0(%edx)"); ^ <inline asm>:1:16: note: instantiated into assembly here movl 0(%rax), 0(%edx) ^~~~~~~ 1 error generated. llvm-svn: 142131
-
- Oct 15, 2011
-
-
Benjamin Kramer authored
llvm-svn: 142072
-
Eli Friedman authored
llvm-svn: 142047
-
Anton Korobeynikov authored
Lack of half FP was a regression compared to llvm-gcc. llvm-svn: 142016
-
- Oct 14, 2011
-
-
Eli Friedman authored
llvm-svn: 142002
-