Rafael Espindola
8251abb0e9
fix test/Regression/CodeGen/X86/weak.ll
...
if a variable has no initialization, I->getInitializer() will fail
llvm-svn: 32407
2006-12-09 23:14:08 +00:00
Rafael Espindola
48db31af76
use a . instead of a % in the grep expression
...
llvm-svn: 32406
2006-12-09 21:21:06 +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
ab212d0054
Fix the run line and make this test more specific.
...
llvm-svn: 32403
2006-12-09 19:39:56 +00:00
Reid Spencer
363947c376
Add a check to catch an incorrect upgrade.
...
llvm-svn: 32402
2006-12-09 19:35:43 +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
54036d73ce
Too soon to commit, revert.
...
llvm-svn: 32397
2006-12-09 05:13:50 +00:00
Reid Spencer
4d24c45baa
New test cases for regressions in the SetCC -> ICmp patch.
...
llvm-svn: 32396
2006-12-09 05:13:01 +00:00
Reid Spencer
f2048c9717
Allow the input of the test program to be specified.
...
Don't generate the reference output for each comparison.
llvm-svn: 32395
2006-12-09 04:42:33 +00:00
Evan Cheng
a366d082b5
Preliminary soft float support.
...
llvm-svn: 32394
2006-12-09 02:42:38 +00:00
Evan Cheng
f1e9ec7225
Added option -soft-float to generate SW fp library calls instead of fp instructions.
...
llvm-svn: 32393
2006-12-09 02:41:30 +00:00
Bill Wendling
6cc4dc27b3
Fixed some formatting.
...
llvm-svn: 32392
2006-12-09 01:35:43 +00:00
Bill Wendling
5f6eafe7ca
Another example of using the llvm IO streams.
...
llvm-svn: 32391
2006-12-09 01:27:51 +00:00
Bill Wendling
c9305b7b85
Add documentation for how to use the new LLVM streams.
...
llvm-svn: 32390
2006-12-09 01:20:34 +00:00
Devang Patel
1dab3b3558
Analysis resolver now manages AnalysisImpls for the given patch.
...
llvm-svn: 32389
2006-12-09 01:11:34 +00:00
Devang Patel
a330306e9b
Top level pass manager keeps track of other managers, so this can be
...
removed now.
llvm-svn: 32388
2006-12-09 00:09:12 +00:00
Devang Patel
73cf028f5f
Use analysis resolver to find the info.
...
llvm-svn: 32387
2006-12-09 00:07:38 +00:00
Devang Patel
385edd79c5
Do not drop ImmutablePasses on the floor.
...
llvm-svn: 32386
2006-12-08 23:57:43 +00:00
Devang Patel
4e6c9b0ad9
Set AnalysisResolver for the passes when they are inserted into
...
pass manager queuer.
llvm-svn: 32385
2006-12-08 23:53:00 +00:00
Devang Patel
29a8ae3025
Add AnalysisResolver_New.
...
llvm-svn: 32384
2006-12-08 23:52:04 +00:00
Devang Patel
6f0bb6fbed
Add AnalysisResolver_New. It is a replacement for existing
...
AnalysisResolver.
llvm-svn: 32383
2006-12-08 23:28:54 +00:00
Devang Patel
17fec0924c
Keep track of other pass managers, that are not directly managed by
...
top level manager. Use this info to findAnalysisPass.
llvm-svn: 32382
2006-12-08 23:11:43 +00:00
Devang Patel
1342f262e3
Implement top level FunctionPassManager::run(Function &F)
...
llvm-svn: 32381
2006-12-08 22:57:48 +00:00
Devang Patel
ddcef36da4
Do not keep yet another list of pass managers in PassManagerImpl_New.
...
Use one provided by toplevel manager.
llvm-svn: 32380
2006-12-08 22:47:25 +00:00
Devang Patel
f0c7476178
Remove unused schedulePass() parameter.
...
llvm-svn: 32379
2006-12-08 22:34:02 +00:00
Devang Patel
8ff822772f
Remove unused getAnalysisPass and getAnalysisPassFromManager
...
llvm-svn: 32378
2006-12-08 22:32:32 +00:00
Devang Patel
a4ef9062bf
Implement PMTopLevel::findAnalysisPass() and
...
PMDataManager::findAnalysisPass()
llvm-svn: 32377
2006-12-08 22:30:11 +00:00
Rafael Espindola
620b3430c8
%progbits not @progbits
...
llvm-svn: 32376
2006-12-08 22:06:02 +00:00
Reid Spencer
069149765d
Incorporate any changes in the successor blocks into the result of
...
MarkAliveBlocks.
llvm-svn: 32375
2006-12-08 21:52:01 +00:00
Rafael Espindola
62ac17dbaa
add missing &&
...
llvm-svn: 32374
2006-12-08 21:43:02 +00:00
Rafael Espindola
7e99603152
add \"aw\",@progbits" to ctors and dtors
...
llvm-svn: 32373
2006-12-08 21:24:58 +00:00
Chris Lattner
9c52dc6c34
Change the implementation of statistic to not need destructors at all.
...
Instead, the stat info is printed when llvm_shutdown() is called.
These also don't need static ctors, but getting rid of them is uglier:
still investigating. This reduces the number of static dtors in llvm from
~1400 to ~750.
llvm-svn: 32372
2006-12-08 20:00:42 +00:00
Devang Patel
7f1091cb14
During runOnModule() do initialization and finalization.
...
llvm-svn: 32371
2006-12-08 19:04:09 +00:00
Devang Patel
ebab6b3112
Reuse code. Directly use runOnFunction().
...
llvm-svn: 32370
2006-12-08 19:03:05 +00:00
Reid Spencer
6254d95a45
Add the -ldl library option.
...
llvm-svn: 32369
2006-12-08 18:58:38 +00:00
Devang Patel
4833df8e9e
Implement FunctionPassManager_New::FunctionPassManager_New(ModuleProvider *P)
...
llvm-svn: 32368
2006-12-08 18:57:16 +00:00
Andrew Lenharth
53c676f8db
test packed struct codegen on x86
...
llvm-svn: 32367
2006-12-08 18:54:15 +00:00
Evan Cheng
88a55bdd64
Move findTiedToSrcOperand to TargetInstrDescriptor.
...
llvm-svn: 32366
2006-12-08 18:45:48 +00:00
Andrew Lenharth
341c77a124
packed initializers too in the test
...
llvm-svn: 32365
2006-12-08 18:45:38 +00:00
Rafael Espindola
514fcabb29
fix truncstorei1
...
llvm-svn: 32364
2006-12-08 18:41:21 +00:00
Andrew Lenharth
768021fcb9
feature test for packed structs
...
llvm-svn: 32363
2006-12-08 18:36:24 +00:00
Andrew Lenharth
36e3fe118f
Hopefully these are the regenerated files
...
llvm-svn: 32362
2006-12-08 18:07:09 +00:00
Andrew Lenharth
d115fe7ce3
Packed Structures
...
llvm-svn: 32361
2006-12-08 18:06:16 +00:00
Andrew Lenharth
72efcb8a49
A backwards compatible bc format for packed structs
...
llvm-svn: 32360
2006-12-08 17:50:05 +00:00
Reid Spencer
f814074520
This test needs to be upgraded.
...
llvm-svn: 32359
2006-12-08 17:39:49 +00:00
Reid Spencer
67bafa2287
For PR950:
...
Add a test for a regression in combining of ICmp instructions.
llvm-svn: 32358
2006-12-08 17:38:55 +00:00
Andrew Lenharth
d93b9ff60e
Packed Structure Definitions (docs)
...
llvm-svn: 32357
2006-12-08 17:13:00 +00:00
Evan Cheng
6f02378443
Proper fix for PR1037: to determine is a VR is a modref, check 1) whether it is
...
tied to another oeprand, 2) whether is is being tied to by another operand. So
the destination operand of a two-address MI can be correctly identified.
llvm-svn: 32354
2006-12-08 08:02:34 +00:00