Vikram S. Adve
bb4677de1e
Native libraries (libinstr*.a) should not have been taken out when
...
taking out the rule for compiling the test driver.
We need the native libraries for libinstr because they are directly
linked into the native CBE or LLC code. That is the only practical
way to debug them!
llvm-svn: 7129
2003-07-08 18:40:58 +00:00
Vikram S. Adve
5f41b754e9
Use libinstr.$(ARCH).a instead of libinstr64.a
...
Also, $(RM) needs -f flag.
llvm-svn: 7128
2003-07-08 18:39:51 +00:00
Vikram S. Adve
cc28472b7a
*** empty log message ***
...
llvm-svn: 7126
2003-07-08 15:39:02 +00:00
John Criswell
caef76fa72
Removed size_t from the parameter list of the malloc() prototype in generated C
...
code. This prevents a compiler warning on Sparc that causes the tests to fail.
llvm-svn: 7125
2003-07-08 14:52:09 +00:00
Misha Brukman
73f1bbeecd
Stop using the `Offset' variable, as we are cycling through the bits of a field
...
initializer and the loop index variable already carries the offset information
that we need.
llvm-svn: 7123
2003-07-07 22:30:44 +00:00
Misha Brukman
543aedd7d0
Fixed indentation.
...
llvm-svn: 7122
2003-07-07 22:28:42 +00:00
Misha Brukman
e377ce4ef6
Removed an extra slash that appears in the path name when these variables are
...
combined with a '/' separating them.
llvm-svn: 7121
2003-07-07 22:27:05 +00:00
Misha Brukman
32080d455d
Elaborated assembly syntax of instructions in the comments.
...
llvm-svn: 7120
2003-07-07 22:18:42 +00:00
Misha Brukman
1e37572950
Removed unnecessary assignment (it was taken care by a superclass) and clarified
...
some comments.
llvm-svn: 7119
2003-07-07 22:18:06 +00:00
Misha Brukman
7a14db826d
* Made $Template refer to a path relative to the checked-out tree
...
* Made error messages print out what directory failed chdir()
* Put quotes around search arguments to grep
* Use `egrep' instead of `grep -e' because they are equivalent but `grep' does
not have the `-e' option on Sparc/Solaris
* Added `--enable-jit' to the ./configure command because both X86 and Sparc
have JITs and we want them to be tested
* Fixed the regular expressions parsing the changes in CVS which were causing
the script to die
llvm-svn: 7118
2003-07-07 21:27:40 +00:00
John Criswell
2ab83397fd
Fixed the directions for building the C front end.
...
llvm-svn: 7117
2003-07-07 19:29:20 +00:00
John Criswell
cc2370be23
Added information about how to unpack the distribution for those who do not
...
have access to CVS.
llvm-svn: 7116
2003-07-07 19:27:35 +00:00
Brian Gaeke
028985aa27
Insert workaround for GAS bug in assembling FLD/FSTP XWORD PTR [...]
...
instructions, by outputting them as bytes.
llvm-svn: 7115
2003-07-07 18:34:20 +00:00
Misha Brukman
5fe7702056
Moved RegClassIDs enum to be next to the RegTypes enum.
...
llvm-svn: 7114
2003-07-07 16:52:39 +00:00
Vikram S. Adve
ee1e9ea019
Correction to last fix: Pointer types do not return true in Type::IsIntegral().
...
llvm-svn: 7113
2003-07-06 22:50:31 +00:00
Vikram S. Adve
d7b18ee501
Choose register instead of immediate for ConstantExpr in ChooseRegOrImmed.
...
llvm-svn: 7112
2003-07-06 20:33:21 +00:00
Vikram S. Adve
1ddf684f4c
Major bug fix though it happened rarely (only on a compare after an
...
integer overflow):
We need to use %icc and not %xcc for comparisons on 32-bit or smaller
integer values.
llvm-svn: 7111
2003-07-06 20:13:59 +00:00
Vikram S. Adve
52e1c7001e
Regression test for bug in reg. allocation that was using %xcc instead
...
of %icc even for 32-bit and smaller comparisons.
llvm-svn: 7110
2003-07-06 20:12:18 +00:00
Vikram S. Adve
0ab951d2ab
Make the RegClassID values public -- there is no other way to get them.
...
llvm-svn: 7109
2003-07-06 19:53:59 +00:00
Brian Gaeke
3a8704ffc1
Add -d option to trust the disassembler.
...
llvm-svn: 7105
2003-07-03 21:44:32 +00:00
Brian Gaeke
419cb00a7c
here little scriptie, nice scriptie...
...
llvm-svn: 7104
2003-07-03 21:15:02 +00:00
Misha Brukman
20fcdbc808
Apparently, the "regType" and "regClass" used in the Sparc backend are not both
...
correct: empirically, "regType" is wrong for a number of registers. Thus, one
can only rely on the "regClass" to figure out what kind of register one is
dealing with.
This change switches to using only "regClass" and adds a few extra DEBUG() print
statements and a few clean-ups in comments and code, mostly minor.
llvm-svn: 7103
2003-07-03 18:36:47 +00:00
Sumant Kowshik
b1a109f9e9
Added support for poolallocarray and poolmakeunfreeable. The latter is used by the SAFECode project
...
llvm-svn: 7102
2003-07-03 17:55:47 +00:00
John Criswell
14b4ec4606
Fixed an error in the pathname to LLVMGCCDIR for the pre-built binaries (forgot
...
that <> denotes a tag).
llvm-svn: 7100
2003-07-03 16:49:40 +00:00
John Criswell
f83a7295fe
Added information on software requirements for unpacking the archives that we
...
will eventually distribute.
llvm-svn: 7099
2003-07-03 16:43:01 +00:00
Misha Brukman
d9301b215b
* Reworded a bit about JITs (I don't like acronyms followed by 's)
...
* Added JIT capability to the LLI description section
* LLC is quasi-x86-capable
llvm-svn: 7098
2003-07-03 16:29:36 +00:00
John Criswell
976932f737
Added another remark on how building the C front end is optional.
...
llvm-svn: 7097
2003-07-03 16:03:39 +00:00
John Criswell
856aa7e828
Performed a major update for the pre-release.
...
Attempted to better structure and order the document.
Added more information about autoconf, the build system, and how to build LLVM.
Added directions on how to build the C front end.
Added a section on common problems and their solutions.
llvm-svn: 7096
2003-07-03 16:01:38 +00:00
John Criswell
a4df9efb1a
Adding a web page on how to start a new LLVM Project.
...
llvm-svn: 7095
2003-07-03 15:37:52 +00:00
Chris Lattner
b93ef28cef
Reuse the values if they are constants: this is important so that we index into the right structure field
...
This fixes bug: BasicAA/2003-07-03-BasicAACrash.ll
llvm-svn: 7093
2003-07-03 06:42:38 +00:00
Chris Lattner
6642d2a0c8
New testcase
...
llvm-svn: 7092
2003-07-03 06:29:15 +00:00
Chris Lattner
2a6504c799
Remove globals more aggressively from graphs.
...
Fix a bug where we removed nodes that were marked U.
llvm-svn: 7090
2003-07-03 02:03:53 +00:00
Chris Lattner
727a2aaf1e
INCLUDE_PARENT_GRAPH is required
...
llvm-svn: 7089
2003-07-02 23:57:21 +00:00
Chris Lattner
492b7eeb06
INCLUDE_PARENT_GRAPH is required!
...
llvm-svn: 7088
2003-07-02 23:57:05 +00:00
Chris Lattner
86c8f822ec
Disable incorrect mustalias code
...
llvm-svn: 7087
2003-07-02 23:56:51 +00:00
Chris Lattner
478e42b621
Remove space at end of line
...
llvm-svn: 7084
2003-07-02 23:44:15 +00:00
Chris Lattner
05ead58250
Remove dead method
...
llvm-svn: 7083
2003-07-02 23:43:06 +00:00
Chris Lattner
b64aff94fd
Fix how we are handling unreachable functions. This DRAMATICALLY improves efficiency
...
llvm-svn: 7082
2003-07-02 23:42:48 +00:00
John Criswell
8f1920eca3
Updated prior to the pre-release.
...
Removed items which are done (or near completion).
Added new items so that we don't forget them.
llvm-svn: 7081
2003-07-02 23:03:18 +00:00
Misha Brukman
d44db62308
The word open' was really intended to be
option'.
...
llvm-svn: 7080
2003-07-02 21:20:04 +00:00
John Criswell
ede81396b6
Removed the --enable-profiling option.
...
llvm-svn: 7079
2003-07-02 21:16:06 +00:00
John Criswell
f7bac57e58
Removed the --enable-profiling option (again).
...
llvm-svn: 7078
2003-07-02 20:49:38 +00:00
Chris Lattner
083398eff5
Keep track of how many inlinings are performed
...
llvm-svn: 7076
2003-07-02 20:24:42 +00:00
Chris Lattner
59bb44723a
Try using trivially dead deletion
...
llvm-svn: 7075
2003-07-02 19:49:11 +00:00
Misha Brukman
8dd0e2fb27
* Force all "don't care" bits to 0 so that there are absolutely no unset bits in
...
the TableGen descriptions; all unset bits are thus errors.
* As a result, found and fixed instructions where some operands were not
actually assigned into the right portion of the instruction.
llvm-svn: 7074
2003-07-02 19:37:48 +00:00
Misha Brukman
4eeef8986f
The classes F4_3 and F4_4 have an `rd' operand that needs to be set.
...
llvm-svn: 7073
2003-07-02 18:27:47 +00:00
Misha Brukman
e0abbee864
Properly fix instruction syntax in comments, using `imm' for instructions that
...
use an immediate value instead of a register.
llvm-svn: 7072
2003-07-02 18:15:43 +00:00
Misha Brukman
b53b013355
Fixed instruction syntax in the comments (specifies how instr is used).
...
llvm-svn: 7071
2003-07-02 18:02:58 +00:00
Misha Brukman
009e42dd43
* If compiling on X86 or Sparc, automagically enable the JIT for that arch
...
* Setting ENABLE_X86_JIT or ENABLE_SPARC_JIT on the `make' command-line will
force the inclusion of that JIT on a different architecture
* If neither JIT is enabled (e.g., compiling on a different architecture), the
-march option will not be available to LLI.
* As a side effect of the $ARCH variable, the Sparc LLI can now link just a bit
faster by not including the x86 library.
llvm-svn: 7070
2003-07-02 17:53:19 +00:00
John Criswell
ec0f8a8150
Removed the CPPFLAGS and CFLAGS variables since the -DHAVE_CONFIG_H messes
...
up the test suite. Since all the LLVM software assumes that config.h exists,
we can just do away with it for now.
llvm-svn: 7069
2003-07-02 16:53:44 +00:00