Misha Brukman
523b30cb59
* Fix order of #includes to follow style guide
...
* It's no longer a BasicBlock pass: update comment on run() method
* Fix placement of braces to be consistent
* Delete extraneous whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9361 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 03:27:45 +00:00
Misha Brukman
2e385b4622
Converted tabs to spaces.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9360 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 03:10:26 +00:00
Chris Lattner
5858e1e3f3
Fix bug: FunctionResolve/2003-10-21-GlobalTypeDifference.ll
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9359 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 23:17:56 +00:00
Chris Lattner
4b611631bc
New testcase: globals should be linked if they are the wrong type. We should
...
just moan loudly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9358 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 23:17:45 +00:00
Chris Lattner
aeb18ce9c0
Fix bug: Linker/2003-10-21-ConflictingTypesTolerance.ll
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9357 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 22:46:38 +00:00
Chris Lattner
3d6a08d131
New testcase. The linker should not consider it an error if two types
...
disagree. It should grumble, then go ahead and do it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9356 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 22:46:22 +00:00
Brian Gaeke
46079d2274
Add C/C++ build instructions, first draft.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9355 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 21:58:38 +00:00
Chris Lattner
f85770c9a6
Fix message to make more sense and confuse Chris less
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9354 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 21:52:20 +00:00
Chris Lattner
db15798e2e
New testcase, fixed in the C++ frontend
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9353 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 21:33:18 +00:00
John Criswell
e04c2630f2
Added the name of the public CVS repository.
...
Removed the use of CVSROOTDIR as it is no longer used.
Fixed some word wrapping.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9352 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 21:24:38 +00:00
Brian Gaeke
f1fce0881f
Fix off-by-one error in processing of libraries named on command line.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9351 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 21:07:12 +00:00
John Criswell
2b89a6a931
Adding information on what testing support is provided by the LLVM build
...
system. Currently, it is not much.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9348 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 19:35:06 +00:00
Misha Brukman
2a211c4cd2
Add dummy content for libgdbm.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9344 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 18:26:07 +00:00
Misha Brukman
724d084da0
Fix libm's name to be `libm'
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9343 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 18:25:37 +00:00
Misha Brukman
60d3ba8c5e
Fix library name and fix line to fit within 80 columns.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9342 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 18:22:34 +00:00
Brian Gaeke
c536545a43
Add tools-only target, for bootstrapping the C/C++ front end.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9341 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 18:08:10 +00:00
Chris Lattner
48c9cb6fd7
This was not a lower-switch bug, it was a preselection bug
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9340 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 18:02:17 +00:00
Chris Lattner
771ed15f65
When linking the runtime libraries, do not link -lc and -lgcc into the libraries
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9339 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 18:00:37 +00:00
Chris Lattner
68172da055
Fix strcpy implementation and trie
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9338 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 17:53:16 +00:00
Brian Gaeke
b5ee509be2
Fix the first FIXME in this file: automatically pick a "good"
...
interpreter by default, by picking the first one that works
from a hard-coded list.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9337 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 17:41:35 +00:00
Chris Lattner
2765c41c98
Make sure to add a type for va_next operands, which may not other wise
...
occur in the module
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9336 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 17:40:54 +00:00
Chris Lattner
389dbfbd8b
Fix problem which effected linking apache
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9335 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 17:39:59 +00:00
Chris Lattner
08d702b61d
Hrm, unbreak stuph :(
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9334 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 17:22:23 +00:00
Chris Lattner
ff3d5d9702
Fix preselection/lowerswitches bug
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9333 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 16:29:23 +00:00
Chris Lattner
4c62e79c59
Pull the PHI special case into it's own visit* method
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9332 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 16:09:23 +00:00
Chris Lattner
d48a1d797f
The lastOp operand is never used
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9331 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 16:06:07 +00:00
Chris Lattner
91480ffbe2
Add more space!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9330 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 15:47:31 +00:00
Chris Lattner
2c1bbd8bea
Hrm, for some reason, my fingers like typing va_begin. Weird
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9329 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 15:43:55 +00:00
Chris Lattner
84a6f39a76
Syntax highlight the new operators
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9328 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 15:37:09 +00:00
Chris Lattner
25e6e9949e
Update test to new style
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9327 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 15:36:21 +00:00
John Criswell
7939597b62
Removed LLVM copyright from sample Makefile.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9326 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 15:33:12 +00:00
John Criswell
c2bc2f144f
Removed LLVM copyright notice from sample Makefile.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9325 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 15:31:36 +00:00
John Criswell
aefb666d07
Added LLVM copyright notice.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9324 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 15:29:18 +00:00
John Criswell
856ba76200
Added LLVM copyright header.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9321 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 15:17:13 +00:00
Chris Lattner
dac9131e28
Preselection is _not_ a basicblock pass, because it adds global variables to
...
the module. This change converts it from being a basic block pass to being
a simple pass. This allows elimination of the annotation and simplification
of the logic for moving constants into global variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9320 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 14:49:19 +00:00
John Criswell
d8846c19bd
Added LLVM copyright notice.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9319 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 14:33:46 +00:00
Vikram S. Adve
d248652b8b
When opcodes like ADD were split into reg. and immed. versions (ADDi and ADDr),
...
this code wasn't fixed correctly so it missed copy operations that used ADDi.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9318 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 12:29:45 +00:00
Vikram S. Adve
472c3046fe
Why does g++ not even generate a warning when you miss a break statement?
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9317 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 12:28:27 +00:00
Vikram S. Adve
40dee51544
Implement the new varargs instructions and intrinsics.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9316 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 11:25:09 +00:00
Misha Brukman
648cbd9804
Only fails on the Sparc, only when run via the JIT.
...
And yet, it's a failure in the ``LowerSwitch'' pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9315 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 04:13:37 +00:00
John Criswell
e2fab734ad
Added LLVM copyright to Makefiles.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9314 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-20 22:29:16 +00:00
John Criswell
e26ba9fb3f
Added LLVM copyrights to Makefiles.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9313 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-20 22:28:01 +00:00
John Criswell
e488e9360b
Added LLVM copyright notice to Makefiles.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9312 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-20 22:26:57 +00:00
Chris Lattner
5f7e61d226
Add a new map
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9311 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-20 20:55:13 +00:00
Chris Lattner
e9d3c6b919
Convert this code from using annotations to using a local map
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9310 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-20 20:52:23 +00:00
Brian Gaeke
5c288becab
Goodbye, AddRegNumToValues
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9309 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-20 20:44:03 +00:00
John Criswell
1ee1e64293
Removed extraneous comment line.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9308 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-20 20:40:30 +00:00
Chris Lattner
0beae0cdac
Remove using declaration
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9307 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-20 20:38:17 +00:00
Chris Lattner
60f1445cf2
This #include is no longer necessary
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9306 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-20 20:29:44 +00:00
John Criswell
01d45827a1
Added LLVM copyright header.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9305 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-20 20:20:30 +00:00