summaryrefslogtreecommitdiffstats
path: root/llvm/test/BugPoint
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert "DI: Fold constant arguments into a single MDString""Duncan P. N. Exon Smith2014-10-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | This reverts commit r218918, effectively reapplying r218914 after fixing an Ocaml bindings test and an Asan crash. The root cause of the latter was a tightened-up check in `DILexicalBlock::Verify()`, so I'll file a PR to investigate who requires the loose check (and why). Original commit message follows. -- This patch addresses the first stage of PR17891 by folding constant arguments together into a single MDString. Integers are stringified and a `\0` character is used as a separator. Part of PR17891. Note: I've attached my testcases upgrade scripts to the PR. If I've just broken your out-of-tree testcases, they might help. llvm-svn: 219010
* Revert "DI: Fold constant arguments into a single MDString"Duncan P. N. Exon Smith2014-10-021-3/+3
| | | | | | This reverts commit r218914 while I investigate some bots. llvm-svn: 218918
* DI: Fold constant arguments into a single MDStringDuncan P. N. Exon Smith2014-10-021-3/+3
| | | | | | | | | | | | | This patch addresses the first stage of PR17891 by folding constant arguments together into a single MDString. Integers are stringified and a `\0` character is used as a separator. Part of PR17891. Note: I've attached my testcases upgrade scripts to the PR. If I've just broken your out-of-tree testcases, they might help. llvm-svn: 218914
* llvm/test/BugPoint/compile-custom.ll: Use explicit %python to invoke a test ↵NAKAMURA Takumi2014-07-111-1/+1
| | | | | | script, compile-custom.ll.py, for shebang-incapable hosts. llvm-svn: 212820
* Revert r206989, "Mark llvm/test/BugPoint/compile-custom.ll as ↵NAKAMURA Takumi2014-04-271-2/+0
| | | | | | XFAIL:vg_leak." It has been fixed since r207265. llvm-svn: 207355
* Mark llvm/test/BugPoint/compile-custom.ll as XFAIL:vg_leak.NAKAMURA Takumi2014-04-231-0/+2
| | | | llvm-svn: 206989
* llvm/test/BugPoint/compile-custom.ll.py: Make it py3-compatible. [PR19112]NAKAMURA Takumi2014-03-131-1/+1
| | | | | | | FIXME: Get rid of invoking this. I guess it wouldn't run on win32 due to lacking of shell support. llvm-svn: 203740
* [bugpoint] Add testcase for r203343.Adam Nemet2014-03-102-0/+22
| | | | llvm-svn: 203472
* Debug Info: update testing cases to specify the debug info version number.Manman Ren2013-11-231-6/+9
| | | | | | | | | | We are going to drop debug info without a version number or with a different version number, to make sure we don't crash when we see bitcode files with different debug info metadata format. Make tests more robust by removing hard-coded metadata numbers in CHECK lines. llvm-svn: 195535
* [tests] Cleanup initialization of test suffixes.Daniel Dunbar2013-08-161-1/+0
| | | | | | | | | | | | | | | | | - Instead of setting the suffixes in a bunch of places, just set one master list in the top-level config. We now only modify the suffix list in a few suites that have one particular unique suffix (.ml, .mc, .yaml, .td, .py). - Aside from removing the need for a bunch of lit.local.cfg files, this enables 4 tests that were inadvertently being skipped (one in Transforms/BranchFolding, a .s file each in DebugInfo/AArch64 and CodeGen/PowerPC, and one in CodeGen/SI which is now failing and has been XFAILED). - This commit also fixes a bunch of config files to use config.root instead of older copy-pasted code. llvm-svn: 188513
* Debug Info Finder|Verifier: handle DbgLoc attached to instructions.Manman Ren2013-08-061-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also remove checking of llvm.dbg.sp since it is not used in generating dwarf. Current state of Finder: DebugInfoFinder tries to list all debug info MDNodes used in a module. To list debug info MDNodes used by an instruction, DebugInfoFinder provides processDeclare, processValue and processLocation to handle DbgDeclareInst, DbgValueInst and DbgLoc attached to instructions. processModule will go through all DICompileUnits in llvm.dbg.cu and list debug info MDNodes used by the CUs. TODO: 1> Finder has a list of CUs, SPs, Types, Scopes and global variables. We need to add a list of variables that are used by DbgDeclareInst and DbgValueInst. 2> MDString fields should be null or isa<MDString> and MDNode fields should be null or isa<MDNode>. We currently use empty string or int 0 to represent null. 3> Go though Verify functions and make sure that they check field types. 4> Clean up existing testing cases to remove llvm.dbg.sp and make sure each testing case has a llvm.dbg.cu. Re-apply r187609 with fix to pass ocaml binding. vmcore.ml generates a debug location with scope being metadata !{}, in verifier we treat this as a null scope. llvm-svn: 187812
* Remove "lto_on_osx" xfails, now that -rdynamic works on Darwin.Bob Wilson2013-08-043-3/+0
| | | | | | | Note that this will require a recent version of the linker for Darwin builds with LTO to pass these tests. llvm-svn: 187711
* Temporarily revert "Debug Info Finder|Verifier: handle DbgLoc attached toEric Christopher2013-08-021-8/+4
| | | | | | | | instructions." in an attempt to bring back some bots. This reverts commit r187609. llvm-svn: 187638
* Debug Info Finder|Verifier: handle DbgLoc attached to instructions.Manman Ren2013-08-011-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | Also remove checking of llvm.dbg.sp since it is not used in generating dwarf. Current state of Finder: DebugInfoFinder tries to list all debug info MDNodes used in a module. To list debug info MDNodes used by an instruction, DebugInfoFinder provides processDeclare, processValue and processLocation to handle DbgDeclareInst, DbgValueInst and DbgLoc attached to instructions. processModule will go through all DICompileUnits in llvm.dbg.cu and list debug info MDNodes used by the CUs. TODO: 1> Finder has a list of CUs, SPs, Types, Scopes and global variables. We need to add a list of variables that are used by DbgDeclareInst and DbgValueInst. 2> MDString fields should be null or isa<MDString> and MDNode fields should be null or isa<MDNode>. We currently use empty string or int 0 to represent null. 3> Go though Verify functions and make sure that they check field types. 4> Clean up existing testing cases to remove llvm.dbg.sp and make sure each testing case has a llvm.dbg.cu. llvm-svn: 187609
* Fix unexpected passes. These test do work with LTO on linux. I tested bothRafael Espindola2012-10-263-3/+3
| | | | | | a cmake and an autoconf build. llvm-svn: 166748
* Mark bugpoint tests with XFAIL when building with LTO. <rdar://problem/12473675>Bob Wilson2012-10-183-0/+3
| | | | | | | | The LTO Internalize pass is hiding symbols needed by the bugpoint-passes plug-in. We need to add a flag to control whether Internalize should be run. This is a temporary workaround to make these tests pass in the meantime. llvm-svn: 166239
* Replace all instances of dg.exp file with lit.local.cfg, since all tests are ↵Eli Bendersky2012-02-162-3/+1
| | | | | | | | run with LIT now and now Dejagnu. dg.exp is no longer needed. Patch reviewed by Daniel Dunbar. It will be followed by additional cleanup patches. llvm-svn: 150664
* test: Check the feature 'loadable_module' with load modules in %llvmshlibdir.NAKAMURA Takumi2010-11-293-8/+6
| | | | | | %llvmshlibdir should be 'bin' on Cygming. llvm-svn: 120282
* XFAIL this on mingw, following remove_arguments_test.ll.Dan Gohman2010-08-241-0/+1
| | | | llvm-svn: 111962
* Add a testcase for basic bugpointing in the presence of metadata.Dan Gohman2010-08-241-0/+34
| | | | llvm-svn: 111955
* XFAIL for mingw that has no plugins.Rafael Espindola2010-08-092-0/+2
| | | | llvm-svn: 110574
* Use %shlibext instead of .soRafael Espindola2010-08-082-2/+2
| | | | llvm-svn: 110529
* Move the bugpoint test passes to a plugin in preparation for having bugpointRafael Espindola2010-08-072-2/+4
| | | | | | use opt. llvm-svn: 110520
* Fix this test to work under lit.Dan Gohman2010-06-071-1/+1
| | | | llvm-svn: 105553
* Run dead type elimination after dead argument elimination.Dan Gohman2010-06-071-2/+6
| | | | llvm-svn: 105552
* Make bugpoint dead-argument-hacking actually work, and actually test it.Dan Gohman2010-06-071-0/+2
| | | | llvm-svn: 105551
* Use -output-prefix in bugpoint tests so that outputs go in temp directory (andDaniel Dunbar2009-09-072-2/+2
| | | | | | we don't race on them). llvm-svn: 81155
* remove nondeterminstic test.Chris Lattner2009-08-081-13/+0
| | | | llvm-svn: 78512
* Fix regular expression.Nick Lewycky2009-06-121-1/+1
| | | | llvm-svn: 73221
* XFAIL this on PPC Linux. This keeps showing up in the buildbot and isn't ↵Nick Lewycky2009-06-111-0/+3
| | | | | | | | easy to fix, and I'd like it to stop masking real failures. llvm-svn: 73211
* Re-commit r67334 and r67349 with fix.Evan Cheng2009-03-212-2/+2
| | | | llvm-svn: 67451
* Revert r67334 and r37349 which break "make check" on Linux.Nick Lewycky2009-03-202-2/+2
| | | | llvm-svn: 67368
* Fix typo's.Evan Cheng2009-03-201-1/+1
| | | | llvm-svn: 67349
* More makefile changes to allow dejagnu tests to pass when system tools ↵Evan Cheng2009-03-192-2/+2
| | | | | | default to a different target from the llvm configuration (e.g. 64-bit gcc and 32-bit llvm). llvm-svn: 67334
* Remove accidental check-ins in r65960. :-(Bill Wendling2009-03-031-1/+1
| | | | llvm-svn: 65961
* Use > instead of >=. We want to promote aggregates of 128-bytes.Bill Wendling2009-03-031-1/+1
| | | | llvm-svn: 65960
* this is unneeded now.Chris Lattner2008-06-161-3/+0
| | | | llvm-svn: 52298
* resolve PR2453 by adding a run line.Chris Lattner2008-06-161-2/+3
| | | | llvm-svn: 52296
* XFAIL some tests that became failing due to the extra error reporting ↵Matthijs Kooijman2008-06-131-0/+2
| | | | | | recently. PR's are created for these. llvm-svn: 52250
* Pass -silence-passes to bugpoint in testcases, this makes two out of three ↵Matthijs Kooijman2008-06-123-3/+3
| | | | | | bugpoint testcases work again. llvm-svn: 52236
* Remove llvm-upgradeTanya Lattner2008-02-171-10/+6
| | | | llvm-svn: 47231
* Convert .cvsignore filesJohn Criswell2007-06-291-5/+0
| | | | llvm-svn: 37801
* For PR1319:Reid Spencer2007-04-151-2/+2
| | | | | | Update to new Tcl exec based test harness. llvm-svn: 36068
* Update tests for the disappearance of -idom.Owen Anderson2007-04-151-8/+0
| | | | llvm-svn: 36064
* Make the llvm-runtest function much more amenable by eliminating all theReid Spencer2007-04-111-1/+1
| | | | | | | | global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. llvm-svn: 35918
* Remove DomSet completely. This concludes work on PR1171.Owen Anderson2007-04-081-2/+2
| | | | llvm-svn: 35775
* Ignore some things generated by bugpoint.Reid Spencer2007-04-041-0/+1
| | | | llvm-svn: 35677
* Don't upgrade these.Reid Spencer2007-03-193-20/+18
| | | | llvm-svn: 35166
* Regression is gone, don't try to find it on clean target.Reid Spencer2007-01-176-0/+54
llvm-svn: 33296
OpenPOWER on IntegriCloud