Chris Lattner [Wed, 6 Dec 2006 06:15:43 +0000 (06:15 +0000)]
The hasSlot methods are gone.
Remove the 'PrintName' argument to WriteAsOperand, as it is always true.
Only call getOrCreateSlot on things that are valid.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32263
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 6 Dec 2006 06:13:25 +0000 (06:13 +0000)]
These asm printers shouldn't use assembly/writer.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32262
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 6 Dec 2006 05:55:44 +0000 (05:55 +0000)]
remove unused api
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32261
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 6 Dec 2006 05:55:41 +0000 (05:55 +0000)]
remove unused api, simplify some code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32260
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 6 Dec 2006 05:50:41 +0000 (05:50 +0000)]
remove more code that was only used by the bc writer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32259
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 6 Dec 2006 05:42:32 +0000 (05:42 +0000)]
remove dead code left over from when this functionality was shared with the
bcwriter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32258
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 6 Dec 2006 05:39:18 +0000 (05:39 +0000)]
reword message
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32257
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 6 Dec 2006 05:27:40 +0000 (05:27 +0000)]
rename createSlot -> getOrCreateSlot.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32256
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 6 Dec 2006 05:12:21 +0000 (05:12 +0000)]
clean up some sloppy and inconsistent spacing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32255
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 6 Dec 2006 04:41:52 +0000 (04:41 +0000)]
wrap long lines
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32254
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Wed, 6 Dec 2006 04:27:07 +0000 (04:27 +0000)]
Fix a CmpInst writing bug by removing merge cruft that I *know* I've removed
before. Also, make sure we write the predicate value for Cmp instructions
using instruction format 0.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32253
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 6 Dec 2006 01:50:04 +0000 (01:50 +0000)]
counter should be unsigned.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32252
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 6 Dec 2006 01:48:55 +0000 (01:48 +0000)]
eliminate fp statistic
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32251
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 6 Dec 2006 01:18:01 +0000 (01:18 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32250
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 6 Dec 2006 01:01:14 +0000 (01:01 +0000)]
add a helper to call llvm_shutdown()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32249
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 6 Dec 2006 00:46:14 +0000 (00:46 +0000)]
this is a subset of Codegen/X86/bitcast.ll, remove it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32248
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Wed, 6 Dec 2006 00:25:09 +0000 (00:25 +0000)]
Fix constant folding to deal with external weak global values.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32247
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 5 Dec 2006 23:50:48 +0000 (23:50 +0000)]
Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32246
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 5 Dec 2006 23:46:41 +0000 (23:46 +0000)]
Remove dead var NewVarArgs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32245
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 5 Dec 2006 23:43:59 +0000 (23:43 +0000)]
Fix Transforms/InstCombine/2006-12-05-fp-to-int-ext.ll, fixing an out-of-
stack-space issue in the ppc bootstrap.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32244
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 5 Dec 2006 23:43:20 +0000 (23:43 +0000)]
Instcombine shouldn't fold these casts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32243
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 5 Dec 2006 23:29:42 +0000 (23:29 +0000)]
Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32242
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 5 Dec 2006 23:28:06 +0000 (23:28 +0000)]
Dump the old va_arg and va_next upgrade support. No need to keep track of
the current basic block any more either.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32241
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 5 Dec 2006 22:39:58 +0000 (22:39 +0000)]
Finally get the casting right in this file. Also, remove some unnecessary
casting because sdiv doesn't require operand signs to match any more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32240
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 5 Dec 2006 22:03:40 +0000 (22:03 +0000)]
Revert an unintended change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32239
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 5 Dec 2006 19:50:18 +0000 (19:50 +0000)]
- Switch X86-64 JIT to large code size model.
- Re-enable some codegen niceties for X86-64 static relocation model codegen.
- Clean ups, etc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32238
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 5 Dec 2006 19:46:12 +0000 (19:46 +0000)]
straighten out various memory ownership issues in the callgraph stuff.
This fixes Regression/Other/2002-01-31-CallGraph.ll.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32237
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 5 Dec 2006 19:43:42 +0000 (19:43 +0000)]
This needs the callgraph data structure to stick around as long as the
printer does.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32236
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 5 Dec 2006 19:21:25 +0000 (19:21 +0000)]
Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32235
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 5 Dec 2006 19:18:29 +0000 (19:18 +0000)]
For PR645:
Keep track of global constant and variable definitions for eventual use
in resolving conflicts between global and local symbol usage.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32234
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 5 Dec 2006 19:16:11 +0000 (19:16 +0000)]
Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32233
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 5 Dec 2006 19:15:41 +0000 (19:15 +0000)]
Remove various old upgrade hacks that are no longer needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32232
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 5 Dec 2006 19:14:13 +0000 (19:14 +0000)]
Bail on the getInferredCast idea. Remove the function and convert
remaining uses to more specific casts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32231
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 5 Dec 2006 18:45:06 +0000 (18:45 +0000)]
If we have ScalarSSE, we can select bitconvert into single instructions.
This compiles bitcast.ll:test3/test4 into:
_test3:
movd %xmm0, %eax
ret
_test4:
movd %edi, %xmm0
ret
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32230
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 5 Dec 2006 18:25:10 +0000 (18:25 +0000)]
Add a perf optzn corresponding to PR1033.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32229
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 5 Dec 2006 18:22:22 +0000 (18:22 +0000)]
Fix PR1033 and CodeGen/X86/bitcast.ll, by expanding bitcast to a load/store pair.
This could be better, readme entry pending.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32228
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 5 Dec 2006 18:21:52 +0000 (18:21 +0000)]
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32227
91177308-0d34-0410-b5e6-
96231b3b80d8
Rafael Espindola [Tue, 5 Dec 2006 17:57:23 +0000 (17:57 +0000)]
expand memmove and memcpy
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32226
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 5 Dec 2006 17:53:26 +0000 (17:53 +0000)]
Eliminate "control reaches end of non-void function" warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32225
91177308-0d34-0410-b5e6-
96231b3b80d8
Rafael Espindola [Tue, 5 Dec 2006 17:37:31 +0000 (17:37 +0000)]
add support for the "r" asm constraint
patch by Lauro Ramos Venancio
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32224
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 5 Dec 2006 17:29:40 +0000 (17:29 +0000)]
Fix typo noticed by Lauro Ramos Venancio, thanks!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32223
91177308-0d34-0410-b5e6-
96231b3b80d8
Rafael Espindola [Tue, 5 Dec 2006 17:00:17 +0000 (17:00 +0000)]
add support for weak linkage
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32222
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 5 Dec 2006 16:10:16 +0000 (16:10 +0000)]
Ignore the Output directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32221
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 5 Dec 2006 07:29:55 +0000 (07:29 +0000)]
JIT large code model support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32220
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 5 Dec 2006 07:18:07 +0000 (07:18 +0000)]
Can't make these fail now with just BitCast. Previous failures must have
been in conjunction with something else. By right, they should just be
BitCasts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32219
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 5 Dec 2006 06:43:58 +0000 (06:43 +0000)]
Asm printing bug.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32218
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 5 Dec 2006 04:01:03 +0000 (04:01 +0000)]
- Fix X86-64 JIT by temporarily disabling code that treats GV address as 32-bit
immediate in small code model. The JIT cannot ensure GV's are placed in the
lower 4G.
- Some preliminary support for large code model.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32215
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 5 Dec 2006 03:58:23 +0000 (03:58 +0000)]
Update
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32214
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 5 Dec 2006 03:30:09 +0000 (03:30 +0000)]
Remove the last inferred casts from VMCore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32213
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 5 Dec 2006 03:28:26 +0000 (03:28 +0000)]
Implement createPointerCast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32212
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 5 Dec 2006 03:25:26 +0000 (03:25 +0000)]
Implement getPointerCast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32211
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 5 Dec 2006 01:29:01 +0000 (01:29 +0000)]
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32210
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 5 Dec 2006 01:26:29 +0000 (01:26 +0000)]
add an instcombine xform. This speeds up 462.libquantum from 9.78s to
7.48s. This regression is due to unforseen consequences of the cast patch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32209
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Mon, 4 Dec 2006 23:54:59 +0000 (23:54 +0000)]
SCCP does not handle Packed Type properly. Disable Packed Type handling
for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32208
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 23:14:27 +0000 (23:14 +0000)]
Add cast creation functions for Pointer Casts, either BitCast or PtrToInt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32207
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 4 Dec 2006 22:38:21 +0000 (22:38 +0000)]
Add support for 64-bit 'r' constraint. Patch by by Rafael ~Avila de EspÃndol!
This fixes PR1029 and Regression/CodeGen/X86/x86-64-asm.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32206
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 4 Dec 2006 22:37:48 +0000 (22:37 +0000)]
Testcase for PR1029, patch by Rafael
\81vila de EspÃndola
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32205
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Laskey [Mon, 4 Dec 2006 22:04:42 +0000 (22:04 +0000)]
Restoration of the stack pointer after a deallocation of a alloca was not
updating the SP link.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32202
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 21:35:24 +0000 (21:35 +0000)]
Separate getCompare from get and getCompareTy from getTy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32200
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 21:34:17 +0000 (21:34 +0000)]
Separate the get and getTy functions for ICmp and FCmp into getCompare
and getCompareTy. Also, fix some incorrect comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32199
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 21:33:23 +0000 (21:33 +0000)]
Fix comment grammaro
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32198
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 21:29:24 +0000 (21:29 +0000)]
We only support 32-bit or 64-bit sequential type indices for GEP. Document
it as so.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32197
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 4 Dec 2006 21:22:45 +0000 (21:22 +0000)]
Add a comment and fix a memory leak. Thanks to Vikram for pointing this out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32196
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 20:46:05 +0000 (20:46 +0000)]
These pass on Linux now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32195
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 20:28:07 +0000 (20:28 +0000)]
Expose the sanity.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32193
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 20:18:26 +0000 (20:18 +0000)]
Unclutter this by using new cast creation functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32192
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 20:17:56 +0000 (20:17 +0000)]
Implement new cast creation functions for both instructions and constant
expressions. These will get used to reduce clutter as we replace various
calls to createInferredCast and getCast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32191
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 20:13:49 +0000 (20:13 +0000)]
Fix the intrinsic debug call to make this match current definition.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32190
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 20:09:02 +0000 (20:09 +0000)]
Make this test succeed on both Darwin and Linux
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32189
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 19:23:19 +0000 (19:23 +0000)]
Document the icmp and fcmp constant expressions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32188
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 18:39:14 +0000 (18:39 +0000)]
XFAIL until PR1033 is fixed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32187
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 18:38:05 +0000 (18:38 +0000)]
Reduce the size of the ExprMapKeyType class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32186
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 18:24:56 +0000 (18:24 +0000)]
Test case for PR1033, x86-64 code gen fails on bitcast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32185
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 4 Dec 2006 18:07:10 +0000 (18:07 +0000)]
Non-darwin gcc should default to static relocation to match gcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32184
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 4 Dec 2006 18:06:24 +0000 (18:06 +0000)]
Fix test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32183
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Laskey [Mon, 4 Dec 2006 17:54:29 +0000 (17:54 +0000)]
Purpose of test is lost in upgrade.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32182
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Laskey [Mon, 4 Dec 2006 17:06:15 +0000 (17:06 +0000)]
Remove debug info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32181
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 17:05:42 +0000 (17:05 +0000)]
Fix inferred casts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32180
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 17:04:44 +0000 (17:04 +0000)]
Fix 80 cols violation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32179
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 15:41:36 +0000 (15:41 +0000)]
Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32178
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Laskey [Mon, 4 Dec 2006 12:23:17 +0000 (12:23 +0000)]
Fixed to use current debug info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32177
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Laskey [Mon, 4 Dec 2006 12:21:23 +0000 (12:21 +0000)]
Moving to DebugInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32176
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Laskey [Mon, 4 Dec 2006 10:50:32 +0000 (10:50 +0000)]
Duplicate of Regression/Debugger/funccall.ll.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32175
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 05:24:24 +0000 (05:24 +0000)]
Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32173
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 05:23:49 +0000 (05:23 +0000)]
For PR950: Implement read/write of ICmp and FCmp constant expressions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32172
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 05:20:06 +0000 (05:20 +0000)]
For PR950: For ICmp and FCmp constant expressions, put the predicate outiside the parentheses to match what llvm-upgrade generates.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32171
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 05:19:50 +0000 (05:19 +0000)]
For PR950: Fix constant expressions to properly support ICmp and FCmp type expressions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32170
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 05:19:34 +0000 (05:19 +0000)]
For PR950: Implement a stub for folding ICmp and FCmp instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32169
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 05:19:18 +0000 (05:19 +0000)]
For PR950: Implement ICmp/FCmp predicate printing for constant expressions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32168
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 05:19:02 +0000 (05:19 +0000)]
For PR950: Provide an isCompare method for detection of ICmp and FCmp constant expressions. Change interfaces to allow for ICmp and FCmp predicate values.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32167
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 02:48:01 +0000 (02:48 +0000)]
Update call to CastInst::getCastOpcode for its new signature.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32166
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 02:46:44 +0000 (02:46 +0000)]
Change inferred casts to explicit casts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32165
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 4 Dec 2006 02:43:42 +0000 (02:43 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32164
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 3 Dec 2006 21:17:12 +0000 (21:17 +0000)]
Remove line not meant to be committed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32163
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 3 Dec 2006 21:01:45 +0000 (21:01 +0000)]
Handle upgrade of llvm-gcc3 assembly files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32161
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 3 Dec 2006 17:17:02 +0000 (17:17 +0000)]
Support ICmp/FCmp constant expression reading and writing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32160
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 3 Dec 2006 16:53:48 +0000 (16:53 +0000)]
Update for signless GEP semantics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32159
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 3 Dec 2006 16:40:08 +0000 (16:40 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32158
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 3 Dec 2006 16:21:33 +0000 (16:21 +0000)]
Remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32157
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 3 Dec 2006 16:20:14 +0000 (16:20 +0000)]
Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32156
91177308-0d34-0410-b5e6-
96231b3b80d8