18930 Commits

Author SHA1 Message Date
John Criswell
1c962223f4 Add PR#566; something I should have done before.
llvm-svn: 22118
llvmorg-1.5.0
2005-05-18 15:37:06 +00:00
John Criswell
c1dd9b667a Updated for LLVM 1.5.
llvm-svn: 22117
2005-05-18 14:41:07 +00:00
John Criswell
8e6ae64167 Fix name of LLVM CFE source tarball.
llvm-svn: 22110
2005-05-17 21:14:58 +00:00
John Criswell
762895b3f9 Fixed the descriptions of llvmc and llvm-ld to not be version specific.
Fixed some typos.

llvm-svn: 22108
2005-05-17 16:57:10 +00:00
John Criswell
6d9c9a176a Added Linux/Itanium back. Linux/PPC is the platform that we haven't used
yet.

llvm-svn: 22107
2005-05-17 16:19:48 +00:00
John Criswell
687343547a Merged from Mainline.
llvm-svn: 22106
2005-05-17 16:09:30 +00:00
John Criswell
4447fc67ef Merged Misha Modifications from Mainline.
llvm-svn: 22105
2005-05-17 16:08:29 +00:00
John Criswell
4d9d10c757 Updated from mainline.
llvm-svn: 22104
2005-05-17 16:07:32 +00:00
John Criswell
21c9bf15f5 Merged from mainline.
llvm-svn: 22103
2005-05-17 16:07:08 +00:00
John Criswell
033f60f6d4 Removed Linux/Itanium as we don't really know if it works.
Made other minor corrections.

llvm-svn: 22102
2005-05-17 16:05:22 +00:00
John Criswell
25b91e4ae0 Updated the version to 1.5.
llvm-svn: 22095
2005-05-16 19:30:22 +00:00
CVS to SVN Conversion
f2fed73d14 This commit was manufactured by cvs2svn to create branch 'release_15'.
llvm-svn: 22089
2005-05-16 17:13:10 +00:00
Chris Lattner
cb5596d51b more minor edits
llvm-svn: 22088
2005-05-16 17:13:10 +00:00
Chris Lattner
683a847c26 more edits
llvm-svn: 22087
2005-05-16 17:06:29 +00:00
Chris Lattner
7e1f26256d more edits, include stuff from the status update
llvm-svn: 22086
2005-05-16 16:56:09 +00:00
Duraid Madina
e5ee0d0730 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)

llvm-svn: 22085
2005-05-16 16:33:34 +00:00
Chris Lattner
0ca648f813 flush on the right and indented on the left looks a bit weird.
llvm-svn: 22084
2005-05-16 16:30:10 +00:00
John Criswell
88190562e6 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.

llvm-svn: 22083
2005-05-16 16:17:45 +00:00
Chris Lattner
15c74de0dd fix a typo duraid noticed
llvm-svn: 22082
2005-05-16 15:37:19 +00:00
Duraid Madina
3dbbc88f52 comment the hpux bit
llvm-svn: 22081
2005-05-16 06:59:53 +00:00
Chris Lattner
a3ea6446da more edits
llvm-svn: 22080
2005-05-16 06:58:39 +00:00
Duraid Madina
33464ad3a2 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)

llvm-svn: 22079
2005-05-16 06:45:57 +00:00
Duraid Madina
60c9a3c171 hp-ux needs this to get through the System/Support libs
llvm-svn: 22078
2005-05-16 06:38:09 +00:00
Duraid Madina
5ea2ba8bae detect HP-UX when configuring
llvm-svn: 22077
2005-05-16 05:39:00 +00:00
Chris Lattner
a1a1e93da9 remove deprecated methods
llvm-svn: 22076
2005-05-16 01:49:23 +00:00
Chris Lattner
7caf6f6ca7 GCC4 + IA64 = badnews
llvm-svn: 22075
2005-05-15 22:26:45 +00:00
Reid Spencer
7ed7930dff 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).

llvm-svn: 22074
2005-05-15 22:15:11 +00:00
Chris Lattner
b57b28fbbf Improve statement
llvm-svn: 22073
2005-05-15 21:38:32 +00:00
Reid Spencer
f0b186e49e Don't eliminate a test case, just the form of the test case, from the
previous revision.

llvm-svn: 22072
2005-05-15 21:35:26 +00:00
Chris Lattner
847f580c7c This does not belong
llvm-svn: 22071
2005-05-15 21:31:36 +00:00
Reid Spencer
74305a6233 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.

llvm-svn: 22070
2005-05-15 21:27:34 +00:00
Reid Spencer
597618f9f8 Add a case with non-constant argument for testing the transform:
ffs(x) -> (x == 0 ? 0 : llvm.cttz(0)+1)

llvm-svn: 22069
2005-05-15 21:26:59 +00:00
Reid Spencer
17f7784c5d Provide this optimization as well:
ffs(x) -> (x == 0 ? 0 : 1+llvm.cttz(x))

llvm-svn: 22068
2005-05-15 21:19:45 +00:00
Chris Lattner
4e5a3a6df6 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

llvm-svn: 22065
2005-05-15 20:11:44 +00:00
Chris Lattner
0ae9b08916 Fix andrews changes to fit in 80 columns
llvm-svn: 22064
2005-05-15 19:54:37 +00:00
Chris Lattner
efa20fab2d ctlz = most signficant bits, cttz = least sig
llvm-svn: 22061
2005-05-15 19:39:26 +00:00
Chris Lattner
04d6ed5ef0 fix warning
llvm-svn: 22060
2005-05-15 17:25:14 +00:00
Chris Lattner
7f910cd444 fix compiler warning
llvm-svn: 22059
2005-05-15 17:23:19 +00:00
Reid Spencer
3de98ee643 Duh .. you actually have to #include Config/config.h before you can test
for one of the values that it defines!

llvm-svn: 22058
2005-05-15 17:20:47 +00:00
Reid Spencer
294715b33e Some cleanups for compilation with GCC 4.0.0 to remove warnings:
* Use C++ style casts, not C style casts
* Abstract base classes should have virtual destructor.

llvm-svn: 22057
2005-05-15 16:13:11 +00:00
Chris Lattner
b62a5f0c03 add a sparcv8 section, make this validate
llvm-svn: 22056
2005-05-15 16:01:20 +00:00
Chris Lattner
8563e39c01 more edits, add anchors
llvm-svn: 22055
2005-05-15 15:33:21 +00:00
Duraid Madina
9f406cb29b make angry compilers happy again
llvm-svn: 22054
2005-05-15 14:44:13 +00:00
Duraid Madina
73c4dbae23 aCC and STLport complained about this, because they're like that
llvm-svn: 22053
2005-05-15 13:05:48 +00:00
Chris Lattner
17b2e4837b edits to the simplify-libcalls element, move it higher in the list.
llvm-svn: 22052
2005-05-15 06:09:55 +00:00
Chris Lattner
55f987b45c add generated code
llvm-svn: 22051
2005-05-15 06:07:40 +00:00
Chris Lattner
1a61fa460f don't reserve space for tailcall arg areas. It explicitly managed.
llvm-svn: 22050
2005-05-15 06:07:10 +00:00
Reid Spencer
ea77685e20 Make note of the -simplify-libcalls pass.
llvm-svn: 22049
2005-05-15 06:05:11 +00:00
Chris Lattner
6e3decb6ea add test to check for tail calls
llvm-svn: 22048
2005-05-15 05:52:51 +00:00
Chris Lattner
97e3b65652 Teach reginfo how to deal with ADJSTACKPTRri, allowing us to generate:
add %ESP, 20
        jmp %EDX  # TAIL CALL

instead of:
        add %ESP, -8
        add %ESP, 28
        jmp %EDX  # TAIL CALL

llvm-svn: 22047
2005-05-15 05:49:58 +00:00