- Dec 10, 2004
-
-
Brian Gaeke authored
llvm-svn: 18738
-
Brian Gaeke authored
llvm-svn: 18737
-
Brian Gaeke authored
llvm-svn: 18736
-
Brian Gaeke authored
think some of these might be the CFE's fault; a rebuild should come soon. llvm-svn: 18735
-
Brian Gaeke authored
each pair. I think this fixes that. One of these days, I swear I'm going to get the hang of C++ iterators. Really. llvm-svn: 18734
-
- Dec 09, 2004
-
-
Brian Gaeke authored
llvm-svn: 18714
-
Brian Gaeke authored
llvm-svn: 18713
-
Brian Gaeke authored
everything was an int!) llvm-svn: 18712
-
- Dec 05, 2004
-
-
Chris Lattner authored
intrinsic lowering ever introduces constants. Rename local symbols before printing function bodies, fixing 255.vortex with the CBE!!! llvm-svn: 18534
-
- Dec 03, 2004
-
-
Chris Lattner authored
PR472 llvm-svn: 18459
-
Brian Gaeke authored
to rewrite this to use relocations. llvm-svn: 18453
-
Tanya Lattner authored
When writing kernel, save the branches til the end. They are still put in the "right place" in the schedule, but sometimes when folding to make a kernel instructions are added between branches. This is wrong. To avoid this, we handle branches special. llvm-svn: 18450
-
Chris Lattner authored
llvm-svn: 18449
-
- Dec 02, 2004
-
-
Chris Lattner authored
llvm-svn: 18436
-
John Criswell authored
Including alloca.h on Solaris brings in the prototype of strftime(), which breaks compilation of CBE generated code. llvm-svn: 18435
-
Chris Lattner authored
instead of 80-bits of precision. This fixes PR467. This change speeds up fldry on X86 with LLC from 7.32s on apoc to 4.68s. llvm-svn: 18433
-
Chris Lattner authored
llvm-svn: 18432
-
Tanya Lattner authored
llvm-svn: 18419
-
- Dec 01, 2004
-
-
Tanya Lattner authored
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20041122/021428.html It broke Mutlisource/Applications/obsequi llvm-svn: 18407
-
Chris Lattner authored
llvm-svn: 18406
-
- Nov 30, 2004
-
-
Chris Lattner authored
llvm-svn: 18398
-
Brian Gaeke authored
llvm-svn: 18397
-
Brian Gaeke authored
llvm-svn: 18384
-
Brian Gaeke authored
%f0 = fmovs %f0 %f1 = fmovs %f1 then just delete the FpMOVD pseudo-instruction instead. Also, add statistics and debug printouts. llvm-svn: 18383
-
Chris Lattner authored
addi r3, r3, -1 instead of addi r3, r3, 1 for 'sub int X, 1'. Secondarily, this fixes several cases where we could crash given an unsigned constant. And fixes a couple of minor missed optimization cases, such as xor X, ~0U -> not X llvm-svn: 18379
-
Chris Lattner authored
llvm-svn: 18376
-
Chris Lattner authored
llvm-svn: 18374
-
Chris Lattner authored
llvm-svn: 18371
-
Chris Lattner authored
Remove extraneous namespacification. In particular, don't define llvm::llvm::createInternalGlobalMapperPass llvm-svn: 18365
-
- Nov 29, 2004
-
-
Chris Lattner authored
to Brian and the Sun compiler for pointing out that the obvious works :) This also enables folding all long comparisons into setcc and branch instructions: before we could only do == and != For example, for: void test(unsigned long long A, unsigned long long B) { if (A < B) foo(); } We now generate: test: subl $4, %esp movl %esi, (%esp) movl 8(%esp), %eax movl 12(%esp), %ecx movl 16(%esp), %edx movl 20(%esp), %esi subl %edx, %eax sbbl %esi, %ecx jae .LBBtest_2 # UnifiedReturnBlock .LBBtest_1: # then call foo movl (%esp), %esi addl $4, %esp ret .LBBtest_2: # UnifiedReturnBlock movl (%esp), %esi addl $4, %esp ret Instead of: test: subl $12, %esp movl %esi, 8(%esp) movl %ebx, 4(%esp) movl 16(%esp), %eax movl 20(%esp), %ecx movl 24(%esp), %edx movl 28(%esp), %esi cmpl %edx, %eax setb %al cmpl %esi, %ecx setb %bl cmove %ax, %bx testb %bl, %bl je .LBBtest_2 # UnifiedReturnBlock .LBBtest_1: # then call foo movl 4(%esp), %ebx movl 8(%esp), %esi addl $12, %esp ret .LBBtest_2: # UnifiedReturnBlock movl 4(%esp), %ebx movl 8(%esp), %esi addl $12, %esp ret llvm-svn: 18330
-
Tanya Lattner authored
Reworked branching so we don't handle BAs specially. It just updates the branchTO regardless of what type of branch it is. llvm-svn: 18322
-
Tanya Lattner authored
Fixed bug where instructions in the kernel were not ordered right to preserve dependencies in a cycle. llvm-svn: 18314
-
- Nov 28, 2004
-
-
Chris Lattner authored
llvm-svn: 18311
-
- Nov 27, 2004
-
-
Nate Begeman authored
place to help bring up the PowerPC back end on Darwin. This code is no longer serves any purpose now that the AsmPrinter does the right thing all the time printing GlobalValues. --Cruft. llvm-svn: 18267
-
- Nov 26, 2004
-
-
Chris Lattner authored
llvm-svn: 18263
-
- Nov 25, 2004
-
-
Nate Begeman authored
static global variables whose addresses are taken. This allows us to convert the following code for taking the address of a static function foo addis r2, r30, ha16(Ll1__2E_foo_2$non_lazy_ptr-"L00001$pb") lwz r3, lo16(Ll1__2E_foo_2$non_lazy_ptr-"L00001$pb")(r2) which also includes linker stub code emitted at the end of the .s file not shown here, and replace it with this: addis r2, r30, ha16(l1__2E_foo_2-"L00001$pb") la r3, lo16(l1__2E_foo_2-"L00001$pb")(r2) which in addition to not needing linker help, also has no load instruction. For those not up on PowerPC mnemonics, la is shorthand for add immediate. llvm-svn: 18239
-
Chris Lattner authored
llvm-svn: 18235
-
Chris Lattner authored
llvm-svn: 18228
-
Chris Lattner authored
All of Olden passes now! :) llvm-svn: 18227
-
Chris Lattner authored
llvm-svn: 18226
-