1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 20:43:44 +02:00
Commit Graph

19033 Commits

Author SHA1 Message Date
Chris Lattner
a3e57bd844 Tolerate instrs with extra args
llvm-svn: 21982
2005-05-13 21:07:15 +00:00
John Criswell
0877908e67 Add a note about SPARC V8.
llvm-svn: 21981
2005-05-13 20:54:44 +00:00
Chris Lattner
e9944b033d allow RETI
llvm-svn: 21980
2005-05-13 20:46:35 +00:00
Chris Lattner
3436cabb50 add support for fastcc and friends
llvm-svn: 21979
2005-05-13 20:40:52 +00:00
John Criswell
d0593c3fdb Minor fixes.
llvm-svn: 21978
2005-05-13 20:38:44 +00:00
Chris Lattner
93007dda7d treat TAILCALL nodes identically to CALL nodes
llvm-svn: 21977
2005-05-13 20:29:26 +00:00
Chris Lattner
2c9d871f9b Build TAILCALL nodes in LowerCallTo, treat them like normal calls everywhere.
llvm-svn: 21976
2005-05-13 20:29:13 +00:00
John Criswell
3a95e6476b Added some missing platforms.
Fixed some wording to be more accurate (I hope).

llvm-svn: 21975
2005-05-13 20:28:15 +00:00
John Criswell
d7464e0f25 More typo and wording fixes.
llvm-svn: 21974
2005-05-13 20:25:49 +00:00
Chris Lattner
44408faaa0 Add reassociation, minor cleanups.
llvm-svn: 21973
2005-05-13 20:18:49 +00:00
Chris Lattner
ea7e5e50d7 close off B< tag
llvm-svn: 21972
2005-05-13 20:14:06 +00:00
Chris Lattner
4fbf9e8af4 remove htmlisms
llvm-svn: 21971
2005-05-13 20:13:39 +00:00
Chris Lattner
06d1152fbc fix typo
llvm-svn: 21970
2005-05-13 20:10:13 +00:00
Chris Lattner
788dc6e5fa note how to disable inlining
llvm-svn: 21969
2005-05-13 20:09:33 +00:00
Chris Lattner
71f466f05c fix link to llvm-ar
llvm-svn: 21968
2005-05-13 20:08:34 +00:00
Chris Lattner
553d00541a these don't use passes
llvm-svn: 21967
2005-05-13 20:04:33 +00:00
Chris Lattner
14e3e9a6aa this detail is not needed here
llvm-svn: 21966
2005-05-13 20:03:17 +00:00
Chris Lattner
339f22ce3d update this manual
llvm-svn: 21965
2005-05-13 20:01:11 +00:00
Chris Lattner
f79a885a30 Capitalize
llvm-svn: 21964
2005-05-13 19:49:09 +00:00
Andrew Lenharth
d8c9c3b76a fix regression tests
llvm-svn: 21963
2005-05-13 19:49:02 +00:00
Chris Lattner
f637d56882 capitalize
llvm-svn: 21962
2005-05-13 19:48:34 +00:00
John Criswell
e5522bdf1a Minor corrections and clarifications.
llvm-svn: 21961
2005-05-13 19:48:07 +00:00
Chris Lattner
df23ee9e48 clarify that these are v9 options
llvm-svn: 21960
2005-05-13 19:45:45 +00:00
Chris Lattner
653c791170 hide this option
llvm-svn: 21959
2005-05-13 19:44:21 +00:00
Chris Lattner
9d788e93a6 Add an isTailCall flag to LowerCallTo
llvm-svn: 21958
2005-05-13 18:50:42 +00:00
Chris Lattner
3a76f85d43 Handle TAILCALL node
llvm-svn: 21957
2005-05-13 18:43:43 +00:00
Chris Lattner
97505aa9ac add TAILCALL node
llvm-svn: 21956
2005-05-13 18:40:17 +00:00
Chris Lattner
681f9f0993 This passes on sparc
llvm-svn: 21955
2005-05-13 18:37:58 +00:00
Reid Spencer
9fba5405a3 * Make some warning messages stand out a bit by putting **** at the end
* Fix a typo that prevents BuildMode from being printed

llvm-svn: 21954
2005-05-13 18:32:54 +00:00
Reid Spencer
1ae4c38124 Fix the "stacker doesn't build without llvm-gcc" problem. The configure
script was defaulting the LLVMGCC variable to "llvm-gcc" if it couldn't
find llvm-gcc and --with-llvmgccdir was not specified. In this case, there
is no llvm-gcc available on the system so we shouldn't assume that the
user's path will find it any better than configure could. The fix is to
default it to an empty string. If LLVMGCC is empty, the makefiles will
avoid building things that depend on llvm-gcc and give a nice warning
message to that effect.

llvm-svn: 21953
2005-05-13 18:30:13 +00:00
Chris Lattner
cfd38bf2c2 remove test
llvm-svn: 21952
2005-05-13 18:19:29 +00:00
Chris Lattner
83d7e55471 add 'ret imm' instruction
llvm-svn: 21945
2005-05-13 17:56:48 +00:00
Reid Spencer
f57ef0e638 The previous hack didn't work because tools-only isn't defined and isn't
a target at this level of build. There shouldn't be a problem with building
the runtime library without llvm-gcc because the Makefile.rules checks
for an empty LLVMGCC variable before building bytecode modules.

llvm-svn: 21942
2005-05-13 17:42:54 +00:00
John Criswell
8db3ffae9f These tests are currently expected to fail.
llvm-svn: 21941
2005-05-13 17:36:00 +00:00
Chris Lattner
0fcef3637c Force x86 backend
llvm-svn: 21940
2005-05-13 16:20:59 +00:00
Chris Lattner
f8795289ff Realize that we don't support fmod directly, fixing CodeGen/Generic/print-arith-fp.ll
llvm-svn: 21939
2005-05-13 16:20:22 +00:00
Reid Spencer
47d216c0b3 Don't build runtime if tools-only :)
llvm-svn: 21938
2005-05-13 16:17:58 +00:00
Chris Lattner
5f65574a0f fix buggy test
llvm-svn: 21937
2005-05-13 15:51:31 +00:00
Chris Lattner
54ac7e9e84 Fix buggy test
llvm-svn: 21936
2005-05-13 15:48:41 +00:00
Chris Lattner
6e96e6e431 let dj run this
llvm-svn: 21935
2005-05-13 15:44:55 +00:00
Andrew Lenharth
385f6bd18f fixed test case
llvm-svn: 21934
2005-05-13 15:42:07 +00:00
Chris Lattner
7c3b219c28 Do not CopyFromReg physregs for live-in values. Instead, create a vreg for
each live in, and copy the regs from the vregs.  As the very first thing we
do in the function, insert copies from the pregs to the vregs.  This fixes
problems where the token chain of CopyFromReg was not enough to allow reordering
of the copyfromreg nodes and other unchained nodes (e.g. div, which clobbers
eax on intel).

llvm-svn: 21932
2005-05-13 07:38:09 +00:00
Chris Lattner
01eba53a10 Emit function entry code after lowering hte arguments.
llvm-svn: 21931
2005-05-13 07:33:32 +00:00
Chris Lattner
fdc4816996 Allow targets to emit code into the entry block of each function
llvm-svn: 21930
2005-05-13 07:23:21 +00:00
Chris Lattner
c79b6eeefd add a new method
llvm-svn: 21929
2005-05-13 07:23:03 +00:00
Chris Lattner
b06ee3dd65 calling a function with the wrong CC is undefined, turn it into an unreachable
instruction.  This is useful for catching optimizers that don't preserve
calling conventions

llvm-svn: 21928
2005-05-13 07:09:09 +00:00
Chris Lattner
5cd760d12d allow a virtual register to be associated with live-in values.
llvm-svn: 21927
2005-05-13 07:08:07 +00:00
Reid Spencer
77e3c97c8e Make sure that decompression checks for the case that bzip2 returns
BZ_OK (meaning more data is expected) but there is no more input data. In
this case, the input file is probably truncated. Generate an exception that
indicates this case when its detected.

llvm-svn: 21926
2005-05-13 07:05:37 +00:00
Chris Lattner
b9d99c9b2b When lowering invokes to calls, amke sure to preserve the calling conv. This
fixes Ptrdist/anagram with x86 llcbeta

llvm-svn: 21925
2005-05-13 06:27:02 +00:00
Chris Lattner
dfe45a21b1 Prefer int 0 instead of long 0 for GEP arguments.
llvm-svn: 21924
2005-05-13 06:10:12 +00:00