- May 22, 2007
-
-
Dale Johannesen authored
llvm-svn: 37269
-
- May 21, 2007
-
-
Evan Cheng authored
BlockHasNoFallThrough() now returns true if block ends with a return instruction; AnalyzeBranch() should ignore predicated instructionsd. llvm-svn: 37268
-
Duncan Sands authored
it occurs for multiple landing pads. llvm-svn: 37267
-
Evan Cheng authored
llvm-svn: 37266
-
- May 19, 2007
-
-
Reid Spencer authored
llvm-svn: 37261
-
Reid Spencer authored
1. Always use % for local and @ for global. 2. Replace NameNeedsQuotes with QuoteNameIfNeeded so that any adjustments to the name can be done in one pass. 3. Implement generation of hex escapes so we don't get "wonky" characters in the output. llvm-svn: 37260
-
Reid Spencer authored
llvm-svn: 37258
-
Reid Spencer authored
with global names which can already be @"..." llvm-svn: 37257
-
Chris Lattner authored
objc code due to the way the FE lowers objc message sends. llvm-svn: 37256
-
Reid Spencer authored
turn "putchar" calls into _IO_putc calls which is a lower-level interface. This patch allows these calls to be executed by lli in interpreter mode. llvm-svn: 37254
-
Chris Lattner authored
into: _t: movl 8(%esp), %ecx movl 4(%esp), %eax cmpl %ecx, %eax je LBB1_3 #bb17 LBB1_1: #bb cmpl %ecx, %eax jg LBB1_4 #cond_true LBB1_2: #cond_false subl %eax, %ecx cmpl %ecx, %eax jne LBB1_1 #bb LBB1_3: #bb17 ret LBB1_4: #cond_true subl %ecx, %eax cmpl %ecx, %eax jne LBB1_1 #bb jmp LBB1_3 #bb17 instead of: _t: subl $4, %esp movl %esi, (%esp) movl 12(%esp), %ecx movl 8(%esp), %eax cmpl %ecx, %eax je LBB1_4 #bb17 LBB1_1: #bb.outer movl %ecx, %edx negl %edx LBB1_2: #bb cmpl %ecx, %eax jle LBB1_5 #cond_false LBB1_3: #cond_true addl %edx, %eax cmpl %ecx, %eax jne LBB1_2 #bb LBB1_4: #bb17 movl (%esp), %esi addl $4, %esp ret LBB1_5: #cond_false movl %ecx, %edx subl %eax, %edx movl %eax, %esi addl %esi, %esi cmpl %ecx, %esi je LBB1_4 #bb17 LBB1_6: #cond_false.bb.outer_crit_edge movl %edx, %ecx jmp LBB1_1 #bb.outer llvm-svn: 37252
-
Chris Lattner authored
llvm-svn: 37249
-
Chris Lattner authored
this case, the xform introduces an extra operation). This compiles PowerPC/compare-duplicate.ll into: _test: subf r2, r3, r4 cmplw cr0, r2, r3 bne cr0, LBB1_2 ;F instead of: _test: slwi r2, r3, 1 subf r3, r3, r4 cmplw cr0, r4, r2 bne cr0, LBB1_2 ;F This is target independent of course. llvm-svn: 37246
-
Reid Spencer authored
can't use getZExtValue() to extract the low order bits for each digit. Instead, we need to access the low order word directly. llvm-svn: 37242
-
Dan Gohman authored
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070514/049845.html llvm-svn: 37240
-
- May 18, 2007
-
-
Chris Lattner authored
llvm-svn: 37239
-
Evan Cheng authored
llvm-svn: 37237
-
Evan Cheng authored
llvm-svn: 37236
-
Dale Johannesen authored
llvm-svn: 37235
-
Dan Gohman authored
llvm-svn: 37234
-
Dan Gohman authored
llvm-svn: 37233
-
Evan Cheng authored
llvm-svn: 37231
-
Dan Gohman authored
llvm-svn: 37230
-
Evan Cheng authored
llvm-svn: 37227
-
Chris Lattner authored
llvm-svn: 37204
-
Evan Cheng authored
llvm-svn: 37200
-
Evan Cheng authored
Mark calls non-predicable for now. Need to ensure it's the last instruction in the if-converted block or make sure it preserve condition code. llvm-svn: 37199
-
Dale Johannesen authored
llvm-svn: 37198
-
Evan Cheng authored
llvm-svn: 37197
-
Evan Cheng authored
llvm-svn: 37195
-
Evan Cheng authored
llvm-svn: 37194
-
Evan Cheng authored
llvm-svn: 37193
-
Evan Cheng authored
llvm-svn: 37192
-
Evan Cheng authored
llvm-svn: 37190
-
Devang Patel authored
Test case at Transformations/SCCP/2007-05-16-InvokeCrash.ll llvm-svn: 37185
-
- May 17, 2007
-
-
Dale Johannesen authored
in the order lod;lod;lod;sto;sto;sto which means the load-store optimizer has a better chance of producing ldm/stm. Ideally you would get cooperation from the RA as well but this is not there yet. llvm-svn: 37179
-
Reid Spencer authored
llvm-svn: 37175
-
Evan Cheng authored
Fix a bogus check that prevented folding VECTOR_SHUFFLE to UNDEF; add an optimization to fold VECTOR_SHUFFLE to a zero vector. llvm-svn: 37173
-
Evan Cheng authored
llvm-svn: 37172
-
Chris Lattner authored
i128 integers. The 64-bit masks are not wide enough to represent the results. These should be converted to APInt someday. llvm-svn: 37169
-