Chris Lattner
ad85ba4c5b
now that llvm-gcc3 is gone, life is significantly simpler and less scary
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34275 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-14 07:42:12 +00:00
Chris Lattner
31d041935e
remove an obsolete question
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34274 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-14 07:40:16 +00:00
Chris Lattner
e5ff00870a
remove obsolete path
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34273 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-14 07:39:35 +00:00
Chris Lattner
c661d61d82
fix a warning
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34272 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-14 07:34:56 +00:00
Chris Lattner
f76e7bba52
remove obsolete warning
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34271 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-14 07:34:22 +00:00
Chris Lattner
bcb38cf5e9
There is no circular dependency between llvm and llvm-gcc anymore. stop
...
scaring users.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34270 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-14 07:33:00 +00:00
Reid Spencer
78bade278f
Incorporate Chris' first round of comments.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34269 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-14 07:22:19 +00:00
Chris Lattner
21840b1c5c
Refix CodeGen/Generic/switch-lower.ll. In contrast to my previous patch,
...
this doesn't miscompile lots of programs :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34268 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-14 07:18:16 +00:00
Chris Lattner
64f150fa92
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34267 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-14 06:20:04 +00:00
Chris Lattner
d2b7cec527
Generalize TargetData strings, to support more interesting forms of data.
...
Patch by Scott Michel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34266 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-14 05:52:17 +00:00
Reid Spencer
879dfe1c9c
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34262 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-14 02:52:25 +00:00
Chris Lattner
b42b411f74
sanity check for *basic* i128 arithmetic on all hosts.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34259 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 23:59:21 +00:00
Chris Lattner
c38fea8ef4
better support for i128.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34258 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 23:57:55 +00:00
Chris Lattner
4c948eb373
implement expand of truncate. This allows truncates from i128 to i64 to
...
be supported on 32-bit hosts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34257 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 23:55:16 +00:00
Chris Lattner
f839ce7d03
Fix PR1198, by adding initial i128 support. Patch by Dan Gohman.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34256 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 23:41:38 +00:00
Chris Lattner
727c235840
new testcase, by Dan Gohman
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34255 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 23:41:24 +00:00
Andrew Lenharth
921a83a809
Well this isn't as ugly and it works better. At least gcc bootstraps again
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34254 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 23:41:16 +00:00
Reid Spencer
db3faa64ee
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34253 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 22:41:58 +00:00
Chris Lattner
36e37d2944
add a note
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34249 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 21:44:43 +00:00
Reid Spencer
4060296cf8
Add missing closing parenthesis.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34248 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 20:57:57 +00:00
Chris Lattner
ae4f99d843
revert my previous switch lowering change, which miscompiles a few programs.
...
This will break a dj test until I have time to investigate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34247 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 20:09:07 +00:00
Lauro Ramos Venancio
7501605988
Add space between // and the comment.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34246 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 20:06:15 +00:00
Lauro Ramos Venancio
3630e78db9
Add ABI information to ARM subtarget.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34245 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 19:52:28 +00:00
Lauro Ramos Venancio
cf8270a994
Add a space between // and the comment.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34244 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 18:10:13 +00:00
Lauro Ramos Venancio
13a3cee131
Add comment about original function argument alignment.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34243 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 17:57:38 +00:00
Reid Spencer
bed9253387
Fix tow grammaros that Bill Wendling noticed.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34242 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 17:04:09 +00:00
Lauro Ramos Venancio
876eaf1135
According to ARM EABI, 8-bytes function arguments must be 8-bytes aligned.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34241 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 14:07:13 +00:00
Lauro Ramos Venancio
7aa47b69ca
Add "original alignment" to function arguments flags.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34240 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 13:50:08 +00:00
Reid Spencer
9964d75d83
Fix a compilation error that caused the nightly test to fail.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34239 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 09:26:04 +00:00
Reid Spencer
80483bba3d
Clean up spelling mistakes.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34238 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 09:20:14 +00:00
Reid Spencer
4e2fb7b829
Fix an HTML validation error.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34237 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 09:11:33 +00:00
Reid Spencer
bb15b1c798
Make the draft notice more prominent.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34236 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 09:09:20 +00:00
Reid Spencer
26cf066dfe
Add DeveloperPolicy.html
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34235 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 09:08:27 +00:00
Reid Spencer
8d0ac6904d
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34234 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 09:06:01 +00:00
Chris Lattner
f00042a999
Switch UnaryOperators to default to passing names up by const char* when possible.
...
This speeds up bcreading by 1.5%.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34233 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 07:54:42 +00:00
Chris Lattner
ec79b3da13
add a setName variant that takes a null-terminated string. This can be
...
used to avoid std::string allocations in common cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34232 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 07:53:34 +00:00
Chris Lattner
1893952826
Use a SmallVector to reduce heap traffic. This speeds up bcreader 10%
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34231 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 07:28:20 +00:00
Chris Lattner
8c06509f95
fix a critical bug in smallvector, where it would destroy elements that are
...
not in its range (!).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34230 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 07:25:36 +00:00
Chris Lattner
d0e44c2e05
now that we can pass ranges into CallInst ctors, eliminate vector heap traffic
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34229 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 06:30:42 +00:00
Chris Lattner
133bab0606
eliminate instruction ctors that take vectors.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34228 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 06:22:32 +00:00
Chris Lattner
680f2f016e
eliminate vector-related ctors
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34227 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 06:06:26 +00:00
Chris Lattner
10ac377f7c
eliminate use of vector-related ctors
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34226 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 06:05:43 +00:00
Chris Lattner
cf3d061099
regenerate
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34225 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 06:04:17 +00:00
Chris Lattner
858d97347e
remove use of vector-related ctors
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34224 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 06:03:48 +00:00
Chris Lattner
990b849abc
eliminate vector-related allocations
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34223 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 06:01:22 +00:00
Chris Lattner
c18470cb00
eliminate a bunch of vector-related heap traffic
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34222 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 05:58:53 +00:00
Chris Lattner
9d2fda6883
eliminate use of vector ctors
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34221 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 05:53:56 +00:00
Chris Lattner
93e985f1b1
Eliminate use of ctors that take vectors.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34219 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 02:10:56 +00:00
Chris Lattner
e433919686
stop passing vector into ctors
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34218 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 01:53:54 +00:00
Evan Cheng
0c9f92e1ff
Allow any MachineBasicBlock (not just the entry block) to have live-in physical
...
registers. Make sure liveinterval analysis is correctly creating live ranges
for them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34217 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 01:30:55 +00:00