1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
Commit Graph

29896 Commits

Author SHA1 Message Date
Reid Spencer
ce1e696d0d Add a missing .
llvm-svn: 34278
2007-02-14 08:09:40 +00:00
Reid Spencer
95f376543f Incorporate Chris Lattner's second round of feedback.
llvm-svn: 34277
2007-02-14 07:57:48 +00:00
Chris Lattner
42da01da94 fix validation bug
llvm-svn: 34276
2007-02-14 07:42:59 +00:00
Chris Lattner
8196e77287 now that llvm-gcc3 is gone, life is significantly simpler and less scary
llvm-svn: 34275
2007-02-14 07:42:12 +00:00
Chris Lattner
0c288107cf remove an obsolete question
llvm-svn: 34274
2007-02-14 07:40:16 +00:00
Chris Lattner
a4853a3340 remove obsolete path
llvm-svn: 34273
2007-02-14 07:39:35 +00:00
Chris Lattner
f9ef252d00 fix a warning
llvm-svn: 34272
2007-02-14 07:34:56 +00:00
Chris Lattner
1a048c47a6 remove obsolete warning
llvm-svn: 34271
2007-02-14 07:34:22 +00:00
Chris Lattner
ffa8e03125 There is no circular dependency between llvm and llvm-gcc anymore. stop
scaring users.

llvm-svn: 34270
2007-02-14 07:33:00 +00:00
Reid Spencer
c0024c5149 Incorporate Chris' first round of comments.
llvm-svn: 34269
2007-02-14 07:22:19 +00:00
Chris Lattner
0c973a02d9 Refix CodeGen/Generic/switch-lower.ll. In contrast to my previous patch,
this doesn't miscompile lots of programs :)

llvm-svn: 34268
2007-02-14 07:18:16 +00:00
Chris Lattner
fc2686da00 From Dan Gohman:
While preparing http://llvm.org/PR1198 I noticed several asserts
protecting unprepared code from i128 types that weren't actually failing
when they should because they were written as assert("foo") instead of
something like assert(0 && "foo"). This patch fixes all the cases that a
quick grep found.

llvm-svn: 34267
2007-02-14 06:20:04 +00:00
Chris Lattner
5cece73ec8 Generalize TargetData strings, to support more interesting forms of data.
Patch by Scott Michel.

llvm-svn: 34266
2007-02-14 05:52:17 +00:00
Reid Spencer
5e1e7c4e59 Use brute-force algorithm for to_string. It doesn't have to be efficient
at this point, it just needs to work so we can test things reliably.

llvm-svn: 34262
2007-02-14 02:52:25 +00:00
Chris Lattner
b72af5df9b sanity check for *basic* i128 arithmetic on all hosts.
llvm-svn: 34259
2007-02-13 23:59:21 +00:00
Chris Lattner
48b7ed420c better support for i128.
llvm-svn: 34258
2007-02-13 23:57:55 +00:00
Chris Lattner
1b57f8bbdf implement expand of truncate. This allows truncates from i128 to i64 to
be supported on 32-bit hosts.

llvm-svn: 34257
2007-02-13 23:55:16 +00:00
Chris Lattner
c305c08493 Fix PR1198, by adding initial i128 support. Patch by Dan Gohman.
llvm-svn: 34256
2007-02-13 23:41:38 +00:00
Chris Lattner
e85be004b9 new testcase, by Dan Gohman
llvm-svn: 34255
2007-02-13 23:41:24 +00:00
Andrew Lenharth
f4bbe64c83 Well this isn't as ugly and it works better. At least gcc bootstraps again
llvm-svn: 34254
2007-02-13 23:41:16 +00:00
Reid Spencer
80ac48cfdf Make some minor improvements to APInt:
1. Make all the operators use uppercase
2. Rename APIntRoundToDouble method just RoundToDouble, the APInt is
   redundant.
3. Turn the class on for compilation.

llvm-svn: 34253
2007-02-13 22:41:58 +00:00
Chris Lattner
67bdb3aae8 add a note
llvm-svn: 34249
2007-02-13 21:44:43 +00:00
Reid Spencer
70950fb111 Add missing closing parenthesis.
llvm-svn: 34248
2007-02-13 20:57:57 +00:00
Chris Lattner
656f6a6fdd revert my previous switch lowering change, which miscompiles a few programs.
This will break a dj test until I have time to investigate.

llvm-svn: 34247
2007-02-13 20:09:07 +00:00
Lauro Ramos Venancio
81f86314e6 Add space between // and the comment.
llvm-svn: 34246
2007-02-13 20:06:15 +00:00
Lauro Ramos Venancio
ff9f78e230 Add ABI information to ARM subtarget.
llvm-svn: 34245
2007-02-13 19:52:28 +00:00
Lauro Ramos Venancio
7465000f94 Add a space between // and the comment.
llvm-svn: 34244
2007-02-13 18:10:13 +00:00
Lauro Ramos Venancio
0471446487 Add comment about original function argument alignment.
llvm-svn: 34243
2007-02-13 17:57:38 +00:00
Reid Spencer
5d696d728c Fix tow grammaros that Bill Wendling noticed.
llvm-svn: 34242
2007-02-13 17:04:09 +00:00
Lauro Ramos Venancio
02ba8f20e3 According to ARM EABI, 8-bytes function arguments must be 8-bytes aligned.
llvm-svn: 34241
2007-02-13 14:07:13 +00:00
Lauro Ramos Venancio
4aecadf112 Add "original alignment" to function arguments flags.
llvm-svn: 34240
2007-02-13 13:50:08 +00:00
Reid Spencer
0ce7199e4e Fix a compilation error that caused the nightly test to fail.
llvm-svn: 34239
2007-02-13 09:26:04 +00:00
Reid Spencer
cf8c32ed7b Clean up spelling mistakes.
llvm-svn: 34238
2007-02-13 09:20:14 +00:00
Reid Spencer
9ea4a90f30 Fix an HTML validation error.
llvm-svn: 34237
2007-02-13 09:11:33 +00:00
Reid Spencer
4ff86ff776 Make the draft notice more prominent.
llvm-svn: 34236
2007-02-13 09:09:20 +00:00
Reid Spencer
6d201543c8 Add DeveloperPolicy.html
llvm-svn: 34235
2007-02-13 09:08:27 +00:00
Reid Spencer
726d3d36b4 First draft of the LLVM Developer Policy. This document is a "first cut"
at stating in clear terms the LLVM project's policies with respect to
developers and their contributions. Feedback on this is welcome while it
is in draft stage.

llvm-svn: 34234
2007-02-13 09:06:01 +00:00
Chris Lattner
4534d3fc6e Switch UnaryOperators to default to passing names up by const char* when possible.
This speeds up bcreading by 1.5%.

llvm-svn: 34233
2007-02-13 07:54:42 +00:00
Chris Lattner
cc543b031e add a setName variant that takes a null-terminated string. This can be
used to avoid std::string allocations in common cases.

llvm-svn: 34232
2007-02-13 07:53:34 +00:00
Chris Lattner
2f015c1ccf Use a SmallVector to reduce heap traffic. This speeds up bcreader 10%
llvm-svn: 34231
2007-02-13 07:28:20 +00:00
Chris Lattner
3490afcd50 fix a critical bug in smallvector, where it would destroy elements that are
not in its range (!).

llvm-svn: 34230
2007-02-13 07:25:36 +00:00
Chris Lattner
d7f09146b8 now that we can pass ranges into CallInst ctors, eliminate vector heap traffic
llvm-svn: 34229
2007-02-13 06:30:42 +00:00
Chris Lattner
326271ee46 eliminate instruction ctors that take vectors.
llvm-svn: 34228
2007-02-13 06:22:32 +00:00
Chris Lattner
cd8f54f112 eliminate vector-related ctors
llvm-svn: 34227
2007-02-13 06:06:26 +00:00
Chris Lattner
80be85730a eliminate use of vector-related ctors
llvm-svn: 34226
2007-02-13 06:05:43 +00:00
Chris Lattner
ea38fbb2bd regenerate
llvm-svn: 34225
2007-02-13 06:04:17 +00:00
Chris Lattner
d01df38c4c remove use of vector-related ctors
llvm-svn: 34224
2007-02-13 06:03:48 +00:00
Chris Lattner
8038c3c99e eliminate vector-related allocations
llvm-svn: 34223
2007-02-13 06:01:22 +00:00
Chris Lattner
68420e1d7d eliminate a bunch of vector-related heap traffic
llvm-svn: 34222
2007-02-13 05:58:53 +00:00
Chris Lattner
2ad52d5242 eliminate use of vector ctors
llvm-svn: 34221
2007-02-13 05:53:56 +00:00