1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 15:32:52 +01:00
Commit Graph

19039 Commits

Author SHA1 Message Date
Misha Brukman
7ce16c1893 * Add a link to the pattern-matching codegen docs
* Tersify wording

llvm-svn: 22099
2005-05-17 02:33:03 +00:00
Misha Brukman
40d59673d7 Recommend writing new instruction selectors using pattern-based mechanisms
llvm-svn: 22098
2005-05-17 02:27:30 +00:00
Misha Brukman
8d6ed4dceb Add link to debugging code generators with bugpoint
llvm-svn: 22097
2005-05-17 02:12:32 +00:00
Reid Spencer
a34374d5b2 It would help if the headings were sorted properly.
llvm-svn: 22096
2005-05-16 19:33:21 +00:00
Reid Spencer
3b97b81bd9 Fix a brain blunder in the HTML output.
llvm-svn: 22094
2005-05-16 18:52:57 +00:00
Reid Spencer
7142fb87e8 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

llvm-svn: 22093
2005-05-16 18:30:38 +00:00
Reid Spencer
c7203632f9 Adjust the dependencies and generate the output to docs/userloc.html so
that it can properly link to the CSS stylesheet and images.

llvm-svn: 22092
2005-05-16 18:29:13 +00:00
Reid Spencer
f9ac6c04d8 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.

llvm-svn: 22091
2005-05-16 18:26:47 +00:00
Reid Spencer
b85c7b4231 Add the ability to generate the User LOC page via the userloc.pl script.
llvm-svn: 22090
2005-05-16 18:12:58 +00:00
Chris Lattner
6ff07b964f more minor edits
llvm-svn: 22088
2005-05-16 17:13:10 +00:00
Chris Lattner
0ca70ed55a more edits
llvm-svn: 22087
2005-05-16 17:06:29 +00:00
Chris Lattner
2dae35680e more edits, include stuff from the status update
llvm-svn: 22086
2005-05-16 16:56:09 +00:00
Duraid Madina
49c8521b6e 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
53e4a10264 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
5041bff028 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
377c21b38e fix a typo duraid noticed
llvm-svn: 22082
2005-05-16 15:37:19 +00:00
Duraid Madina
0cc90e2e4a comment the hpux bit
llvm-svn: 22081
2005-05-16 06:59:53 +00:00
Chris Lattner
2a8340a738 more edits
llvm-svn: 22080
2005-05-16 06:58:39 +00:00
Duraid Madina
7391051c20 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
00bf2429ad hp-ux needs this to get through the System/Support libs
llvm-svn: 22078
2005-05-16 06:38:09 +00:00
Duraid Madina
130fbe150e detect HP-UX when configuring
llvm-svn: 22077
2005-05-16 05:39:00 +00:00
Chris Lattner
774a5d8b9a remove deprecated methods
llvm-svn: 22076
2005-05-16 01:49:23 +00:00
Chris Lattner
03f1db937e GCC4 + IA64 = badnews
llvm-svn: 22075
2005-05-15 22:26:45 +00:00
Reid Spencer
a9e52c8caf 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
2e5294e307 Improve statement
llvm-svn: 22073
2005-05-15 21:38:32 +00:00
Reid Spencer
9d1f2e88d6 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
965b367cf1 This does not belong
llvm-svn: 22071
2005-05-15 21:31:36 +00:00
Reid Spencer
720fbd937a 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
418065989d 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
58ad53e9d3 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
0366a913ad 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
9fc81f1162 Fix andrews changes to fit in 80 columns
llvm-svn: 22064
2005-05-15 19:54:37 +00:00
Chris Lattner
093814c670 ctlz = most signficant bits, cttz = least sig
llvm-svn: 22061
2005-05-15 19:39:26 +00:00
Chris Lattner
ee65cff29c fix warning
llvm-svn: 22060
2005-05-15 17:25:14 +00:00
Chris Lattner
138c960903 fix compiler warning
llvm-svn: 22059
2005-05-15 17:23:19 +00:00
Reid Spencer
24104523b5 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
ba222e3e99 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
45a64e1020 add a sparcv8 section, make this validate
llvm-svn: 22056
2005-05-15 16:01:20 +00:00
Chris Lattner
5ce43325f4 more edits, add anchors
llvm-svn: 22055
2005-05-15 15:33:21 +00:00
Duraid Madina
03a7327d63 make angry compilers happy again
llvm-svn: 22054
2005-05-15 14:44:13 +00:00
Duraid Madina
f4ca48c89e aCC and STLport complained about this, because they're like that
llvm-svn: 22053
2005-05-15 13:05:48 +00:00
Chris Lattner
5d60e7dc29 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
27648bb242 add generated code
llvm-svn: 22051
2005-05-15 06:07:40 +00:00
Chris Lattner
95650a26b2 don't reserve space for tailcall arg areas. It explicitly managed.
llvm-svn: 22050
2005-05-15 06:07:10 +00:00
Reid Spencer
90b3a2968f Make note of the -simplify-libcalls pass.
llvm-svn: 22049
2005-05-15 06:05:11 +00:00
Chris Lattner
4b72dca53e add test to check for tail calls
llvm-svn: 22048
2005-05-15 05:52:51 +00:00
Chris Lattner
2fd2e53f6a 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
Chris Lattner
77f8c2cece Implement proper tail calls in the X86 backend for all fastcc->fastcc
tail calls.

llvm-svn: 22046
2005-05-15 05:46:45 +00:00
Chris Lattner
32c523794d Substantial edits for the release notes.
llvm-svn: 22045
2005-05-15 05:44:51 +00:00
Chris Lattner
811dc49f55 Add some simplifications for MULH[SU]. This allows us to compile this:
long %bar(long %X) {
  %Y = mul long %X, 4294967297
  ret long %Y
}

to this:

l1_bar:
        mov %EAX, DWORD PTR [%ESP + 4]
        mov %EDX, %EAX
        add %EDX, DWORD PTR [%ESP + 8]
        ret

instead of:

l1_bar:
        mov %ECX, DWORD PTR [%ESP + 4]
        mov %EDX, 1
        mov %EAX, %ECX
        mul %EDX
        add %EDX, %ECX
        add %EDX, DWORD PTR [%ESP + 8]
        mov %EAX, %ECX
        ret

llvm-svn: 22044
2005-05-15 05:39:08 +00:00