Reid Spencer
c4dacf2455
Take a baby step towards getting rid of inferred casts. Provide methods on
...
CastInst and ConstantExpr that allow the signedness to be explicitly passed
in and reliance on signedness removed from getCastOpcode. These are
temporary measures useful during the conversion of inferred casts.
llvm-svn: 32164
2006-12-04 02:43:42 +00:00
Reid Spencer
3c3fed62bf
Remove line not meant to be committed.
...
llvm-svn: 32163
2006-12-03 21:17:12 +00:00
Reid Spencer
9a6fc825b4
Handle upgrade of llvm-gcc3 assembly files.
...
llvm-svn: 32161
2006-12-03 21:01:45 +00:00
Reid Spencer
3e6b1ce614
Support ICmp/FCmp constant expression reading and writing.
...
llvm-svn: 32160
2006-12-03 17:17:02 +00:00
Reid Spencer
c031269ee3
Update for signless GEP semantics.
...
llvm-svn: 32159
2006-12-03 16:53:48 +00:00
Reid Spencer
fb6ce95002
Use weak_import on linux, weak everywhere else. Makes test pass on Linux.
...
Checking for __APPLE_CC__ is useless as this just checks to see if the
compiler is llvm-gcc, which we know it is.
llvm-svn: 32158
2006-12-03 16:40:08 +00:00
Reid Spencer
8a303a7c59
Remove dead code.
...
llvm-svn: 32157
2006-12-03 16:21:33 +00:00
Reid Spencer
65f19a0eca
Regenerate.
...
llvm-svn: 32156
2006-12-03 16:20:14 +00:00
Reid Spencer
5ef0dbb5b4
Remove useless #include.
...
llvm-svn: 32155
2006-12-03 16:19:43 +00:00
Reid Spencer
0f1725e68c
These tests need llvm-upgrade. This fixes last night's nightly test fallout.
...
llvm-svn: 32154
2006-12-03 16:17:19 +00:00
Reid Spencer
723e07e9d8
Match the llvmAsmParser's handling of ICmp and FCmp instructions.
...
llvm-svn: 32153
2006-12-03 07:10:26 +00:00
Reid Spencer
1960ef32ac
Regenerate.
...
llvm-svn: 32152
2006-12-03 06:59:29 +00:00
Reid Spencer
cfc7f5dc82
Shorten the FCmp and ICmp mnemonics to 3 letters. Make the parser
...
disambiguate them.
llvm-svn: 32151
2006-12-03 06:58:07 +00:00
Reid Spencer
afafde7b11
Shorten the FCmp predicate mnemonics.
...
llvm-svn: 32150
2006-12-03 06:35:48 +00:00
Reid Spencer
22504bd638
Implement reading and writing of the ICmp and FCmp instructions.
...
llvm-svn: 32149
2006-12-03 06:28:54 +00:00
Reid Spencer
45e5239008
Allow the ICmp and FCmp instructions to be written by the AsmWriter
...
llvm-svn: 32148
2006-12-03 06:27:29 +00:00
Reid Spencer
10fbf0e02f
Implement creation of ICmp and FCmp constant expressions.
...
llvm-svn: 32147
2006-12-03 05:48:19 +00:00
Reid Spencer
e953edff7a
Remove backwards compatibility goop. This is now handled by llvm-upgrade.
...
llvm-svn: 32146
2006-12-03 05:47:10 +00:00
Reid Spencer
e2c32da075
Regenerate.
...
llvm-svn: 32145
2006-12-03 05:46:11 +00:00
Reid Spencer
812724efa4
Remove backwards compatibility goop. Now implemented in llvm-upgrade.
...
llvm-svn: 32144
2006-12-03 05:45:44 +00:00
Reid Spencer
6ad23bdf9d
Upgrade to version 7 bytecode format.
...
llvm-svn: 32143
2006-12-03 04:40:09 +00:00
Reid Spencer
6521b7a1c9
Regenerate.
...
llvm-svn: 32142
2006-12-03 03:16:48 +00:00
Reid Spencer
bc17466558
Add a needed #include.
...
llvm-svn: 32141
2006-12-03 03:15:23 +00:00
Reid Spencer
690d437920
Regenerate.
...
llvm-svn: 32140
2006-12-02 22:14:11 +00:00
Reid Spencer
9a8b3173cc
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
39bfeeeceb
Make sure this file gets upgraded with llvm-upgrade
...
llvm-svn: 32138
2006-12-02 20:42:32 +00:00
Reid Spencer
e812408695
Upgrade intrinsic function calls manually.
...
llvm-svn: 32137
2006-12-02 20:41:53 +00:00
Reid Spencer
6faf0cbf13
These files need llvm-upgrade.
...
llvm-svn: 32136
2006-12-02 20:40:30 +00:00
Reid Spencer
4ee2f08386
Rearrange code so that llvm-upgrade doesn't break the optimization this
...
test is trying to verify.
llvm-svn: 32135
2006-12-02 20:39:25 +00:00
Reid Spencer
19738b0b5a
Upgrade intrinsic function calls
...
llvm-svn: 32134
2006-12-02 20:38:37 +00:00
Reid Spencer
ed3471a8cc
Run llvm-upgrade on this test and/or upgrade intrinsic function calls.
...
llvm-svn: 32133
2006-12-02 20:38:10 +00:00
Reid Spencer
fc0618e2db
Remove tests for checking bytecode upgrade. Bytecode upgrade is being
...
replaced in 2.0 with assembly upgrade via the llvm-upgrade tool.
llvm-svn: 32132
2006-12-02 20:35:50 +00:00
Reid Spencer
c58764b57b
Upgrade old intrinsic function calls manually.
...
llvm-svn: 32131
2006-12-02 20:34:57 +00:00
Reid Spencer
107b4b79c4
Use llvm-upgrade these tests as they all use old assembly.
...
llvm-svn: 32130
2006-12-02 20:34:08 +00:00
Reid Spencer
7d4eb03ceb
Remove old intrinsic declarations and usage.
...
llvm-svn: 32129
2006-12-02 20:30:20 +00:00
Reid Spencer
1290f03fa3
Regenerate.
...
llvm-svn: 32128
2006-12-02 20:21:22 +00:00
Reid Spencer
2017e84f9a
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
9d91281573
Remove a redundant RUN: line.
...
llvm-svn: 32126
2006-12-02 17:49:38 +00:00
Reid Spencer
797cb85015
Add llvm-upgrade documentation.
...
llvm-svn: 32125
2006-12-02 16:36:48 +00:00
Reid Spencer
963bdf3885
Document the llvm-upgrade tool.
...
llvm-svn: 32124
2006-12-02 16:35:42 +00:00
Reid Spencer
8100d27982
Prevent a GEP from getting upgraded to avoid resulting test failure.
...
llvm-svn: 32123
2006-12-02 16:25:20 +00:00
Reid Spencer
7f327637b1
Regenerate.
...
llvm-svn: 32122
2006-12-02 16:19:52 +00:00
Reid Spencer
3a81da78a1
Implement the GEP upgrade for non-constant unsigned indices
...
llvm-svn: 32121
2006-12-02 16:19:28 +00:00
Reid Spencer
74fb4359a9
Keep lists of values so they can be examined.
...
llvm-svn: 32120
2006-12-02 15:16:01 +00:00
Reid Spencer
8b0cb8cf03
Update this test to use llvm-update.
...
llvm-svn: 32117
2006-12-02 05:02:46 +00:00
Reid Spencer
f7e9f43e21
Build llvm-update now.
...
llvm-svn: 32116
2006-12-02 04:46:36 +00:00
Reid Spencer
d0e30dc5be
Use the llvm-upgrade program to upgrade llvm assembly.
...
llvm-svn: 32115
2006-12-02 04:23:10 +00:00
Reid Spencer
bc7daea442
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
Jeff Cohen
cc08c83186
Unbreak VC++ build.
...
llvm-svn: 32113
2006-12-02 02:22:01 +00:00
Chris Lattner
7a002fec1f
disable transformations that are invalid for fp vectors. This fixes
...
Transforms/InstCombine/2006-12-01-BadFPVectorXform.ll
llvm-svn: 32112
2006-12-02 00:13:08 +00:00