- Dec 06, 2012
-
-
Ted Kremenek authored
This is a nice conceptual cleanup. llvm-svn: 169480
-
Ted Kremenek authored
llvm-svn: 169479
-
Ted Kremenek authored
llvm-svn: 169478
-
Craig Topper authored
llvm-svn: 169477
-
http://stackoverflow.com/questions/13521163Richard Smith authored
Don't require that, during template deduction, a template specialization type as a function parameter has at least as many template arguments as one used in a function argument (not even if the argument has been resolved to an exact type); the additional parameters might be provided by default template arguments in the template. We don't need this check, since we now implement [temp.deduct.call]p4 with an additional check after deduction. llvm-svn: 169475
-
Kostya Serebryany authored
llvm-svn: 169474
-
Richard Smith authored
Don't use dyn_cast on a Type* which might not be canonical. Fixes an extremely obscure record layout bug. llvm-svn: 169467
-
Jason Molenda authored
RegisterIsCalleeSaved. Add ebp back to the list of registers that are callee saved. <rdar://problem/12817918> llvm-svn: 169466
-
rdar://problem/12560257Greg Clayton authored
Fixed zero sized arrays to work correctly. This will only happen once we get a clang that emits correct debug info for zero sized arrays. For now I have marked the TestStructTypes.py as an expected failure. llvm-svn: 169465
-
Evan Cheng authored
llvm-svn: 169464
-
NAKAMURA Takumi authored
llvm/test/CodeGen/ARM/extload-knownzero.ll: Try to unbreak, to add -O0. I guess Chad expects fastisel here. llvm-svn: 169463
-
NAKAMURA Takumi authored
It broke many builders. llvm-svn: 169462
-
Sean Callanan authored
of the "self"/"this" pointer for the current stack frame before wrapping expressions in C++ or Objective-C methods. This works around bad debug info where the compiler emits a "this" or "self" but doesn't give any way to find its location. <rdar://problem/12809985> llvm-svn: 169461
-
Chad Rosier authored
rdar://12821569 llvm-svn: 169460
-
Evan Cheng authored
and extload's. If they are implemented as zero-extend, or implicitly zero-extend, then this can enable more demanded bits optimizations. e.g. define void @foo(i16* %ptr, i32 %a) nounwind { entry: %tmp1 = icmp ult i32 %a, 100 br i1 %tmp1, label %bb1, label %bb2 bb1: %tmp2 = load i16* %ptr, align 2 br label %bb2 bb2: %tmp3 = phi i16 [ 0, %entry ], [ %tmp2, %bb1 ] %cmp = icmp ult i16 %tmp3, 24 br i1 %cmp, label %bb3, label %exit bb3: call void @bar() nounwind br label %exit exit: ret void } This compiles to the followings before: push {lr} mov r2, #0 cmp r1, #99 bhi LBB0_2 @ BB#1: @ %bb1 ldrh r2, [r0] LBB0_2: @ %bb2 uxth r0, r2 cmp r0, #23 bhi LBB0_4 @ BB#3: @ %bb3 bl _bar LBB0_4: @ %exit pop {lr} bx lr The uxth is not needed since ldrh implicitly zero-extend the high bits. With this change it's eliminated. rdar://12771555 llvm-svn: 169459
-
NAKAMURA Takumi authored
llvm-svn: 169458
-
Fariborz Jahanian authored
<declaration> XML tag. // rdar://12378714 llvm-svn: 169457
-
Pedro Artigas authored
change MCContext to work on the doInitialization/doFinalization model reviewed by Evan Cheng <evan.cheng@apple.com> llvm-svn: 169456
-
Bill Wendling authored
llvm-svn: 169455
-
Daniel Malea authored
llvm-svn: 169454
-
Fariborz Jahanian authored
<declaration> tag of Comment XML and fixing DeclPrint of templates along the way - wip. //rdar://12378714 llvm-svn: 169453
-
Michael Ilseman authored
llvm-svn: 169452
-
Sean Callanan authored
- Removed the BitfieldMap class because it is unnecessary. We now just track the most recently added field. - Moved the code that calculates bitfield widths so it can also be used to determine whether it's necessary to insert anonymous fields. - Simplified the anonymous field calculation code into three cases (two of which are resolved identically). - Beefed up the bitfield testcase. llvm-svn: 169449
-
Chad Rosier authored
the AsmBlocks language extension as well. rdar://12808010 llvm-svn: 169448
-
Andrew Trick authored
Evan nominated me for this a while back, and no one has offered to save me from it. llvm-svn: 169447
-
Richard Smith authored
llvm-svn: 169446
-
Chad Rosier authored
option. MS-style inline asm can now be enabled by either -fasm-blocks or -fms-extensions. rdar://12808010 llvm-svn: 169445
-
Jason Molenda authored
for target logging. llvm-svn: 169444
-
Andrew Trick authored
llvm-svn: 169443
-
- Dec 05, 2012
-
-
Richard Smith authored
Looks like lit on Windows can't cope with parens here, and in any case, we shouldn't need them after r169441. llvm-svn: 169442
-
Richard Smith authored
RUN: a RUN: b || true as "a && (b || true)" in Tcl mode, and as "(a && b) || true" in sh mode. Everyone seems to (quite reasonably) write tests assuming the Tcl behavior, so use that in sh mode too. llvm-svn: 169441
-
Fariborz Jahanian authored
in constructors. llvm-svn: 169440
-
Akira Hatanaka authored
MF_READ and MF_WRITE are set. llvm-svn: 169439
-
Michael J. Spencer authored
Quick build fix for c++03 clang. This needs a proper solution. Note that these offsets are guaranteed to be correct by Endian.h. llvm-svn: 169438
-
Richard Smith authored
llvm-svn: 169437
-
Fariborz Jahanian authored
constructors. llvm-svn: 169435
-
Richard Smith authored
RUN: a RUN: b || true lit expands it to a && b || true, and the || true applies to both commands (thus ignoring failures in 'a')! This is PR10867 again. llvm-svn: 169434
-
Eli Bendersky authored
This is more consistent with other vectors in this code. In addition, I ran some tests compiling a large program and >96% of fragments have 4 or less fixups, so SmallVector<4> is a good optimization. llvm-svn: 169433
-
Jyotsna Verma authored
using multiclass. llvm-svn: 169432
-
rdar://problem/12560257Greg Clayton authored
Fixed arrays with a size of 1 to correctly have 1 member when DW_AT_upper_bound was set to zero and no other attributes were set. llvm-svn: 169431
-