Chris Lattner
|
979804d800
|
eliminate fp statistic
llvm-svn: 32251
|
2006-12-06 01:48:55 +00:00 |
Chris Lattner
|
76d4632d92
|
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
|
b1a268f08f
|
add a helper to call llvm_shutdown()
llvm-svn: 32249
|
2006-12-06 01:01:14 +00:00 |
Chris Lattner
|
bbbb1c5e78
|
this is a subset of Codegen/X86/bitcast.ll, remove it.
llvm-svn: 32248
|
2006-12-06 00:46:14 +00:00 |
Reid Spencer
|
876f722fc5
|
Fix constant folding to deal with external weak global values.
llvm-svn: 32247
|
2006-12-06 00:25:09 +00:00 |
Reid Spencer
|
e266dc7621
|
Regenerate.
llvm-svn: 32246
|
2006-12-05 23:50:48 +00:00 |
Reid Spencer
|
7d9b8a8f03
|
Remove dead var NewVarArgs.
llvm-svn: 32245
|
2006-12-05 23:46:41 +00:00 |
Chris Lattner
|
6f6b497748
|
Fix Transforms/InstCombine/2006-12-05-fp-to-int-ext.ll, fixing an out-of-
stack-space issue in the ppc bootstrap.
llvm-svn: 32244
|
2006-12-05 23:43:59 +00:00 |
Chris Lattner
|
83830075f6
|
Instcombine shouldn't fold these casts.
llvm-svn: 32243
|
2006-12-05 23:43:20 +00:00 |
Reid Spencer
|
2764219e3e
|
Regenerate.
llvm-svn: 32242
|
2006-12-05 23:29:42 +00:00 |
Reid Spencer
|
cec21a5592
|
Dump the old va_arg and va_next upgrade support. No need to keep track of
the current basic block any more either.
llvm-svn: 32241
|
2006-12-05 23:28:06 +00:00 |
Reid Spencer
|
0646eb415d
|
Finally get the casting right in this file. Also, remove some unnecessary
casting because sdiv doesn't require operand signs to match any more.
llvm-svn: 32240
|
2006-12-05 22:39:58 +00:00 |
Evan Cheng
|
47e181cc4d
|
Revert an unintended change.
llvm-svn: 32239
|
2006-12-05 22:03:40 +00:00 |
Evan Cheng
|
dd60ca029c
|
- Switch X86-64 JIT to large code size model.
- Re-enable some codegen niceties for X86-64 static relocation model codegen.
- Clean ups, etc.
llvm-svn: 32238
|
2006-12-05 19:50:18 +00:00 |
Chris Lattner
|
dd23d3dd05
|
straighten out various memory ownership issues in the callgraph stuff.
This fixes Regression/Other/2002-01-31-CallGraph.ll.
llvm-svn: 32237
|
2006-12-05 19:46:12 +00:00 |
Chris Lattner
|
e549bac57b
|
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
|
39651ae196
|
Regenerate.
llvm-svn: 32235
|
2006-12-05 19:21:25 +00:00 |
Reid Spencer
|
c77c7157f8
|
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
|
844668d2ef
|
Regenerate.
llvm-svn: 32233
|
2006-12-05 19:16:11 +00:00 |
Reid Spencer
|
5bcee9aa1e
|
Remove various old upgrade hacks that are no longer needed.
llvm-svn: 32232
|
2006-12-05 19:15:41 +00:00 |
Reid Spencer
|
f37dc65b08
|
Bail on the getInferredCast idea. Remove the function and convert
remaining uses to more specific casts.
llvm-svn: 32231
|
2006-12-05 19:14:13 +00:00 |
Chris Lattner
|
c20b7e878a
|
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
llvm-svn: 32230
|
2006-12-05 18:45:06 +00:00 |
Chris Lattner
|
57a41985e3
|
Add a perf optzn corresponding to PR1033.
llvm-svn: 32229
|
2006-12-05 18:25:10 +00:00 |
Chris Lattner
|
55c17f9177
|
Fix PR1033 and CodeGen/X86/bitcast.ll, by expanding bitcast to a load/store pair.
This could be better, readme entry pending.
llvm-svn: 32228
|
2006-12-05 18:22:22 +00:00 |
Chris Lattner
|
b6e14a0e10
|
new testcase
llvm-svn: 32227
|
2006-12-05 18:21:52 +00:00 |
Rafael Espindola
|
b5dee63958
|
expand memmove and memcpy
llvm-svn: 32226
|
2006-12-05 17:57:23 +00:00 |
Reid Spencer
|
1792326daf
|
Eliminate "control reaches end of non-void function" warnings.
llvm-svn: 32225
|
2006-12-05 17:53:26 +00:00 |
Rafael Espindola
|
96fd6447c7
|
add support for the "r" asm constraint
patch by Lauro Ramos Venancio
llvm-svn: 32224
|
2006-12-05 17:37:31 +00:00 |
Chris Lattner
|
a16201c672
|
Fix typo noticed by Lauro Ramos Venancio, thanks!
llvm-svn: 32223
|
2006-12-05 17:29:40 +00:00 |
Rafael Espindola
|
2369a024d7
|
add support for weak linkage
llvm-svn: 32222
|
2006-12-05 17:00:17 +00:00 |
Reid Spencer
|
300aae721e
|
Ignore the Output directory.
llvm-svn: 32221
|
2006-12-05 16:10:16 +00:00 |
Evan Cheng
|
3b235aa5dc
|
JIT large code model support.
llvm-svn: 32220
|
2006-12-05 07:29:55 +00:00 |
Reid Spencer
|
a16f930aac
|
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.
llvm-svn: 32219
|
2006-12-05 07:18:07 +00:00 |
Evan Cheng
|
8e0e9fbe7b
|
Asm printing bug.
llvm-svn: 32218
|
2006-12-05 06:43:58 +00:00 |
Evan Cheng
|
62cdc3f011
|
- 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.
llvm-svn: 32215
|
2006-12-05 04:01:03 +00:00 |
Evan Cheng
|
830f224bf5
|
Update
llvm-svn: 32214
|
2006-12-05 03:58:23 +00:00 |
Reid Spencer
|
27720a962d
|
Remove the last inferred casts from VMCore.
llvm-svn: 32213
|
2006-12-05 03:30:09 +00:00 |
Reid Spencer
|
d5a3f0dd1b
|
Implement createPointerCast.
llvm-svn: 32212
|
2006-12-05 03:28:26 +00:00 |
Reid Spencer
|
bc245a0190
|
Implement getPointerCast.
llvm-svn: 32211
|
2006-12-05 03:25:26 +00:00 |
Chris Lattner
|
c92921f939
|
new testcase
llvm-svn: 32210
|
2006-12-05 01:29:01 +00:00 |
Chris Lattner
|
c209b584eb
|
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.
llvm-svn: 32209
|
2006-12-05 01:26:29 +00:00 |
Devang Patel
|
21efc73161
|
SCCP does not handle Packed Type properly. Disable Packed Type handling
for now.
llvm-svn: 32208
|
2006-12-04 23:54:59 +00:00 |
Reid Spencer
|
b2ddc04321
|
Add cast creation functions for Pointer Casts, either BitCast or PtrToInt
llvm-svn: 32207
|
2006-12-04 23:14:27 +00:00 |
Chris Lattner
|
d139ddd2e6
|
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
llvm-svn: 32206
|
2006-12-04 22:38:21 +00:00 |
Chris Lattner
|
9a5a838c98
|
Testcase for PR1029, patch by Rafael vila de EspÃndola
llvm-svn: 32205
|
2006-12-04 22:37:48 +00:00 |
Jim Laskey
|
e4f4d048dd
|
Restoration of the stack pointer after a deallocation of a alloca was not
updating the SP link.
llvm-svn: 32202
|
2006-12-04 22:04:42 +00:00 |
Reid Spencer
|
a009d0d59c
|
Separate getCompare from get and getCompareTy from getTy.
llvm-svn: 32200
|
2006-12-04 21:35:24 +00:00 |
Reid Spencer
|
380d99cd3e
|
Separate the get and getTy functions for ICmp and FCmp into getCompare
and getCompareTy. Also, fix some incorrect comments.
llvm-svn: 32199
|
2006-12-04 21:34:17 +00:00 |
Reid Spencer
|
e6328cab48
|
Fix comment grammaro
llvm-svn: 32198
|
2006-12-04 21:33:23 +00:00 |
Reid Spencer
|
cee005cbf2
|
We only support 32-bit or 64-bit sequential type indices for GEP. Document
it as so.
llvm-svn: 32197
|
2006-12-04 21:29:24 +00:00 |