Reid Spencer
be379ce176
Regenerate.
...
llvm-svn: 32805
2007-01-01 01:20:41 +00:00
Reid Spencer
9bd62917ea
For PR1070:
...
Remove useless bitcasts by commenting them out.
llvm-svn: 32804
2007-01-01 01:20:16 +00:00
Reid Spencer
6678d20ec9
For PR950:
...
Convert signed integer types to signless.
llvm-svn: 32790
2006-12-31 06:02:26 +00:00
Reid Spencer
1ed4f1e97d
For PR950:
...
Don't attempt to parse both the old and new grammars. It is near impossible
to get it right. Remove support for the new define keyword and don't
attempt to insert parameter attributes because there isn't enough
contextual information for it.
llvm-svn: 32784
2006-12-31 05:45:57 +00:00
Reid Spencer
0c70732d9d
Regenerate.
...
llvm-svn: 32772
2006-12-29 20:35:03 +00:00
Reid Spencer
5520923eb5
For PR950:
...
Fix several bugs and update for new assembly syntax. Changes made include:
1. Fixing rules for icmp/fcmp instructions to not require a closing paren
at the end. This was a cut-and-paste error from a previous commit.
2. Changing things like Out << " " to Out << ' '
3. Adding the "define" keyword for function definitions
4. Adding support for packed structures
llvm-svn: 32771
2006-12-29 20:33:37 +00:00
Reid Spencer
4428c3483b
For PR950:
...
This patch removes the SetCC instructions and replaces them with the ICmp
and FCmp instructions. The SetCondInst instruction has been removed and
been replaced with ICmpInst and FCmpInst.
llvm-svn: 32751
2006-12-23 06:05:41 +00:00
Reid Spencer
c1f8c25766
Ignore the LibDeps.txt.tmp file.
...
llvm-svn: 32742
2006-12-22 02:02:45 +00:00
Reid Spencer
9c4041605f
Remove a call to Type::isSigned().
...
llvm-svn: 32651
2006-12-18 07:58:01 +00:00
John Criswell
165218fb87
Remove DSA.
...
llvm-svn: 32542
2006-12-13 16:54:24 +00:00
Reid Spencer
d0bbb4e6dc
Ressurrect this needed file.
...
llvm-svn: 32537
2006-12-13 08:10:16 +00:00
Reid Spencer
2cbf14dc54
Ressurrect the Stacker "st" configuration. Someday this will all go
...
away, but until then Stacker needs its configuration.
llvm-svn: 32536
2006-12-13 08:09:48 +00:00
Reid Spencer
3ccf5596ee
Generate the correct cast opcode for constant expressions.
...
llvm-svn: 32461
2006-12-12 01:31:37 +00:00
Reid Spencer
5b4bc02c1f
Fix PR1040:
...
Don't rebuild llvm-config if none of the library dependencies changed.
llvm-svn: 32455
2006-12-12 00:43:38 +00:00
Chris Lattner
7a39524d63
make statistics and timing info print even if the JIT'd program calls exit
...
instead of returning from main.
llvm-svn: 32414
2006-12-10 19:01:52 +00:00
Reid Spencer
6957f0edcf
Regenerate.
...
llvm-svn: 32405
2006-12-09 19:41:25 +00:00
Reid Spencer
2f57ee5361
Fix test/Regression/Assembler/2006-12-09-Cast-To-Bool.ll
...
Do not upgrade casts of bool to bool.
llvm-svn: 32404
2006-12-09 19:40:41 +00:00
Reid Spencer
0c2c4241c5
Regenerate.
...
llvm-svn: 32400
2006-12-09 16:57:22 +00:00
Reid Spencer
cc5dff3e5d
When upgrading cast to bool to a setne, generate icmp ne instead.
...
llvm-svn: 32399
2006-12-09 16:56:55 +00:00
Reid Spencer
c495569ff4
Regenerate.
...
llvm-svn: 32303
2006-12-07 04:23:03 +00:00
Reid Spencer
a11c3316a3
Create an option to turn off generation of fcmp instructions while still
...
allowing integer setxx instructions to be converted to icmp.
llvm-svn: 32302
2006-12-07 04:22:23 +00:00
Bill Wendling
a3246c4272
Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are
...
now cerr, cout, and NullStream resp.
llvm-svn: 32298
2006-12-07 01:30:32 +00:00
Jim Laskey
4a11d12ea4
No need to update generated files.
...
llvm-svn: 32275
2006-12-06 11:03:10 +00:00
Jim Laskey
aa484b9305
Fix build for older versios of bison.
...
llvm-svn: 32274
2006-12-06 10:57:33 +00:00
Reid Spencer
6c5d0a9e1e
Regenerate.
...
llvm-svn: 32269
2006-12-06 06:30:15 +00:00
Reid Spencer
1190eda624
Don't turn on SETCC upgrade yet!
...
llvm-svn: 32268
2006-12-06 06:29:36 +00:00
Reid Spencer
57550d241d
Regenerate.
...
llvm-svn: 32267
2006-12-06 06:25:46 +00:00
Reid Spencer
649b2046eb
Fix upgrade of setcc with bool operands.
...
llvm-svn: 32266
2006-12-06 06:25:22 +00:00
Chris Lattner
d23555d081
reword message
...
llvm-svn: 32257
2006-12-06 05:39:18 +00:00
Chris Lattner
41c5ddb8cb
make all llvm tools call llvm_shutdown when they exit, static'ify some stuff.
...
With this change, I can now move -stats to print when llvm_shutdown is called.
llvm-svn: 32250
2006-12-06 01:18:01 +00:00
Chris Lattner
bd4c022c56
This needs the callgraph data structure to stick around as long as the
...
printer does.
llvm-svn: 32236
2006-12-05 19:43:42 +00:00
Reid Spencer
4cd933d737
Regenerate.
...
llvm-svn: 32235
2006-12-05 19:21:25 +00:00
Reid Spencer
52be984fa1
For PR645:
...
Keep track of global constant and variable definitions for eventual use
in resolving conflicts between global and local symbol usage.
llvm-svn: 32234
2006-12-05 19:18:29 +00:00
Reid Spencer
5f8360b8a4
Regenerate.
...
llvm-svn: 32178
2006-12-04 15:41:36 +00:00
Reid Spencer
be32949823
Match the llvmAsmParser's handling of ICmp and FCmp instructions.
...
llvm-svn: 32153
2006-12-03 07:10:26 +00:00
Reid Spencer
6fa332c118
Regenerate.
...
llvm-svn: 32142
2006-12-03 03:16:48 +00:00
Reid Spencer
460a5c1421
Add a needed #include.
...
llvm-svn: 32141
2006-12-03 03:15:23 +00:00
Reid Spencer
0b2fca760d
Regenerate.
...
llvm-svn: 32140
2006-12-02 22:14:11 +00:00
Reid Spencer
97cae19c07
Implement upgrade of setcc instruction to icmp/fcmp, but don't enable it
...
yet.
llvm-svn: 32139
2006-12-02 22:09:27 +00:00
Reid Spencer
f57b9b8461
Regenerate.
...
llvm-svn: 32128
2006-12-02 20:21:22 +00:00
Reid Spencer
e71c22e44a
Support several new upgrades:
...
div -> fdiv/udiv/sdiv
rem -> frem/urem/srem
except -> unwind
uninitialized -> external
as well as tracking the element type of pointers, packed, and array.
llvm-svn: 32127
2006-12-02 20:19:56 +00:00
Reid Spencer
87934cca95
Regenerate.
...
llvm-svn: 32122
2006-12-02 16:19:52 +00:00
Reid Spencer
e81f44521c
Implement the GEP upgrade for non-constant unsigned indices
...
llvm-svn: 32121
2006-12-02 16:19:28 +00:00
Reid Spencer
b80f070688
Keep lists of values so they can be examined.
...
llvm-svn: 32120
2006-12-02 15:16:01 +00:00
Reid Spencer
84066cbeea
Build llvm-update now.
...
llvm-svn: 32116
2006-12-02 04:46:36 +00:00
Reid Spencer
9120a12f23
Add support for global types and type resolution. Fix several minor
...
formatting and spacing bugs. This is sufficient for llvm-upgrade to
correctly upgrade all of llvm/test.
llvm-svn: 32114
2006-12-02 04:11:07 +00:00
Reid Spencer
f6209db146
Handle upgrade of fp -> ptr cast with fp -> int -> ptr
...
llvm-svn: 32109
2006-12-01 23:40:53 +00:00
Reid Spencer
ea755fc9d2
Don't convert {} into []!
...
llvm-svn: 32106
2006-12-01 22:42:01 +00:00
Reid Spencer
404afdfaf5
Allow the new cast instructions.
...
llvm-svn: 32104
2006-12-01 22:34:43 +00:00
Reid Spencer
1fda3ddad9
Upgrade shr to ashr and lshr
...
llvm-svn: 32103
2006-12-01 22:26:37 +00:00