Reid Spencer
e203d35be4
Fix a bug found exposed by: Regression/Other/2004-08-20-PackedControlFlow.ll
...
Packed types need to be allowed in type statements too.
Patch provided by Brad Jones.
llvm-svn: 15953
2004-08-20 15:37:30 +00:00
Nate Begeman
1b1a784afa
Implement code to convert SetCC into straight line code where appropriate. Add necessary instructions for this transformation to the .td file.
...
llvm-svn: 15952
2004-08-20 09:56:22 +00:00
Reid Spencer
6f7407880f
Remove even the slightest chance of a race condition occurring :)
...
llvm-svn: 15951
2004-08-20 09:32:32 +00:00
Reid Spencer
a17a413cc1
Implement the correct search for configuration files. llvmc will now try
...
the following in this order:
1. -config-dir=/path/to/configs
2. LLVM_CONFIG_DIR=/path/to/configs
3. ~/.llvm/etc
4. $prefix/etc
5. /etc/llvm
llvm-svn: 15950
2004-08-20 09:24:07 +00:00
Reid Spencer
6ad57b2491
Add CONFIG_FILES so the language specific config files can be installed.
...
llvm-svn: 15949
2004-08-20 09:21:51 +00:00
Reid Spencer
cc51e7b358
Added a set of rules for installing configuration files. You can now say
...
CONFIG_FILES=a b c
in a Makefile and when you "make install" the files a b and c will get
installed into the $prefix/etc directory.
llvm-svn: 15948
2004-08-20 09:20:05 +00:00
Reid Spencer
fab530daf2
Implement Assembly support.
...
Consolidate platform-specific code into "sys" namespace.
llvm-svn: 15947
2004-08-20 09:14:05 +00:00
Reid Spencer
288adf1a3f
Changes resulting from change in autoconf/configure.in (rename a #define)
...
llvm-svn: 15946
2004-08-20 09:10:31 +00:00
Reid Spencer
3b65b0a67a
Actually name the #define correctly.
...
llvm-svn: 15945
2004-08-20 09:08:57 +00:00
Reid Spencer
d677a43b4b
Added various LLVM_* strings that are configured to provide the user's
...
choice of installation directories. Programs can then automagically know
where the installation files are located.
llvm-svn: 15944
2004-08-20 09:05:15 +00:00
Reid Spencer
4d5c2a98d3
Update after change to autoconf/configure.ac
...
llvm-svn: 15943
2004-08-20 09:03:57 +00:00
Reid Spencer
cf05c1256b
Change version 1.3 -> 1.4
...
Add basic installation directories as AC_DEFINES and AC_SUBST so they can
be used by llvm programs with a simple #include <Config/config.h>
llvm-svn: 15942
2004-08-20 09:03:12 +00:00
Chris Lattner
befb7361c6
New testcase that the vector support does not work with yet.
...
This is also designed to make lowering a bitch :)
llvm-svn: 15941
2004-08-20 08:34:27 +00:00
Reid Spencer
f98e3c9358
Added various tests in support of Packed Types.
...
Tests kindly provided by Brad Jones.
llvm-svn: 15940
2004-08-20 06:06:43 +00:00
Reid Spencer
b6388f725e
Added a test case for packed types. Test case kindly provided by Brad Jones
...
llvm-svn: 15939
2004-08-20 06:02:24 +00:00
Brian Gaeke
0220904e7a
Packed types, brought to you by Brad Jones
...
llvm-svn: 15938
2004-08-20 06:00:58 +00:00
Reid Spencer
2b4b4a577a
Avoid building samples. Require explicit list of directory names to build.
...
llvm-svn: 15937
2004-08-20 01:49:59 +00:00
Chris Lattner
ab8d172df2
Make people explicitly add dirs to this. Remove ModuleMaker as it currently
...
does not build (it must be configured before it will work)
llvm-svn: 15936
2004-08-20 01:11:16 +00:00
Chris Lattner
40d0204067
Only build project dirs with a Makefile in them. This should fix the
...
problem where Depend or Debug directories prevent CVS from nuking an obsolete
project dir
llvm-svn: 15935
2004-08-20 01:07:54 +00:00
Chris Lattner
615ffb84fa
Bug fixed
...
llvm-svn: 15934
2004-08-20 00:36:23 +00:00
Chris Lattner
14c198d09a
If we are linking two global variables and they have the same size, do not
...
spew warnings, even if the types don't match.
llvm-svn: 15933
2004-08-20 00:30:39 +00:00
Misha Brukman
8f12956327
Fix opcodes being printed in caps (the more general fix may be `AsmWriter')
...
llvm-svn: 15932
2004-08-19 21:56:12 +00:00
Reid Spencer
9251cb2ecd
Actually let it compile after file name changes.
...
llvm-svn: 15931
2004-08-19 21:52:49 +00:00
Misha Brukman
170943a795
Stack space for argument passing is 32 regardless of 32- vs. 64-bit arch.
...
Thanks to Nate Begeman for pointing this out.
llvm-svn: 15930
2004-08-19 21:51:19 +00:00
Misha Brukman
f73c87b36c
LR needs to be saved at 16-byte offset on a 64-bit arch
...
llvm-svn: 15929
2004-08-19 21:36:14 +00:00
Misha Brukman
f35b35a926
On 64-bit PowerPC, pointers are 8 bytes, so parameter area offset is 48, not 24
...
llvm-svn: 15928
2004-08-19 21:34:05 +00:00
Reid Spencer
b32e350931
Moved ConfigData -> Configuration
...
llvm-svn: 15927
2004-08-19 21:17:53 +00:00
Misha Brukman
75e987d0b8
This PHI has 4 additional operands, not 2.
...
llvm-svn: 15926
2004-08-19 21:00:12 +00:00
Reid Spencer
90b057bf2a
Moved these files to "SmallExamples" directory.
...
llvm-svn: 15925
2004-08-19 20:16:42 +00:00
Reid Spencer
f30f28e05f
Add the fibonacci example provided by Valery Khamenya.
...
llvm-svn: 15924
2004-08-19 20:10:04 +00:00
Reid Spencer
7d12179af1
Make the SmallExamples programs compile in their new home.
...
llvm-svn: 15923
2004-08-19 20:09:14 +00:00
Misha Brukman
a26a61aa18
Use the appropriate 64-bit register description file.
...
llvm-svn: 15922
2004-08-19 19:36:57 +00:00
Reid Spencer
01ea7aed59
Fixed the test to actually run correctly.
...
llvm-svn: 15921
2004-08-19 19:23:28 +00:00
Reid Spencer
cdce60cae2
Add a test case test test 1.3 alignment removal and to test a regression
...
on disassembly speed (where SlotMachine was being recomputed on each
getSlot() call).
llvm-svn: 15920
2004-08-19 19:11:57 +00:00
Misha Brukman
a5543ac5fb
Fix more remaining 32-bit vestiges of PowerPC
...
llvm-svn: 15919
2004-08-19 18:49:58 +00:00
Misha Brukman
2ff719f74f
Fix another vestige of the 32-bit PowerPC backend.
...
llvm-svn: 15918
2004-08-19 16:50:30 +00:00
Misha Brukman
714d166c22
Correct character prepended to global symbols ('.'), use Mangler consistently
...
llvm-svn: 15917
2004-08-19 16:33:56 +00:00
Misha Brukman
0010ea3042
* Eliminate global base register, r2 is used for that on AIX/PowerPC
...
* Fix bug from 32-bit PowerPC days of 2-register long split
llvm-svn: 15916
2004-08-19 16:29:25 +00:00
Misha Brukman
6c4a085286
Wrap long lines.
...
llvm-svn: 15915
2004-08-19 16:28:30 +00:00
Nate Begeman
d5c6380015
Convert casts that will have no effect into move instructions.
...
llvm-svn: 15914
2004-08-19 08:07:50 +00:00
Nate Begeman
e4e6d92d1d
Clean up floating point instruction selection.
...
Change int->float cast code to put conversion constants in constant pool.
Shorten code sequence for constant pool fp loads.
Remove LOADLoDirect/LOADLoIndirect psuedo instructions and tweak asmwriter
llvm-svn: 15913
2004-08-19 05:20:54 +00:00
Reid Spencer
dc20389b5c
Implement many new features for llvmc. This is the first version that will
...
actually execute actions and it is been shown to optimize a Stacker program
llvm-svn: 15912
2004-08-19 04:49:47 +00:00
Misha Brukman
b3b5890213
Instead of int64_t, overload itostr with `long long' parameter.
...
This appeases both SparcV9 and 64-bit PowerPC.
llvm-svn: 15910
2004-08-18 22:56:12 +00:00
Reid Spencer
3cff8a04ef
Correct a link, add a TOC entry.
...
llvm-svn: 15909
2004-08-18 20:17:05 +00:00
Reid Spencer
375d78428c
Provided opcode definitions.
...
Clarified documentation of symbol tables.
Clarified definition of slot numbers.
Added the http-equiv meta tag for HTML 4.01 strict compliance.
Adjusted line lengths.
Differentiated between "type slot" and "value slot" everywhere.
ispelled it.
llvm-svn: 15908
2004-08-18 20:06:19 +00:00
Brian Gaeke
1936ce708d
M_DUMMY_PHI_FLAG is no longer used to distinguish V9::PHI. Get rid of it and
...
its TargetInstrInfo accessor.
llvm-svn: 15907
2004-08-18 20:04:28 +00:00
Brian Gaeke
7593525fcd
Instead of using isDummyPhiInstr, we just compare the opcode with V9::PHI.
...
llvm-svn: 15906
2004-08-18 20:04:24 +00:00
Brian Gaeke
de44bc018a
Instead of using isDummyPhiInstr, we just compare the opcode with V9::PHI.
...
Also, squash a use of TargetInstrInfo::isNop().
llvm-svn: 15905
2004-08-18 20:04:21 +00:00
Chris Lattner
1ea6d207ce
Convert to the new MachineFunctionInfo interface
...
llvm-svn: 15904
2004-08-18 18:13:37 +00:00
Chris Lattner
663bf7e765
All targets are now allowed to have their own MachineFunctionInfo objects,
...
also, make getInfo do some checking and cast to the appropriate concrete type.
llvm-svn: 15903
2004-08-18 18:13:16 +00:00