- Jan 04, 2012
-
-
Akira Hatanaka authored
llvm-svn: 147519
-
Akira Hatanaka authored
versions derive from them. - JALR64 is not needed since N64 does not emit jal. - Add template parameter to BranchLink that sets the rt field. - Fix the set of temporary registers for O32 and N64. llvm-svn: 147518
-
Eli Friedman authored
llvm-svn: 147517
-
Akira Hatanaka authored
is Mips64. llvm-svn: 147516
-
Eli Friedman authored
Stub out the Sema interface for lambda expressions, and change the parser to use it. Unconditionally error on lambda expressions because they don't work in any meaningful way yet. llvm-svn: 147515
-
Kostya Serebryany authored
llvm-svn: 147514
-
Evan Cheng authored
llvm-svn: 147513
-
Evan Cheng authored
(x > y) ? x : y => (x >= y) ? x : y So for something like (x - y) > 0 : (x - y) ? 0 It will be (x - y) >= 0 : (x - y) ? 0 This makes is possible to test sign-bit and eliminate a comparison against zero. e.g. subl %esi, %edi testl %edi, %edi movl $0, %eax cmovgl %edi, %eax => xorl %eax, %eax subl %esi, $edi cmovsl %eax, %edi rdar://10633221 llvm-svn: 147512
-
Rafael Espindola authored
llvm-svn: 147511
-
Kostya Serebryany authored
llvm-svn: 147509
-
Ted Kremenek authored
llvm-svn: 147506
-
Ted Kremenek authored
llvm-svn: 147505
-
Fariborz Jahanian authored
variety is treated as a 'void *'. No need to issue warning reserved for objc object properties. // rdar://10565506 llvm-svn: 147504
-
Eli Friedman authored
Get rid of an unnecessary check; the AST for init-lists is the same independent of whether we're in C++11 mode. llvm-svn: 147503
-
Chris Lattner authored
Before we'd get: $ clang t.c fatal error: error in backend: Invalid operand for inline asm constraint 'i'! Now we get: $ clang t.c t.c:16:5: error: invalid operand for inline asm constraint 'i'! "movq (%4), %%mm0\n" ^ Which at least gets us the inline asm that is the problem. llvm-svn: 147502
-
Chris Lattner authored
llvm-svn: 147501
-
Ted Kremenek authored
Enhance UnixAPIChecker to also warn about zero-sized allocations to calloc() and realloc(). Patch by Cyril Roelandt! llvm-svn: 147500
-
Douglas Gregor authored
Minor tweak to name lookup for C/Objective-C: after the first name, still consider whether this is a redeclaration lookup when determining whether to look for the visible declaration llvm-svn: 147499
-
Douglas Gregor authored
the AST reader doesn't actually perform a merge, because name lookup knows how to merge identical typedefs together. As part of this, teach C/Objective-C name lookup to return multiple results in all cases, rather than first digging through the attributes to see if the value is overloadable. This way, we'll catch ambiguous lookups in C/Objective-C. llvm-svn: 147498
-
Marshall Clow authored
llvm-svn: 147497
-
Eli Friedman authored
llvm-svn: 147496
-
Chad Rosier authored
llvm-svn: 147495
-
Ted Kremenek authored
from C++ constructors or destructors. Checker by Lei Zhang with a few tweaks by Ted Kremenek. llvm-svn: 147494
-
David Chisnall authored
Initialise constant Objective-C string isa pointers with a weak reference to the class, so that they are usable in +load methods if the string class has been compiled with clang - if it's been compiled with GCC, the ABI makes this impossible. (GNU runtimes) llvm-svn: 147493
-
Marshall Clow authored
llvm-svn: 147492
-
Jakob Stoklund Olesen authored
Patch by Andy Zhang! llvm-svn: 147491
-
- Jan 03, 2012
-
-
Fariborz Jahanian authored
attribute. llvm-svn: 147490
-
Chad Rosier authored
llvm-svn: 147489
-
Douglas Gregor authored
that if two modules A and B both contain a declaration of a tag such as struct X; and those two modules are unrelated, the two declarations of X will be merged into a single redeclaration chain. llvm-svn: 147488
-
Jakob Stoklund Olesen authored
This patch caused a miscompilation of oggenc because a frame pointer was suddenly needed halfway through register allocation. <rdar://problem/10625436> llvm-svn: 147487
-
Jakob Stoklund Olesen authored
This can only happen if the set of reserved registers changes during register allocation. <rdar://problem/10625436> llvm-svn: 147486
-
Nadav Rotem authored
llvm-svn: 147485
-
Nadav Rotem authored
llvm-svn: 147484
-
Ted Kremenek authored
llvm-svn: 147483
-
Douglas Gregor authored
llvm-svn: 147482
-
Chad Rosier authored
then a vxorps + vinsertf128 pair if the original vector came from a load. rdar://10594409 llvm-svn: 147481
-
Douglas Gregor authored
llvm-svn: 147480
-
Ted Kremenek authored
llvm-svn: 147479
-
Nick Lewycky authored
if-statement by turning it into an assert. No functionality change. llvm-svn: 147474
-
Abramo Bagnara authored
llvm-svn: 147473
-