summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Add mention of GHC to external OS projects.Bill Wendling2011-10-261-16/+16
| | | | llvm-svn: 142987
* llvm-nm: Use correct format string. Patch by Stepan Dyatkovskiy!Michael J. Spencer2011-10-251-2/+2
| | | | llvm-svn: 142984
* Object/Archive: Cleanup anon namespace.Michael J. Spencer2011-10-251-8/+5
| | | | llvm-svn: 142983
* Object: change test to create archive.Michael J. Spencer2011-10-253-2/+15
| | | | llvm-svn: 142982
* Object/Archive: Add BSD style long file name support and skip internal members.Michael J. Spencer2011-10-252-8/+49
| | | | llvm-svn: 142981
* Remove extraneous printing of "-PC".Owen Anderson2011-10-251-1/+0
| | | | llvm-svn: 142970
* Add mention of SAFECode to external OS projects.Bill Wendling2011-10-251-0/+15
| | | | llvm-svn: 142966
* Add mention of Pure to external OS projects.Bill Wendling2011-10-251-23/+21
| | | | llvm-svn: 142965
* Add mention of Portable OpenCL to external OS projects.Bill Wendling2011-10-251-0/+13
| | | | llvm-svn: 142963
* Add support for the notion of "hidden" relocations. On MachO, these are ↵Owen Anderson2011-10-254-0/+55
| | | | | | | | relocation entries that are used as additional information for other, real relocations, rather than being relocations themselves. I'm not familiar enough with ELF or COFF to know if they should have any relocations marked hidden. llvm-svn: 142961
* Add mention of gwScript to external OS projects.Bill Wendling2011-10-251-0/+25
| | | | llvm-svn: 142960
* Remove a couple redundant checks.Eli Friedman2011-10-251-2/+0
| | | | llvm-svn: 142959
* Add a few test cases to ensure the bitcode reader is backward compatible withChad Rosier2011-10-254-0/+10
| | | | | | | | LLVM 2.9. My understanding is that we plan to maintain compatibility with 2.9 until the 3.1 release. At that time we can generate new test cases using LLVM 3.0. llvm-svn: 142958
* Make assert() message more informative.Jim Grosbach2011-10-251-1/+2
| | | | | | PR11217. llvm-svn: 142956
* Add mention of Tart to external OS projects.Bill Wendling2011-10-251-0/+21
| | | | llvm-svn: 142955
* Add TTA-based Co-design Environment to external OS projects.Bill Wendling2011-10-251-13/+12
| | | | llvm-svn: 142954
* Fix off-by-one error when printing relocations inline with disassembly.Owen Anderson2011-10-251-1/+1
| | | | llvm-svn: 142952
* According to Mips folks, the backend is now generally reliable (they canBruno Cardoso Lopes2011-10-251-2/+2
| | | | | | | | compile and use a bunch of stuff using o32 abi). Also the rt-rk.com team claims that the JIT support they contributed, is complete for the mips "static" relocation model. llvm-svn: 142950
* Simplify tests by not piping them through llvm-dis.Chad Rosier2011-10-252-4/+5
| | | | llvm-svn: 142948
* Teach the MachO relocation pretty-printer to interpret ARM half-relocations.Owen Anderson2011-10-251-42/+104
| | | | llvm-svn: 142938
* This is the first of several patches for Mips direct object generation.Bruno Cardoso Lopes2011-10-253-1/+56
| | | | | | | | This first patch is for expression variable kinds. Patch by Jack Carter! llvm-svn: 142934
* Corrects previously incorrect $sp change in MipsCompilationCallback.Bruno Cardoso Lopes2011-10-251-7/+7
| | | | | | | | The address for $sp, and addresses for sdc1/ldc1 must be 8-byte aligned Patch by Petar Jovanovic. llvm-svn: 142930
* Revert commit 142891. Takumi bisected the tablegen miscompilesDuncan Sands2011-10-251-2/+1
| | | | | | | | | | | | | | down to this commit. Original commit message: An MBB which branches to an EH landing pad shouldn't be considered for tail merging. In SjLj EH, the jump to the landing pad is not done explicitly through a branch statement. The EH landing pad is added as a successor to the throwing BB. Because of that however, the branch folding pass could mistakenly think that it could merge the throwing BB with another BB. This isn't safe to do. <rdar://problem/10334833> llvm-svn: 142920
* Restore commits 142790 and 142843 - they weren't breaking the buildDuncan Sands2011-10-253-27/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | bots. Original commit messages: - Reapply r142781 with fix. Original message: Enhance SCEV's brute force loop analysis to handle multiple PHI nodes in the loop header when computing the trip count. With this, we now constant evaluate: struct ListNode { const struct ListNode *next; int i; }; static const struct ListNode node1 = {0, 1}; static const struct ListNode node2 = {&node1, 2}; static const struct ListNode node3 = {&node2, 3}; int test() { int sum = 0; for (const struct ListNode *n = &node3; n != 0; n = n->next) sum += n->i; return sum; } - Now that we look at all the header PHIs, we need to consider all the header PHIs when deciding that the loop has stopped evolving. Fixes miscompile in the gcc torture testsuite! llvm-svn: 142919
* Fix the API usage in loop probability heuristics. It was incorrectlyChandler Carruth2011-10-252-15/+373
| | | | | | | | | | | | | | | classifying many edges as exiting which were in fact not. These mainly formed edges into sub-loops. It was also not correctly classifying all returning edges out of loops as leaving the loop. With this match most of the loop heuristics are more rational. Several serious regressions on loop-intesive benchmarks like perlbench's loop tests when built with -enable-block-placement are fixed by these updated heuristics. Unfortunately they in turn uncover some other regressions. There are still several improvemenst that should be made to loop heuristics including trip-count, and early back-edge management. llvm-svn: 142917
* Speculatively revert commits 142790 and 142843 to see if it fixesDuncan Sands2011-10-253-108/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | the dragonegg and llvm-gcc self-host buildbots. Original commit messages: - Reapply r142781 with fix. Original message: Enhance SCEV's brute force loop analysis to handle multiple PHI nodes in the loop header when computing the trip count. With this, we now constant evaluate: struct ListNode { const struct ListNode *next; int i; }; static const struct ListNode node1 = {0, 1}; static const struct ListNode node2 = {&node1, 2}; static const struct ListNode node3 = {&node2, 3}; int test() { int sum = 0; for (const struct ListNode *n = &node3; n != 0; n = n->next) sum += n->i; return sum; } - Now that we look at all the header PHIs, we need to consider all the header PHIs when deciding that the loop has stopped evolving. Fixes miscompile in the gcc torture testsuite! llvm-svn: 142916
* Remove dead enum value. There is no DIESectionOffset.Nick Lewycky2011-10-251-1/+0
| | | | llvm-svn: 142912
* Fix these test cases to not use .bc files. Otherwise, we run into issues withChad Rosier2011-10-254-2/+97
| | | | | | bitcode reader/writer backward compatibility. llvm-svn: 142896
* Comment out external projects so that they can be refreshed for 3.0.Bill Wendling2011-10-251-3/+20
| | | | llvm-svn: 142893
* Remove unused forward decl.Eric Christopher2011-10-251-1/+0
| | | | llvm-svn: 142892
* An MBB which branches to an EH landing pad shouldn't be considered for tail ↵Bill Wendling2011-10-251-1/+2
| | | | | | | | | | | | merging. In SjLj EH, the jump to the landing pad is not done explicitly through a branch statement. The EH landing pad is added as a successor to the throwing BB. Because of that however, the branch folding pass could mistakenly think that it could merge the throwing BB with another BB. This isn't safe to do. <rdar://problem/10334833> llvm-svn: 142891
* Really remove Blackfin from the configure script.Dan Gohman2011-10-251-4/+1
| | | | llvm-svn: 142889
* ARM assembly parsing and encoding for VLD1 with writeback.Jim Grosbach2011-10-254-17/+53
| | | | | | Four entry register lists. llvm-svn: 142882
* Remove the Blackfin backend.Dan Gohman2011-10-25101-5820/+10
| | | | llvm-svn: 142880
* Remove the SystemZ backend.Dan Gohman2011-10-24117-8826/+12
| | | | llvm-svn: 142878
* Nuke dead code. Nothing generates the VLD1d64QPseudo_UPD instruction.Jim Grosbach2011-10-243-4/+0
| | | | llvm-svn: 142877
* ARM assembly parsing and encoding for VLD1 w/ writeback.Jim Grosbach2011-10-245-21/+53
| | | | | | Three entry register list variation. llvm-svn: 142876
* More fixes and improvements to MachO relocation pretty-printing, particular ↵Owen Anderson2011-10-242-31/+129
| | | | | | for x86 and x86_64 relocations with addends. llvm-svn: 142875
* Don't crash on variable insertelement on ARM. PR10258.Eli Friedman2011-10-242-0/+18
| | | | llvm-svn: 142871
* Check the visibility of the global variable before placing it into the stubsBill Wendling2011-10-242-2/+42
| | | | | | | table. A hidden variable could potentially end up in both lists. <rdar://problem/10336715> llvm-svn: 142869
* ARMConstantPoolMBB::print should print BB number.Evan Cheng2011-10-241-0/+1
| | | | llvm-svn: 142867
* ARM assembly parsing and encoding for VLD1 w/ writeback.Jim Grosbach2011-10-243-11/+85
| | | | | | One and two length register list variants. llvm-svn: 142861
* Add options to enable each individual level for the show-diagnostics tool.Chad Rosier2011-10-241-4/+30
| | | | | | rdar://9683410 llvm-svn: 142856
* ARM refactor am6offset usage for VLD1.Jim Grosbach2011-10-245-71/+181
| | | | | | | | Split am6offset into fixed and register offset variants so the instruction encodings are explicit rather than relying an a magic reg0 marker. Needed to being able to parse these. llvm-svn: 142853
* Get relocation parsing/dumping to a mostly-working state for MachO files.Owen Anderson2011-10-241-6/+127
| | | | llvm-svn: 142852
* Now that we look at all the header PHIs, we need to consider all the header PHIsNick Lewycky2011-10-242-6/+43
| | | | | | | when deciding that the loop has stopped evolving. Fixes miscompile in the gcc torture testsuite! llvm-svn: 142843
* Add support to the old JIT for acquire/release loads and stores on x86. ↵Eli Friedman2011-10-241-9/+24
| | | | | | PR11207. llvm-svn: 142841
* Stub out some of the MachO relocation decoding hooks.Owen Anderson2011-10-241-0/+4
| | | | llvm-svn: 142840
* Really unbreak CMake buildDouglas Gregor2011-10-241-3/+1
| | | | llvm-svn: 142822
* Unbreak CMake buildDouglas Gregor2011-10-241-0/+1
| | | | llvm-svn: 142821
OpenPOWER on IntegriCloud