- May 17, 2011
-
-
Evan Cheng authored
llvm-svn: 131439
-
-
Jakob Stoklund Olesen authored
When instructions are deleted, they leave tombstone SlotIndex entries. The isZeroLength method should ignore these null indexes. This causes RABasic to sometimes spill a callee-saved register in the abi-isel.ll test, so don't run that test with -regalloc=basic. Prioritizing register allocation according to spill weight can cause more registers to be used. llvm-svn: 131436
-
- May 16, 2011
-
-
Eli Friedman authored
llvm-svn: 131424
-
Eli Friedman authored
llvm-svn: 131420
-
Eli Friedman authored
Basic fast-isel of extractvalue. Not too helpful on its own, given the IR clang generates for cases like this, but it should become more useful soon. llvm-svn: 131417
-
Rafael Espindola authored
("T is 1 if the target symbol S has type STT_FUNC and the symbol addresses a Thumb instruction ;it is 0 otherwise." from "ELF for the ARM Architecture" 4.7.1.2) Patch by Koan-Sin Tan! llvm-svn: 131406
-
Rafael Espindola authored
corrupted when setjmp returns again. llvm-svn: 131399
-
- May 14, 2011
-
-
Benjamin Kramer authored
llvm-svn: 131363
-
-
Benjamin Kramer authored
llvm-svn: 131345
-
Stuart Hastings authored
rdar://problem/9267970 Patch by Julien Lerouge! llvm-svn: 131339
-
Rafael Espindola authored
llvm-svn: 131330
-
- May 13, 2011
-
-
Rafael Espindola authored
llvm-svn: 131315
-
Rafael Espindola authored
llvm-svn: 131314
-
Galina Kistanova authored
llvm-svn: 131302
-
Rafael Espindola authored
to fix PR9900. I will keep it open until sable is able to comment on it. llvm-svn: 131294
-
Stuart Hastings authored
simplified version. <rdar://problem/9298790> llvm-svn: 131274
-
Stuart Hastings authored
rdar://problem/9298790 llvm-svn: 131269
-
Stuart Hastings authored
rdar://problem/9298790 llvm-svn: 131266
-
Stuart Hastings authored
by non-CMP expressions. The executable test case (129821) would test this as well, if we had an "-O0 -disable-arm-fast-isel" LLVM-GCC tester. Alas, the ARM assembly would be very difficult to check with FileCheck. The thumb2-cbnz.ll test is affected; it generates larger code (tst.w vs. cmp #0), but I believe the new version is correct. rdar://problem/9298790 llvm-svn: 131261
-
- May 12, 2011
-
-
Galina Kistanova authored
llvm-svn: 131252
-
Evan Cheng authored
Re-enable branchfolding common code hoisting optimization. Fixed a liveness test bug and also taught it to update liveins. llvm-svn: 131241
-
- May 11, 2011
-
-
-
Devang Patel authored
Identify end of prologue (and beginning of function body) using DW_LNS_set_prologue_end line table opcode. llvm-svn: 131194
-
-
Owen Anderson authored
llvm-svn: 131189
-
-
Nadav Rotem authored
Fixes a bug in the DAGCombiner. LoadSDNodes have two values (data, chain). If there is a store after the load node, then there is a chain, which means that there is another user. Thus, asking hasOneUser would fail. Instead we ask hasNUsesOfValue on the 'data' value. llvm-svn: 131183
-
Nadav Rotem authored
Add custom lowering of X86 vector SRA/SRL/SHL when the shift amount is a splat vector. llvm-svn: 131179
-
Rafael Espindola authored
to provide a reduced testcase. llvm-svn: 131176
-
Evan Cheng authored
at the start of basic blocks to their common predecessor. It's actually quite common (e.g. about 50 times in JM/lencod) and has shown to be a nice code size benefit. e.g. pushq %rax testl %edi, %edi jne LBB0_2 ## BB#1: xorb %al, %al popq %rdx ret LBB0_2: xorb %al, %al callq _foo popq %rdx ret => pushq %rax xorb %al, %al testl %edi, %edi je LBB0_2 ## BB#1: callq _foo LBB0_2: popq %rdx ret rdar://9145558 llvm-svn: 131172
-
Rafael Espindola authored
llvm-svn: 131169
-
- May 10, 2011
-
-
Rafael Espindola authored
llvm-svn: 131151
-
Rafael Espindola authored
llvm-svn: 131149
-
Rafael Espindola authored
llvm-svn: 131146
-
Rafael Espindola authored
this clang will use .debug_frame in, for example, clang -g -c -m32 test.c This matches gcc's behaviour. It looks like .debug_frame is a bit bigger than .eh_frame, but has the big advantage of not being allocated. llvm-svn: 131140
-
Rafael Espindola authored
llvm-svn: 131129
-
Justin Holewinski authored
Patch by Dan Bailey llvm-svn: 131128
-
Rafael Espindola authored
llvm-svn: 131121
-