Reid Spencer
05cc0994cc
Add feedback from Vikram Adve.
...
llvm-svn: 34288
2007-02-14 22:55:40 +00:00
Reid Spencer
1e7306d43d
Synchronize TOC headings with actual headings.
...
llvm-svn: 34285
2007-02-14 17:24:04 +00:00
Reid Spencer
e63f6bc4dc
Fix the table of contents to match the document body.
...
llvm-svn: 34284
2007-02-14 17:20:59 +00:00
Reid Spencer
535fb50839
Fix a grammaro.
...
llvm-svn: 34283
2007-02-14 16:21:54 +00:00
Reid Spencer
3361037c0d
A few changes:
...
1. Fix typos
2. Move Terminology to the end
3. Simplify language in a few spots.
4. Add a policy that larger increments require a larger testing effort.
llvm-svn: 34282
2007-02-14 16:21:10 +00:00
Reid Spencer
de63616820
Drop a policy.
...
llvm-svn: 34281
2007-02-14 08:23:08 +00:00
Reid Spencer
4deff34514
Some more minor tweaks.
...
llvm-svn: 34280
2007-02-14 08:19:16 +00:00
Reid Spencer
74d6bb6eed
Fix word usage.
...
llvm-svn: 34279
2007-02-14 08:13:38 +00:00
Reid Spencer
6041efc206
Add a missing .
...
llvm-svn: 34278
2007-02-14 08:09:40 +00:00
Reid Spencer
c4a1f8b9cf
Incorporate Chris Lattner's second round of feedback.
...
llvm-svn: 34277
2007-02-14 07:57:48 +00:00
Chris Lattner
61c20afe80
fix validation bug
...
llvm-svn: 34276
2007-02-14 07:42:59 +00:00
Chris Lattner
3009bcc3bc
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
d521f3c90e
remove an obsolete question
...
llvm-svn: 34274
2007-02-14 07:40:16 +00:00
Chris Lattner
a673023852
remove obsolete path
...
llvm-svn: 34273
2007-02-14 07:39:35 +00:00
Chris Lattner
ab1812f806
fix a warning
...
llvm-svn: 34272
2007-02-14 07:34:56 +00:00
Chris Lattner
cba64669b0
remove obsolete warning
...
llvm-svn: 34271
2007-02-14 07:34:22 +00:00
Chris Lattner
24b7135482
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
56e5655bc8
Incorporate Chris' first round of comments.
...
llvm-svn: 34269
2007-02-14 07:22:19 +00:00
Chris Lattner
1cf84d2745
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
4da5e17cfc
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
945e437c65
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
0c5db23119
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
20abdffa00
sanity check for *basic* i128 arithmetic on all hosts.
...
llvm-svn: 34259
2007-02-13 23:59:21 +00:00
Chris Lattner
084c4ca591
better support for i128.
...
llvm-svn: 34258
2007-02-13 23:57:55 +00:00
Chris Lattner
59b27fa371
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
d08d31f68a
Fix PR1198, by adding initial i128 support. Patch by Dan Gohman.
...
llvm-svn: 34256
2007-02-13 23:41:38 +00:00
Chris Lattner
9b600ab5a6
new testcase, by Dan Gohman
...
llvm-svn: 34255
2007-02-13 23:41:24 +00:00
Andrew Lenharth
6719d3d0a2
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
5153525402
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
09a32e42bd
add a note
...
llvm-svn: 34249
2007-02-13 21:44:43 +00:00
Reid Spencer
102f05abcb
Add missing closing parenthesis.
...
llvm-svn: 34248
2007-02-13 20:57:57 +00:00
Chris Lattner
2fbff4d2dc
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
50c6a8c3a1
Add space between // and the comment.
...
llvm-svn: 34246
2007-02-13 20:06:15 +00:00
Lauro Ramos Venancio
048e16ff8f
Add ABI information to ARM subtarget.
...
llvm-svn: 34245
2007-02-13 19:52:28 +00:00
Lauro Ramos Venancio
abde3cc16c
Add a space between // and the comment.
...
llvm-svn: 34244
2007-02-13 18:10:13 +00:00
Lauro Ramos Venancio
de9b8d05d8
Add comment about original function argument alignment.
...
llvm-svn: 34243
2007-02-13 17:57:38 +00:00
Reid Spencer
6e0c66d591
Fix tow grammaros that Bill Wendling noticed.
...
llvm-svn: 34242
2007-02-13 17:04:09 +00:00
Lauro Ramos Venancio
603f201cba
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
9956dcffbe
Add "original alignment" to function arguments flags.
...
llvm-svn: 34240
2007-02-13 13:50:08 +00:00
Reid Spencer
16c6b85c78
Fix a compilation error that caused the nightly test to fail.
...
llvm-svn: 34239
2007-02-13 09:26:04 +00:00
Reid Spencer
767abe4371
Clean up spelling mistakes.
...
llvm-svn: 34238
2007-02-13 09:20:14 +00:00
Reid Spencer
dd2b902969
Fix an HTML validation error.
...
llvm-svn: 34237
2007-02-13 09:11:33 +00:00
Reid Spencer
b2c3d78bd9
Make the draft notice more prominent.
...
llvm-svn: 34236
2007-02-13 09:09:20 +00:00
Reid Spencer
d35e364e83
Add DeveloperPolicy.html
...
llvm-svn: 34235
2007-02-13 09:08:27 +00:00
Reid Spencer
a0f02a3648
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
0f04816cad
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
cb9a626c67
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
e786eaa3b0
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
10eb59abd8
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
abe7342dc2
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
e563e480d9
eliminate instruction ctors that take vectors.
...
llvm-svn: 34228
2007-02-13 06:22:32 +00:00
Chris Lattner
e3cf188c1e
eliminate vector-related ctors
...
llvm-svn: 34227
2007-02-13 06:06:26 +00:00
Chris Lattner
55fa988d25
eliminate use of vector-related ctors
...
llvm-svn: 34226
2007-02-13 06:05:43 +00:00
Chris Lattner
cb4b07b0b3
regenerate
...
llvm-svn: 34225
2007-02-13 06:04:17 +00:00
Chris Lattner
d37c5ee316
remove use of vector-related ctors
...
llvm-svn: 34224
2007-02-13 06:03:48 +00:00
Chris Lattner
6ea07f178c
eliminate vector-related allocations
...
llvm-svn: 34223
2007-02-13 06:01:22 +00:00
Chris Lattner
ade1c2bb51
eliminate a bunch of vector-related heap traffic
...
llvm-svn: 34222
2007-02-13 05:58:53 +00:00
Chris Lattner
d80282427f
eliminate use of vector ctors
...
llvm-svn: 34221
2007-02-13 05:53:56 +00:00
Chris Lattner
a06a8fd2d7
Eliminate use of ctors that take vectors.
...
llvm-svn: 34219
2007-02-13 02:10:56 +00:00
Chris Lattner
4d8861efaa
stop passing vector into ctors
...
llvm-svn: 34218
2007-02-13 01:53:54 +00:00
Evan Cheng
b612316f20
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.
llvm-svn: 34217
2007-02-13 01:30:55 +00:00
Chris Lattner
9056bae3be
Fix switch lowering to order cases in zext order, which is how we emit the
...
comparisons. This fixes an infinite loop on CodeGen/Generic/switch-lower.ll
and PR1197
llvm-svn: 34216
2007-02-13 01:05:56 +00:00
Chris Lattner
72df49f506
new testcase for PR1197
...
llvm-svn: 34215
2007-02-13 01:05:10 +00:00
Chris Lattner
b5fcc28075
Add invokeinst and callinst ctors that don't take vectors.
...
llvm-svn: 34214
2007-02-13 01:04:01 +00:00
Chris Lattner
054ba2c002
remove some dead methods.
...
llvm-svn: 34213
2007-02-13 00:58:44 +00:00
Chris Lattner
f79508fb59
regenerate
...
llvm-svn: 34212
2007-02-13 00:58:01 +00:00
Chris Lattner
04a2d765a1
eliminate use of methods that take vectors as args
...
llvm-svn: 34211
2007-02-13 00:57:40 +00:00
Andrew Lenharth
a224f7ba77
I love non-deturminism. Returning objects with references to stack objects is a bad idea (TM).
...
llvm-svn: 34210
2007-02-13 00:37:50 +00:00
Chris Lattner
9788ec53af
stop using me thods that take a vector
...
llvm-svn: 34206
2007-02-12 22:58:38 +00:00
Chris Lattner
a731513406
stop using methods that take vectors.
...
llvm-svn: 34205
2007-02-12 22:56:41 +00:00
Chris Lattner
44e9472fc6
more notes
...
llvm-svn: 34204
2007-02-12 21:20:26 +00:00
Chris Lattner
b5c89c8d2d
add a note
...
llvm-svn: 34202
2007-02-12 20:26:34 +00:00
Zhou Sheng
d707d63317
1. Make APInt::shl work correctly and more efficiently.
...
2. Add functions to support the numberical conversion between APInt and
double/float.
llvm-svn: 34201
2007-02-12 20:02:55 +00:00
Jim Laskey
2b13fadc82
Wrong value type.
...
llvm-svn: 34199
2007-02-12 19:05:51 +00:00
Chris Lattner
8d160d68b8
avoid creating a temporary string when reading the symbol table for a
...
module. This speeds up the bcreader 11%.
llvm-svn: 34198
2007-02-12 18:53:43 +00:00
Chris Lattner
1a5de584dc
Add new setName accessor which doesn't require creating a string.
...
llvm-svn: 34197
2007-02-12 18:52:59 +00:00
Lauro Ramos Venancio
15f463c291
Fix build error on ARM.
...
Since CompilerDriver.cpp revision 1.44, llvmc must be linked against LLVMCore.a (llvm::Module::~Module) and LLVMBCReader.a
(llvm::getBytecodeModuleProvider).
llvm-svn: 34196
2007-02-12 18:31:46 +00:00
Chris Lattner
32ab643df7
Switch ValueSymbolTable to use StringMap<Value*> instead of std::map<std::string, Value*>
...
as its main datastructure. There are many improvements yet to be made, but
this speeds up opt --std-compile-opts on 447.dealII by 7.3%.
llvm-svn: 34193
2007-02-12 05:18:08 +00:00
Reid Spencer
e976307ba9
Remove references to the now deprecated gccas and gccld.
...
llvm-svn: 34192
2007-02-12 05:03:33 +00:00
Reid Spencer
7e08d13028
Update for llvm-gcc v4.0 usage.
...
llvm-svn: 34191
2007-02-12 05:02:56 +00:00
Chris Lattner
eed47cc598
add #include
...
llvm-svn: 34190
2007-02-12 05:00:35 +00:00
Chris Lattner
081cb83407
add new ShouldRehash method to factor out common code. Fix the dtor to not
...
delete tombstones.
llvm-svn: 34189
2007-02-11 21:46:36 +00:00
Chris Lattner
ac26f3853a
regenerate
...
llvm-svn: 34188
2007-02-11 21:40:10 +00:00
Chris Lattner
988278c3c3
add #include
...
llvm-svn: 34187
2007-02-11 21:39:35 +00:00
Chris Lattner
6539a21e6c
do not allow hash table to be filled with tombstones.
...
llvm-svn: 34186
2007-02-11 21:07:36 +00:00
Chris Lattner
77baa56a70
Add support for removing elements out of StringMap.
...
llvm-svn: 34185
2007-02-11 20:58:00 +00:00
Reid Spencer
6ef8c5844d
For PR1196:
...
Prevent infinite loops and memory bombs by setting a ulimit on time and
space for running the dejagnu tests.
llvm-svn: 34184
2007-02-11 20:18:32 +00:00
Chris Lattner
db08c1bc83
Replace the ugly FindValue method with STL-like find methods.
...
llvm-svn: 34183
2007-02-11 19:49:41 +00:00
Chris Lattner
569c8acfe3
fix uninitialized variable
...
llvm-svn: 34182
2007-02-11 19:12:18 +00:00
Chris Lattner
9521fec8cf
remove support for stringmap visitors now that iterators exist.
...
llvm-svn: 34180
2007-02-11 08:22:15 +00:00
Chris Lattner
e15605ccbf
add support for iterators.
...
llvm-svn: 34179
2007-02-11 08:20:35 +00:00
Chris Lattner
aac10ff6bf
add iterator support, plus support for size() and empty().
...
llvm-svn: 34178
2007-02-11 08:12:13 +00:00
Chris Lattner
8dd4cae4f8
simplify code by using Value::takeName
...
llvm-svn: 34177
2007-02-11 01:37:51 +00:00
Chris Lattner
6e0123b17f
Simplify code by using value::takename
...
llvm-svn: 34176
2007-02-11 01:23:03 +00:00
Chris Lattner
8d4c36bb40
simplify name juggling through the use of Value::takeName.
...
llvm-svn: 34175
2007-02-11 01:08:35 +00:00
Chris Lattner
cba18e3a01
add an optimization for the case where the src has no name
...
llvm-svn: 34174
2007-02-11 01:04:09 +00:00
Nick Lewycky
63f110880b
Fix comments to match names of functions.
...
llvm-svn: 34173
2007-02-11 00:58:49 +00:00
Chris Lattner
2a8d2e0e52
simplify this code by using value::takename
...
llvm-svn: 34172
2007-02-11 00:39:38 +00:00
Chris Lattner
b625082a42
add a helper method: Value::takeName
...
llvm-svn: 34171
2007-02-11 00:37:27 +00:00
Chris Lattner
a48a96ef5f
Split StringMapEntry construction out of StringMap, into StringMapEntry.
...
llvm-svn: 34170
2007-02-11 00:10:26 +00:00