oota-llvm.git
19 years agoHandle some more real world cases of rlwimi. These don't come up that
Nate Begeman [Wed, 8 Jun 2005 04:14:27 +0000 (04:14 +0000)]
Handle some more real world cases of rlwimi.  These don't come up that
regularly in "normal" code, but for things like software graphics, they
make a big difference.

For the following code:
unsigned short Trans16Bit(unsigned srcA,unsigned srcB,unsigned alpha)
{
unsigned tmpA,tmpB,mixed;
tmpA = ((srcA & 0x03E0) << 15) | (srcA & 0x7C1F);
tmpB = ((srcB & 0x03E0) << 15) | (srcB & 0x7C1F);
mixed = (tmpA * alpha) + (tmpB * (32 - alpha));
return ((mixed >> 5) & 0x7C1F) | ((mixed >> 20) & 0x03E0);
}

We now generate:
_Trans16Bit:
.LBB_Trans16Bit_0:      ; entry
        andi. r2, r4, 31775
        rlwimi r2, r4, 15, 7, 11
        subfic r4, r5, 32
        mullw r2, r2, r4
        andi. r4, r3, 31775
        rlwimi r4, r3, 15, 7, 11
        mullw r3, r4, r5
        add r2, r2, r3
        srwi r3, r2, 5
        andi. r3, r3, 31775
        rlwimi r3, r2, 12, 22, 26
        blr

Instead of:
_Trans16Bit:
.LBB_Trans16Bit_0:      ; entry
        slwi r2, r4, 15
        rlwinm r2, r2, 0, 7, 11
        andi. r4, r4, 31775
        or r2, r2, r4
        subfic r4, r5, 32
        mullw r2, r2, r4
        slwi r4, r3, 15
        rlwinm r4, r4, 0, 7, 11
        andi. r3, r3, 31775
        or r3, r4, r3
        mullw r3, r3, r5
        add r2, r2, r3
        srwi r3, r2, 5
        andi. r3, r3, 31775
        srwi r2, r2, 20
        rlwimi r3, r2, 0, 22, 26
        blr

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22201 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix lli linking on Mac OS X 10.4.1 for Intel.
Nate Begeman [Wed, 8 Jun 2005 01:02:38 +0000 (01:02 +0000)]
Fix lli linking on Mac OS X 10.4.1 for Intel.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22200 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRemove code for conversion from old style va_args. Preparing the way for
Andrew Lenharth [Wed, 8 Jun 2005 00:49:08 +0000 (00:49 +0000)]
Remove code for conversion from old style va_args.  Preparing the way for
returning to the old style :)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22199 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoWe also have V8, so do not force every Sparc to be treated like a V9. It is
Misha Brukman [Mon, 6 Jun 2005 19:29:36 +0000 (19:29 +0000)]
We also have V8, so do not force every Sparc to be treated like a V9.  It is
still possible to force V9 (even if configure doesn't think it's one) via
``./configure --target=sparcv9-sun-solaris2.8'' so nothing is lost.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22198 91177308-0d34-0410-b5e6-96231b3b80d8

19 years ago* Add ability to specify the target LLVM will compile for via configure
Misha Brukman [Mon, 6 Jun 2005 19:17:05 +0000 (19:17 +0000)]
* Add ability to specify the target LLVM will compile for via configure
* Minor whitespace cleanups

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22197 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix spelling of `correlate'
Misha Brukman [Mon, 6 Jun 2005 19:08:04 +0000 (19:08 +0000)]
Fix spelling of `correlate'

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22196 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoallow marking of loads and stores in the instruction stream with enough information...
Andrew Lenharth [Mon, 6 Jun 2005 19:03:55 +0000 (19:03 +0000)]
allow marking of loads and stores in the instruction stream with enough information to reconstruct the Value* if it existed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22195 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agohide basic block labels. The utility of these for debuging is long since passed
Andrew Lenharth [Mon, 6 Jun 2005 19:03:09 +0000 (19:03 +0000)]
hide basic block labels.  The utility of these for debuging is long since passed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22194 91177308-0d34-0410-b5e6-96231b3b80d8

19 years ago* Replace block of commented-out lines with #if 0
Misha Brukman [Mon, 6 Jun 2005 17:39:46 +0000 (17:39 +0000)]
* Replace block of commented-out lines with #if 0
* Remove warning "control reaches end of non-void function"

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22193 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agohack to fix bzip2 (bug 571)
Andrew Lenharth [Sat, 4 Jun 2005 12:43:56 +0000 (12:43 +0000)]
hack to fix bzip2 (bug 571)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22192 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix the definitions of LLVMGCC and LLVMGXX to include the EXEEXT (the
Reid Spencer [Thu, 2 Jun 2005 22:34:49 +0000 (22:34 +0000)]
Fix the definitions of LLVMGCC and LLVMGXX to include the EXEEXT (the
.exe extension) on Cygwin. This fixes the last few remaining Cygwin
issues. Thanks to Aaron Gray for tracking this down.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22191 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake sure that Cygwin assembly includes _ as part of function names.
Reid Spencer [Thu, 2 Jun 2005 21:33:19 +0000 (21:33 +0000)]
Make sure that Cygwin assembly includes _ as part of function names.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22190 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoPut in a hack for Cygwin that prevents mkdtemp from being used since
Reid Spencer [Thu, 2 Jun 2005 05:38:20 +0000 (05:38 +0000)]
Put in a hack for Cygwin that prevents mkdtemp from being used since
configure seems to find it on Cygwin but linking against it fails.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22189 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agotry custom expanders, doesn't seem to expand yet, so disabled
Andrew Lenharth [Tue, 31 May 2005 19:49:34 +0000 (19:49 +0000)]
try custom expanders, doesn't seem to expand yet, so disabled

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22188 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoswitch to the new live in thing. Really, this time it works
Andrew Lenharth [Tue, 31 May 2005 18:42:18 +0000 (18:42 +0000)]
switch to the new live in thing.  Really, this time it works

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22187 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoswitch to the new live in thing
Andrew Lenharth [Tue, 31 May 2005 18:37:16 +0000 (18:37 +0000)]
switch to the new live in thing

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22186 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoswitch to the new live in thing
Andrew Lenharth [Tue, 31 May 2005 18:35:43 +0000 (18:35 +0000)]
switch to the new live in thing

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22185 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake sure the tools get built if no build target is specified.
Reid Spencer [Sun, 29 May 2005 00:49:24 +0000 (00:49 +0000)]
Make sure the tools get built if no build target is specified.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22184 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agomatch gcc, makes diff easier
Andrew Lenharth [Fri, 27 May 2005 03:39:30 +0000 (03:39 +0000)]
match gcc, makes diff easier

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22179 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix 2005-05-12-Int64ToFP
Andrew Lenharth [Thu, 26 May 2005 18:18:34 +0000 (18:18 +0000)]
Fix 2005-05-12-Int64ToFP

The issue is there is no unsigned -> double conversion, only signed.  So I
need to test the sign and do a different thing depending on it.  Ideally
this should be in a different BB, but in the mean time, I use a branch
free method.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22177 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd a -cvstag option for testing specific branches, such as release candidates
Misha Brukman [Thu, 26 May 2005 16:28:55 +0000 (16:28 +0000)]
Add a -cvstag option for testing specific branches, such as release candidates

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22176 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd a "libs-only" target for avoiding construction of the tools and
Reid Spencer [Wed, 25 May 2005 21:03:17 +0000 (21:03 +0000)]
Add a "libs-only" target for avoiding construction of the tools and
runtime libraries.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22169 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoTwo dist-check related changes:
Reid Spencer [Tue, 24 May 2005 02:33:20 +0000 (02:33 +0000)]
Two dist-check related changes:

1. Allow DIST_CHECK_CONFIG_OPTION to specify a set of options to be passed
   to the configure script during the dist-check target. This allows things
   to be passed down on a project basis so the configure doesn't fail.

2. Use the tar | (cd ; tar ) idiom to copy files which is more flexible
   than using the cp command. THis allows us to exclude CVS .svn
   directories at source rather than stripping them out of the tar ball.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22166 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRemove trailing blank line, just to test whether the new commit script
Reid Spencer [Sat, 21 May 2005 01:29:30 +0000 (01:29 +0000)]
Remove trailing blank line, just to test whether the new commit script
is going to credit the commit correctly or not.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22165 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake the registration hash_map static. No other module needs it. Also,
Reid Spencer [Sat, 21 May 2005 01:27:04 +0000 (01:27 +0000)]
Make the registration hash_map static. No other module needs it. Also,
document what its for a little better.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22164 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdjust the file comment to read a little easier.
Reid Spencer [Sat, 21 May 2005 00:57:44 +0000 (00:57 +0000)]
Adjust the file comment to read a little easier.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22163 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake sure ... arguments are casted to sbyte* where needed.
Reid Spencer [Sat, 21 May 2005 00:39:30 +0000 (00:39 +0000)]
Make sure ... arguments are casted to sbyte* where needed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22162 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd a "brief" comment for CastToCStr
Reid Spencer [Sat, 21 May 2005 00:23:23 +0000 (00:23 +0000)]
Add a "brief" comment for CastToCStr

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22161 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agonew testcase
Chris Lattner [Fri, 20 May 2005 22:25:44 +0000 (22:25 +0000)]
new testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22160 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix mismatched type problem that crashed on cases like this:
Chris Lattner [Fri, 20 May 2005 22:22:25 +0000 (22:22 +0000)]
Fix mismatched type problem that crashed on cases like this:

  sprintf(P, "%s", X);

Where X is not an sbyte*.  This fixes the bug JohnMC reported on llvm-bugs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22159 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix Transforms/SimplifyCFG/switch-simplify-crash.ll
Chris Lattner [Fri, 20 May 2005 22:19:54 +0000 (22:19 +0000)]
Fix Transforms/SimplifyCFG/switch-simplify-crash.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22158 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoNew testcase that crashes simplifycfg, identified accidentally by JohnMC
Chris Lattner [Fri, 20 May 2005 22:19:34 +0000 (22:19 +0000)]
New testcase that crashes simplifycfg, identified accidentally by JohnMC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22157 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoC'mon everybody, let's modify X86JITInfo.cpp. This time, we add <iostream>
Nate Begeman [Fri, 20 May 2005 21:29:24 +0000 (21:29 +0000)]
C'mon everybody, let's modify X86JITInfo.cpp.  This time, we add <iostream>
so that the shiny new use of std::cerr is defined.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22156 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFinally get the quoting right for both Unix and Windows for the llvmgcc and
Reid Spencer [Fri, 20 May 2005 20:13:41 +0000 (20:13 +0000)]
Finally get the quoting right for both Unix and Windows for the llvmgcc and
llvmgxx programs. dejagnu doesn't understand single quote and we need to
pass double quotes through to the shell in order to escape blanks in the
paths. This patch uses \" to escape the quotes passed through to the shell.
Thanks to Aaron Gray for testing this out on cygwin.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22155 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoSince everyone else has "fixed" this file, might as well join in the fun.
Misha Brukman [Fri, 20 May 2005 19:46:50 +0000 (19:46 +0000)]
Since everyone else has "fixed" this file, might as well join in the fun.
* Change assert() to std::cerr printout, as it will not appear in opt builds
* Add comments to clarify what #ifdef/#else/#endif match what condition(s)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22154 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agonow with a legend, and multiple lines work.
Andrew Lenharth [Fri, 20 May 2005 17:50:51 +0000 (17:50 +0000)]
now with a legend, and multiple lines work.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22153 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoOK, the simple scheme for the db plus a couple of cgi scripts that
Andrew Lenharth [Fri, 20 May 2005 17:33:42 +0000 (17:33 +0000)]
OK, the simple scheme for the db plus a couple of cgi scripts that
do the dynamic plotting of stuff.  Still being tested, but makes graphs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22152 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix this a 3rd time :)
Chris Lattner [Fri, 20 May 2005 17:00:21 +0000 (17:00 +0000)]
Fix this a 3rd time :)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22151 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agofix compilation error due to no abort being defined. There is probably a better...
Andrew Lenharth [Fri, 20 May 2005 16:34:44 +0000 (16:34 +0000)]
fix compilation error due to no abort being defined.  There is probably a better way to do this

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22150 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agore-enable direct calls, this should just be a performance boost
Duraid Madina [Fri, 20 May 2005 11:39:17 +0000 (11:39 +0000)]
re-enable direct calls, this should just be a performance boost

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22148 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agothis seems dead (and broke the ia64 build, so..)
Duraid Madina [Fri, 20 May 2005 06:21:59 +0000 (06:21 +0000)]
this seems dead (and broke the ia64 build, so..)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22147 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoGive the asmparser the ability to parse strings. Patch contributed by
Chris Lattner [Fri, 20 May 2005 03:25:47 +0000 (03:25 +0000)]
Give the asmparser the ability to parse strings.  Patch contributed by
Alexander Friedman

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22146 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoGive the asmparser the ability to parse strings, patch contributed by
Chris Lattner [Fri, 20 May 2005 03:25:29 +0000 (03:25 +0000)]
Give the asmparser the ability to parse strings, patch contributed by
Alexander Friedman!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22145 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix tail call support in VC++ builds
Jeff Cohen [Fri, 20 May 2005 01:35:39 +0000 (01:35 +0000)]
Fix tail call support in VC++ builds

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22143 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake sure that tool names don't have any leading or trailing spaces in them.
Reid Spencer [Thu, 19 May 2005 21:10:31 +0000 (21:10 +0000)]
Make sure that tool names don't have any leading or trailing spaces in them.
If they do, it screws up the concatenation of the .exe suffix on cygwin.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22142 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake sure that tool names don't have any leading or trailing spaces in them.
Reid Spencer [Thu, 19 May 2005 21:03:11 +0000 (21:03 +0000)]
Make sure that tool names don't have any leading or trailing spaces in them.
If they do, it screws up the concatenation of the .exe suffix on cygwin.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22141 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoBuild the install directories just exactly as any others. Hopefully this
Reid Spencer [Thu, 19 May 2005 20:26:14 +0000 (20:26 +0000)]
Build the install directories just exactly as any others. Hopefully this
helps out cygwin build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22140 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFor PR514: Do not configure removed files
Reid Spencer [Thu, 19 May 2005 08:37:50 +0000 (08:37 +0000)]
For PR514: Do not configure removed files

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22139 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFor PR514: Do not configure removed files
Reid Spencer [Thu, 19 May 2005 08:31:55 +0000 (08:31 +0000)]
For PR514: Do not configure removed files

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22138 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFastcc passes arguments in EAX and EDX, make sure the JIT doesn't clobber them
Chris Lattner [Thu, 19 May 2005 06:49:17 +0000 (06:49 +0000)]
Fastcc passes arguments in EAX and EDX, make sure the JIT doesn't clobber them

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22137 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoTailcalls require stubs to be emitted. Otherwise, the compilation callback
Chris Lattner [Thu, 19 May 2005 05:54:33 +0000 (05:54 +0000)]
Tailcalls require stubs to be emitted.  Otherwise, the compilation callback
doesn't know who 'called' it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22136 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFor PR514:
Reid Spencer [Thu, 19 May 2005 01:06:46 +0000 (01:06 +0000)]
For PR514:
* Make sure the "etcdir" gets checked for configuration files so that
  the installed location for config files is checked.
* Remove the st.in file (moved to projects/Stacker/tools/stkrc)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22135 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake the value to -s not be interpreted as a file name
Reid Spencer [Thu, 19 May 2005 01:05:02 +0000 (01:05 +0000)]
Make the value to -s not be interpreted as a file name

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22134 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd an llvmc specification file for the "st" suffix. This allows Stacker
Reid Spencer [Thu, 19 May 2005 00:54:10 +0000 (00:54 +0000)]
Add an llvmc specification file for the "st" suffix. This allows Stacker
programs to benefit from the optimization capabilities of the llvmc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22133 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFor PR514:
Reid Spencer [Thu, 19 May 2005 00:52:28 +0000 (00:52 +0000)]
For PR514:
* language specification files are no longer configured with "configure"
* add substitutions for %bindir%, %libdir%, and various llvmgcc related
  variables needed in the c and cpp spec files.
* Implement the stubstituions in the Compiler Driver.
* Move st.in to projects/Stacker/tools/stkrc where it belongs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22128 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoTwo changes to support building shared libraries that contain multiple
Reid Spencer [Thu, 19 May 2005 00:37:31 +0000 (00:37 +0000)]
Two changes to support building shared libraries that contain multiple
llvm archive or re-linked libraries:
1. Permit the "JIT" special keyword on LLVMLIBS to be recognized when
   building a library, not just for building tools
2. If LINK_LIBS_IN_SHARED is set, the LLVMLIBS and USEDLIBS can be specified
   when linking a shared library and the libraries listed will be
   incorported into the shared library. THis is only used when the
   SHARED_LIBRARY variable is set.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22127 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoReid linked to the CVS release notes on newsforge :(
Chris Lattner [Wed, 18 May 2005 22:23:56 +0000 (22:23 +0000)]
Reid linked to the CVS release notes on newsforge :(

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22126 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoWrap long lines
Misha Brukman [Wed, 18 May 2005 20:37:33 +0000 (20:37 +0000)]
Wrap long lines

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22125 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoNew Release Notes for LLVM 1.6.
John Criswell [Wed, 18 May 2005 20:28:46 +0000 (20:28 +0000)]
New Release Notes for LLVM 1.6.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22124 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoOnward to LLVM-1.6 and beyond!
Misha Brukman [Wed, 18 May 2005 20:23:20 +0000 (20:23 +0000)]
Onward to LLVM-1.6 and beyond!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22123 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoUpdated version to LLVM 1.6 CVS.
John Criswell [Wed, 18 May 2005 20:18:40 +0000 (20:18 +0000)]
Updated version to LLVM 1.6 CVS.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22122 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMerged in release_15.
John Criswell [Wed, 18 May 2005 19:43:33 +0000 (19:43 +0000)]
Merged in release_15.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22120 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoteach the inliner about coldcc and noreturn functions
Chris Lattner [Wed, 18 May 2005 04:30:33 +0000 (04:30 +0000)]
teach the inliner about coldcc and noreturn functions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22113 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRemove extra header in the SPARC section
Misha Brukman [Tue, 17 May 2005 15:15:19 +0000 (15:15 +0000)]
Remove extra header in the SPARC section

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22101 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix a few grammaros.
Reid Spencer [Tue, 17 May 2005 02:47:27 +0000 (02:47 +0000)]
Fix a few grammaros.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22100 91177308-0d34-0410-b5e6-96231b3b80d8

19 years ago* Add a link to the pattern-matching codegen docs
Misha Brukman [Tue, 17 May 2005 02:33:03 +0000 (02:33 +0000)]
* Add a link to the pattern-matching codegen docs
* Tersify wording

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22099 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRecommend writing new instruction selectors using pattern-based mechanisms
Misha Brukman [Tue, 17 May 2005 02:27:30 +0000 (02:27 +0000)]
Recommend writing new instruction selectors using pattern-based mechanisms

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22098 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd link to debugging code generators with bugpoint
Misha Brukman [Tue, 17 May 2005 02:12:32 +0000 (02:12 +0000)]
Add link to debugging code generators with bugpoint

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22097 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoIt would help if the headings were sorted properly.
Reid Spencer [Mon, 16 May 2005 19:33:21 +0000 (19:33 +0000)]
It would help if the headings were sorted properly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22096 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix a brain blunder in the HTML output.
Reid Spencer [Mon, 16 May 2005 18:52:57 +0000 (18:52 +0000)]
Fix a brain blunder in the HTML output.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22094 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoSometimes tab completion is *not* your friend. Added the wrong file, by
Reid Spencer [Mon, 16 May 2005 18:30:38 +0000 (18:30 +0000)]
Sometimes tab completion is *not* your friend. Added the wrong file, by
accident so now I'm correcting it. The script is userloc.pl not userloc.html

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22093 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdjust the dependencies and generate the output to docs/userloc.html so
Reid Spencer [Mon, 16 May 2005 18:29:13 +0000 (18:29 +0000)]
Adjust the dependencies and generate the output to docs/userloc.html so
that it can properly link to the CSS stylesheet and images.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22092 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd a script to generate information about the number of lines of code a
Reid Spencer [Mon, 16 May 2005 18:26:47 +0000 (18:26 +0000)]
Add a script to generate information about the number of lines of code a
user has checked in (not necessarily authored) based on cvs annotate.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22091 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd the ability to generate the User LOC page via the userloc.pl script.
Reid Spencer [Mon, 16 May 2005 18:12:58 +0000 (18:12 +0000)]
Add the ability to generate the User LOC page via the userloc.pl script.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22090 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agomore minor edits
Chris Lattner [Mon, 16 May 2005 17:13:10 +0000 (17:13 +0000)]
more minor edits

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22088 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agomore edits
Chris Lattner [Mon, 16 May 2005 17:06:29 +0000 (17:06 +0000)]
more edits

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22087 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agomore edits, include stuff from the status update
Chris Lattner [Mon, 16 May 2005 16:56:09 +0000 (16:56 +0000)]
more edits, include stuff from the status update

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22086 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agopretty tiny change (looks like adding the HP-UX detection and line number
Duraid Madina [Mon, 16 May 2005 16:33:34 +0000 (16:33 +0000)]
pretty tiny change (looks like adding the HP-UX detection and line number
changes to me)

- not committing autoconf/configure.ac (oops, already committed that!)
- not committing include/llvm/Config/config.h.in (it remains unchanged)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22085 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoflush on the right and indented on the left looks a bit weird.
Chris Lattner [Mon, 16 May 2005 16:30:10 +0000 (16:30 +0000)]
flush on the right and indented on the left looks a bit weird.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22084 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdded a note about how the type can be omitted in call instructions.
John Criswell [Mon, 16 May 2005 16:17:45 +0000 (16:17 +0000)]
Added a note about how the type can be omitted in call instructions.
Added a note about how getelementptr can be used to index into structures
or arrays.
Fixed some typos, spelling, etc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22083 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agofix a typo duraid noticed
Chris Lattner [Mon, 16 May 2005 15:37:19 +0000 (15:37 +0000)]
fix a typo duraid noticed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22082 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agocomment the hpux bit
Duraid Madina [Mon, 16 May 2005 06:59:53 +0000 (06:59 +0000)]
comment the hpux bit

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22081 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agomore edits
Chris Lattner [Mon, 16 May 2005 06:58:39 +0000 (06:58 +0000)]
more edits

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22080 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoHP-UX system headers make a mess of isinf(), so much so that gcc fixincludes
Duraid Madina [Mon, 16 May 2005 06:45:57 +0000 (06:45 +0000)]
HP-UX system headers make a mess of isinf(), so much so that gcc fixincludes
can't patch it up for c++ (works in C though)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22079 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agohp-ux needs this to get through the System/Support libs
Duraid Madina [Mon, 16 May 2005 06:38:09 +0000 (06:38 +0000)]
hp-ux needs this to get through the System/Support libs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22078 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agodetect HP-UX when configuring
Duraid Madina [Mon, 16 May 2005 05:39:00 +0000 (05:39 +0000)]
detect HP-UX when configuring

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22077 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoremove deprecated methods
Chris Lattner [Mon, 16 May 2005 01:49:23 +0000 (01:49 +0000)]
remove deprecated methods

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22076 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoGCC4 + IA64 = badnews
Chris Lattner [Sun, 15 May 2005 22:26:45 +0000 (22:26 +0000)]
GCC4 + IA64 = badnews

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22075 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRemove the check for the ffsll function. Its no longer needed by the
Reid Spencer [Sun, 15 May 2005 22:15:11 +0000 (22:15 +0000)]
Remove the check for the ffsll function. Its no longer needed by the
simplify-libcalls pass (pass now computes it without a call to ffsll).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22074 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoImprove statement
Chris Lattner [Sun, 15 May 2005 21:38:32 +0000 (21:38 +0000)]
Improve statement

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22073 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoDon't eliminate a test case, just the form of the test case, from the
Reid Spencer [Sun, 15 May 2005 21:35:26 +0000 (21:35 +0000)]
Don't eliminate a test case, just the form of the test case, from the
previous revision.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22072 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoThis does not belong
Chris Lattner [Sun, 15 May 2005 21:31:36 +0000 (21:31 +0000)]
This does not belong

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22071 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoDon't look for __builtin_ffs, we'll never see it from llvm-gcc and there's
Reid Spencer [Sun, 15 May 2005 21:27:34 +0000 (21:27 +0000)]
Don't look for __builtin_ffs, we'll never see it from llvm-gcc and there's
not reason to include it for other front ends.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22070 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd a case with non-constant argument for testing the transform:
Reid Spencer [Sun, 15 May 2005 21:26:59 +0000 (21:26 +0000)]
Add a case with non-constant argument for testing the transform:
ffs(x) -> (x == 0 ? 0 : llvm.cttz(0)+1)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22069 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoProvide this optimization as well:
Reid Spencer [Sun, 15 May 2005 21:19:45 +0000 (21:19 +0000)]
Provide this optimization as well:
ffs(x) -> (x == 0 ? 0 : 1+llvm.cttz(x))

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22068 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoPPC "branch and link" instructions are branches in the PPC sense, but not
Chris Lattner [Sun, 15 May 2005 20:11:44 +0000 (20:11 +0000)]
PPC "branch and link" instructions are branches in the PPC sense, but not
in the LLVM code generator sense (they are calls).  Don't mark them as such,
which fixes the regressions on the ppc tester last night

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22065 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix andrews changes to fit in 80 columns
Chris Lattner [Sun, 15 May 2005 19:54:37 +0000 (19:54 +0000)]
Fix andrews changes to fit in 80 columns

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22064 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoctlz = most signficant bits, cttz = least sig
Chris Lattner [Sun, 15 May 2005 19:39:26 +0000 (19:39 +0000)]
ctlz = most signficant bits, cttz = least sig

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22061 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agofix warning
Chris Lattner [Sun, 15 May 2005 17:25:14 +0000 (17:25 +0000)]
fix warning

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22060 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agofix compiler warning
Chris Lattner [Sun, 15 May 2005 17:23:19 +0000 (17:23 +0000)]
fix compiler warning

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22059 91177308-0d34-0410-b5e6-96231b3b80d8