summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* this is (unfortunately) several changes mixed together:Chris Lattner2009-07-2514-89/+100
| | | | | | | | | | | | | | 1. Spell SectionFlags::Writeable as "Writable". 2. Add predicates for deriving SectionFlags from SectionKinds. 3. Sink ELF-specific getSectionPrefixForUniqueGlobal impl into ELFTargetAsmInfo. 4. Fix SectionFlagsForGlobal to know that BSS/ThreadBSS has the BSS bit set (the real fix for PR4619). 5. Fix isSuitableForBSS to not put globals with explicit sections set in BSS (which was the reason #4 wasn't fixed earlier). 6. Remove my previous hack for PR4619. llvm-svn: 77085
* document some invariants.Chris Lattner2009-07-252-4/+10
| | | | llvm-svn: 77084
* add the most expedient hack to fix PR4619, along with a testcase.Chris Lattner2009-07-252-0/+13
| | | | | | Thanks to Rafael for the great example. llvm-svn: 77083
* Fix a few comments to say "backedge-taken count" instead ofDan Gohman2009-07-251-2/+3
| | | | | | "trip count". llvm-svn: 77081
* SCEV objects are no longer reference-counted.Dan Gohman2009-07-251-3/+2
| | | | llvm-svn: 77080
* Update comments to new-style syntax.Dan Gohman2009-07-251-1/+1
| | | | llvm-svn: 77079
* When attempting to sign-extend an addrec by interpretingDan Gohman2009-07-252-2/+76
| | | | | | | the step value as unsigned, the start value and the addrec itself still need to be treated as signed. llvm-svn: 77078
* Remove spurious semicolons.Dan Gohman2009-07-251-2/+2
| | | | llvm-svn: 77077
* Implement C++ semantics for C-style and functional-style casts. This ↵Sebastian Redl2009-07-2512-561/+928
| | | | | | | | regresses Clang extension conversions, like vectors, but allows conversions via constructors and conversion operators. Add custom conversions to static_cast. llvm-svn: 77076
* MultiTestRunner: Make sure to point at src dir, for out of tree builds.Daniel Dunbar2009-07-252-32/+32
| | | | | | Factor out routine for executing the script commands. llvm-svn: 77075
* MultiTestRunner: Cleanup test execution & output.Daniel Dunbar2009-07-252-121/+84
| | | | | | | | - Stop writing everything to files. - Make test output more standard. llvm-svn: 77074
* MultiTestRunner: Drop external script and DejaGNU compatibility options for now.Daniel Dunbar2009-07-252-41/+6
| | | | | | - We don't use the former, and the latter doesn't actually work. llvm-svn: 77073
* MultiTestRunner: Disable valgrind support for now, I don't feel like maintainingDaniel Dunbar2009-07-252-26/+5
| | | | | | it currently. llvm-svn: 77072
* MultiTestRunner/Win32: Add SYSTEMROOT to environment, replace '&&' in .batDaniel Dunbar2009-07-251-2/+8
| | | | | | files. llvm-svn: 77071
* Make having no RUN line a failure.Daniel Dunbar2009-07-259-8/+23
| | | | | | | Doug, please look at decltype-crash and instantiate-function-1.mm, I'm not sure if they are actually testing the right thing / anything. llvm-svn: 77070
* Remove TESTDIR initialization, MultiTestRunner can find the test dirs itself.Daniel Dunbar2009-07-251-1/+1
| | | | llvm-svn: 77069
* Remove empty tests, left over from an svn revert.Daniel Dunbar2009-07-252-0/+0
| | | | llvm-svn: 77068
* Remove this Makefile, it is unused.Daniel Dunbar2009-07-251-21/+0
| | | | llvm-svn: 77067
* MultiTestRunner: Oops, clang wasn't being substituted properly. This is why theDaniel Dunbar2009-07-251-13/+15
| | | | | | | cxx-using-declaration test case started exhibiting different behavior. It still needs to be fixed, however... llvm-svn: 77066
* Convert DOUT to DEBUG.Andreas Bolka2009-07-251-5/+5
| | | | llvm-svn: 77065
* MultiTestRunner: Always use absolute path names for tests.Daniel Dunbar2009-07-252-2/+4
| | | | | | Also, fix a function name I forgot to update. llvm-svn: 77064
* Disable this test: cxx-using-declaration.cppDaniel Dunbar2009-07-251-1/+4
| | | | | | | | | | Something strange is going on here; this test randomly started failing after unrelated changes to TestRunner.py (even though it runs the same script). Argiris or Doug, can one of you investigate? llvm-svn: 77063
* MultiTestRunner: Validate '&&' at the end of RUN lines.Daniel Dunbar2009-07-2526-44/+67
| | | | | | | | - This is just to normalize, these will go away soon hopefully. Added all the missing '&&'s that have crept in. :) llvm-svn: 77062
* MultiTestRunner: Explicitly define child environment, the only variable we needDaniel Dunbar2009-07-251-5/+4
| | | | | | to import is the PATH. llvm-svn: 77061
* Simplify JIT target selection.Daniel Dunbar2009-07-2517-156/+58
| | | | | | | | | | - Instead of requiring targets to define a JIT quality match function, we just have them specify if they support a JIT. - Target selection for the JIT just gets the host triple and looks for the best target which matches the triple and has a JIT. llvm-svn: 77060
* MultiTestRunner.py improvements.Daniel Dunbar2009-07-252-8/+14
| | | | | | | - Tweak output directories for temp files, derive the temporary base from the test's parent directory name, and the test name (instead of the whole path). llvm-svn: 77059
* MultiTestRunner.py improvements.Daniel Dunbar2009-07-251-8/+40
| | | | | | | | | | | | | - Not improved: the horribly lousy name. :) - Suppress stderr when capturing output. - Rewrite which() to do the right PATH search instead of being lazy and shelling out to 'which'. - On Windows, run scripts as batch files (via 'cmd /c ...'). llvm-svn: 77058
* Change these tests to not depend as much on the name of the input.Daniel Dunbar2009-07-252-2/+2
| | | | llvm-svn: 77057
* Mark attributes of return insn correctly. It was being assumed safe to ↵Sanjiv Gupta2009-07-251-0/+1
| | | | | | delete in isSafeToDelete (a thing checked-in 76281). llvm-svn: 77056
* remove this test. It is currently failing because we now emit the stringChris Lattner2009-07-251-11/+0
| | | | | | | | on darwin with ".cstring" instead of ".section __TEXT,__cstring". They are the same and the former is better. Remove this because this is no longer magic pixie dust in the frontend. llvm-svn: 77055
* eventually we should describe string options in the data structures sectionChris Lattner2009-07-251-0/+22
| | | | llvm-svn: 77054
* minor tweaks.Chris Lattner2009-07-251-8/+9
| | | | llvm-svn: 77053
* Add new helpers for registering targets.Daniel Dunbar2009-07-2540-344/+188
| | | | | | - Less boilerplate == good. llvm-svn: 77052
* Finish migrating VMCore to StringRef/Twine based APIs.Daniel Dunbar2009-07-2517-141/+126
| | | | llvm-svn: 77051
* Ok, "most clients should be unaffected" was a lie. Add notes on upgrading.Daniel Dunbar2009-07-251-1/+24
| | | | llvm-svn: 77050
* Initial update to VMCore to use Twines for string arguments.Daniel Dunbar2009-07-2519-276/+392
| | | | | | | - The only meat here is in Value.{h,cpp} the rest is essential 'const std::string &' -> 'const Twine &'. llvm-svn: 77048
* Semantic checking for main().John McCall2009-07-2512-4/+134
| | | | | | | Fix some invalid main() methods in the test suite that were nicely exposed by the new checks. llvm-svn: 77047
* Flesh out the QualifierSet API.John McCall2009-07-251-0/+24
| | | | llvm-svn: 77046
* Fix 80-col violations.Eric Christopher2009-07-251-5/+8
| | | | llvm-svn: 77045
* Move ExtractElementInst to ::Create instead of new. Update all uses.Eric Christopher2009-07-257-18/+28
| | | | llvm-svn: 77044
* Update to new syntax.Dan Gohman2009-07-251-2/+2
| | | | llvm-svn: 77043
* Rewrite examples to use DEBUG instead of DOUT.Daniel Dunbar2009-07-251-5/+5
| | | | llvm-svn: 77042
* 80 col violation.Evan Cheng2009-07-251-1/+2
| | | | llvm-svn: 77041
* Tweak svn:ignoreDaniel Dunbar2009-07-250-0/+0
| | | | llvm-svn: 77040
* Convert a few more things to use raw_ostream.Dan Gohman2009-07-256-44/+42
| | | | llvm-svn: 77039
* More work on the constant struct builder. We can now convert the struct to a ↵Anders Carlsson2009-07-251-3/+40
| | | | | | packed struct when necessary. llvm-svn: 77038
* Get rid of a couple of unnecessary getOpcode calls.Evan Cheng2009-07-252-2/+2
| | | | llvm-svn: 77035
* Teach ScalarEvolution to make use of no-overflow flags whenDan Gohman2009-07-252-2/+77
| | | | | | analyzing add recurrences. llvm-svn: 77034
* Convert a few more uses of llvm/Support/Streams.h to raw_ostream.Dan Gohman2009-07-254-27/+21
| | | | llvm-svn: 77033
* Instead of eagerly creating new SCEVs to replace all SCEVs that areDan Gohman2009-07-253-178/+84
| | | | | | | | | | | | affected after a PHI node has been analyzed, just remove affected SCEVs from the Scalars map, so that they'll be (lazily) recreated as needed. This avoids creating SCEV objects that aren't actually needed. Also, rewrite the associated def-use walking code to be non-recursive and to continue traversing past Instructions that don't have an entry in the Scalars map. llvm-svn: 77032
OpenPOWER on IntegriCloud