Vikram S. Adve
|
b78161976c
|
Bug fix: sign-extension was not happening for C = -MININT since C == -C!
llvm-svn: 6332
|
2003-05-25 21:58:11 +00:00 |
|
Vikram S. Adve
|
5553ed755a
|
Add support for compiling varargs functions.
llvm-svn: 6325
|
2003-05-25 15:59:47 +00:00 |
|
Misha Brukman
|
6ffaa5b188
|
Reword to remove reference to how things worked in the past.
llvm-svn: 6323
|
2003-05-24 01:08:43 +00:00 |
|
Misha Brukman
|
b7a0d570a8
|
Implement the TargetInstrInfo's createNOPinstr() and isNOPinstr() interface.
llvm-svn: 6320
|
2003-05-24 00:09:50 +00:00 |
|
Misha Brukman
|
b385c22d80
|
Cleaned up code layout; no functional changes.
llvm-svn: 6312
|
2003-05-23 19:20:57 +00:00 |
|
Misha Brukman
|
99adbddaec
|
Fixed `volatile' typo.
llvm-svn: 6266
|
2003-05-21 19:34:28 +00:00 |
|
Misha Brukman
|
5205d6449e
|
Cleaned up code layout, spacing, etc. for readability purposes and to be more
consistent with the style of LLVM's code base (and itself! it's inconsistent in
some places.)
No functional changes were made.
llvm-svn: 6265
|
2003-05-21 18:48:06 +00:00 |
|
Chris Lattner
|
6253a2a210
|
* Fix divide by zero error with empty structs
* Empty structs should have ALIGNMENT 1, not SIZE 1.
llvm-svn: 6263
|
2003-05-21 18:08:44 +00:00 |
|
Misha Brukman
|
06de8c06e7
|
Cleaned up code layout, spacing, etc. for readability purposes and to be more
consistent with the style of LLVM's code base (and itself! it's inconsistent in
some places.)
No functional changes were made.
llvm-svn: 6262
|
2003-05-21 18:05:35 +00:00 |
|
Misha Brukman
|
581190c0a3
|
Namespacified vector' and cerr' to always use the `std::' namespace.
Eliminated `using' directives.
llvm-svn: 6261
|
2003-05-21 17:59:06 +00:00 |
|
Misha Brukman
|
80e11dcb30
|
Sparc instruction opcodes now all live under the `V9' namespace.
llvm-svn: 6249
|
2003-05-20 20:32:24 +00:00 |
|
Chris Lattner
|
f365fdec06
|
Clean up #includes
llvm-svn: 6173
|
2003-05-13 20:21:19 +00:00 |
|
Chris Lattner
|
19ca50fe2a
|
Make abort more explicit
llvm-svn: 6151
|
2003-05-12 21:16:26 +00:00 |
|
Chris Lattner
|
f1a6a1fde1
|
Remove the assertion failure of course... doh
llvm-svn: 6150
|
2003-05-12 20:39:39 +00:00 |
|
Chris Lattner
|
ed3b3d7c99
|
Implement casts from unsigned integers to floating point
llvm-svn: 6148
|
2003-05-12 20:36:13 +00:00 |
|
Chris Lattner
|
a9a5cdb2be
|
Make error messages more useful than jsut an abort
llvm-svn: 6146
|
2003-05-12 20:16:58 +00:00 |
|
Chris Lattner
|
d2bbdec4bc
|
Remove wierd printout
llvm-svn: 6145
|
2003-05-12 20:10:12 +00:00 |
|
Chris Lattner
|
56f8186e3e
|
Do not insert multiple initializations for the same value in a PHI node
llvm-svn: 6113
|
2003-05-12 14:22:21 +00:00 |
|
Chris Lattner
|
99520168c9
|
This blank line has GOT to go.
llvm-svn: 6057
|
2003-05-09 03:28:13 +00:00 |
|
Chris Lattner
|
78f5953056
|
Add support for Add, Sub, And, Or, & Xor constant exprs
llvm-svn: 6049
|
2003-05-08 20:49:25 +00:00 |
|
Chris Lattner
|
d747f762ff
|
Add support for variable argument functions!
llvm-svn: 6046
|
2003-05-08 19:44:13 +00:00 |
|
Misha Brukman
|
3e328da21d
|
Added the initial version of the TableGen description for the Sparc backend.
llvm-svn: 6021
|
2003-05-07 21:52:39 +00:00 |
|
Chris Lattner
|
59c46ee655
|
IMPLICIT_DEF was not the beautiful elegant solution I thought it was going
to be. In fact, it made stuff worse. :(
llvm-svn: 6013
|
2003-05-07 19:21:28 +00:00 |
|
Chris Lattner
|
54c4b56baf
|
Emit pseudo instructions to indicate that some registers are live on entrance
and exit of the function. This fixes bug: Jello/2003-05-06-LivenessClobber.llx
and the Fhourstones benchmark
llvm-svn: 6010
|
2003-05-06 21:32:22 +00:00 |
|
Chris Lattner
|
b6fab2a875
|
Don't have a cow with new pseudo instructions
llvm-svn: 6009
|
2003-05-06 21:31:47 +00:00 |
|
Chris Lattner
|
e4c33a0ca0
|
Add two new pseudo instructions
llvm-svn: 6008
|
2003-05-06 21:31:31 +00:00 |
|
Misha Brukman
|
bd9b827093
|
The Hyphenation-Adding Committee is now in session.
llvm-svn: 5986
|
2003-05-03 02:18:17 +00:00 |
|
Chris Lattner
|
1d25d9e048
|
Eliminate use of NonCopyable so that doxygen documentation doesn't link
the Annotation classes with the noncopyable classes for no reason
llvm-svn: 5973
|
2003-05-01 20:28:45 +00:00 |
|
Chris Lattner
|
bbe1aba425
|
Remove two fields from TargetData which are target specific.
llvm-svn: 5963
|
2003-04-26 20:11:09 +00:00 |
|
Chris Lattner
|
1039176b52
|
The promotion rules are the same for all targets, they are set by the C standard.
llvm-svn: 5962
|
2003-04-26 19:47:36 +00:00 |
|
Chris Lattner
|
cb8a4add15
|
IntegerRegSize is always 8 for sparc
llvm-svn: 5961
|
2003-04-26 19:44:35 +00:00 |
|
Chris Lattner
|
1f7fab6047
|
Fix bogus assert
llvm-svn: 5949
|
2003-04-25 21:58:54 +00:00 |
|
Chris Lattner
|
e26e308afb
|
Whoops, 32 bit targets have _4_ byte pointers, not _32_ byte pointers!
llvm-svn: 5937
|
2003-04-25 06:06:43 +00:00 |
|
Chris Lattner
|
844b1148f4
|
Fix compatibility bug: X86 aligns doubles to 4 bytes, not 8!
llvm-svn: 5935
|
2003-04-25 06:05:57 +00:00 |
|
Chris Lattner
|
38d40c0ea9
|
Fix obvious type-o
llvm-svn: 5932
|
2003-04-25 05:23:10 +00:00 |
|
Chris Lattner
|
b258ffd600
|
Allow for easy detection of when a "default" TargetData is created by the
passmanager, which is never the right thing to do.
llvm-svn: 5922
|
2003-04-25 02:50:45 +00:00 |
|
Chris Lattner
|
c06795629d
|
add a new targetdata ctor to create a target data appropriate to the module
llvm-svn: 5903
|
2003-04-24 19:09:05 +00:00 |
|
Chris Lattner
|
473df86e0b
|
Trivial cleanup
llvm-svn: 5899
|
2003-04-24 18:35:51 +00:00 |
|
Chris Lattner
|
6ae5107de6
|
Fix iterator invalidation problem with cast instructions
llvm-svn: 5876
|
2003-04-23 17:57:48 +00:00 |
|
Chris Lattner
|
c40d8cd8cd
|
Implement the constantexpr CAST instruction correctly
llvm-svn: 5875
|
2003-04-23 17:22:12 +00:00 |
|
Chris Lattner
|
ec5f9a7c4f
|
Add support for the Switch instruction by running the lowerSwitch pass first
llvm-svn: 5867
|
2003-04-23 16:24:55 +00:00 |
|
Misha Brukman
|
4147d10d28
|
It's "necessary"...
llvm-svn: 5848
|
2003-04-22 20:20:11 +00:00 |
|
Misha Brukman
|
c06beb4c03
|
It's "necessary" to spell "necessarily" correctly.
llvm-svn: 5833
|
2003-04-22 17:54:23 +00:00 |
|
Chris Lattner
|
a48a91d095
|
Add support for a simple constantexpr: cast of one ptr type to another
llvm-svn: 5829
|
2003-04-21 21:33:44 +00:00 |
|
Chris Lattner
|
fa4f750f3e
|
Add new linkage types to support a real frontend
llvm-svn: 5786
|
2003-04-16 20:28:45 +00:00 |
|
Chris Lattner
|
ea424f3aff
|
Rename -no-* to -disable-*
llvm-svn: 5642
|
2003-02-26 20:00:41 +00:00 |
|
Chris Lattner
|
b1aeaf7efb
|
Remove wierd case that can never happen
llvm-svn: 5623
|
2003-02-25 20:27:09 +00:00 |
|
Chris Lattner
|
bf414ca145
|
Don't emit unneccesary branch instructions!
llvm-svn: 5328
|
2003-01-16 18:07:23 +00:00 |
|
Chris Lattner
|
0a6ac532e1
|
Fix problem with invalidated iterator
llvm-svn: 5327
|
2003-01-16 18:07:13 +00:00 |
|
Chris Lattner
|
7455428f21
|
Implement optimization folding setcc into branch.
llvm-svn: 5324
|
2003-01-16 16:43:00 +00:00 |
|