summaryrefslogtreecommitdiffstats
path: root/llvm/test/BugPoint/remove_arguments_test.ll
Commit message (Collapse)AuthorAgeFilesLines
* [Bugpoint] Only run plugins tests if plugins are enabledPetr Hosek2019-05-171-1/+1
| | | | | | | | This is a followup to r360991 which applies the same logic to LLVM. Differential Revision: https://reviews.llvm.org/D62050 llvm-svn: 360993
* [bugpoint] Find 'opt', etc., in bugpoint directoryBrian Gesiak2018-12-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: When bugpoint attempts to find the other executables it needs to run, such as `opt` or `clang`, it tries searching the user's PATH. However, in many cases, the 'bugpoint' executable is part of an LLVM build, and the 'opt' executable it's looking for is in that same directory. Many LLVM tools handle this case by using the `Paths` parameter of `llvm::sys::findProgramByName`, passing the parent path of the currently running executable. Do this same thing for bugpoint. However, to preserve the current behavior exactly, first search the user's PATH, and then search for 'opt' in the directory containing 'bugpoint'. Test Plan: `check-llvm`. Many of the existing bugpoint tests no longer need to use the `--opt-command` option as a result of these changes. Reviewers: MatzeB, silvas, davide Reviewed By: MatzeB, davide Subscribers: davide, llvm-commits Differential Revision: https://reviews.llvm.org/D54884 llvm-svn: 348734
* [bugpoint] Avoid noisy errors by passing a valid opt to testsVedant Kumar2018-02-091-1/+1
| | | | | | | If the tests don't use the in-tree opt, we're liable to see some silly error messages due to the version mismatch (missing flags, etc). llvm-svn: 324703
* Make the default triple optional by allowing an empty stringMehdi Amini2015-09-161-1/+1
| | | | | | | | | | | | | | | When building LLVM as a (potentially dynamic) library that can be linked against by multiple compilers, the default triple is not really meaningful. We allow to explicitely set it to an empty string when configuring LLVM. In this case, said "target independent" tests in the test suite that are using the default triple are disabled by matching the newly available feature "default_triple". Reviewers: probinson, echristo Differential Revision: http://reviews.llvm.org/D12660 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 247775
* Fix typo in commentTobias Grosser2015-07-261-2/+2
| | | | llvm-svn: 243244
* Remove "lto_on_osx" xfails, now that -rdynamic works on Darwin.Bob Wilson2013-08-041-1/+0
| | | | | | | Note that this will require a recent version of the linker for Darwin builds with LTO to pass these tests. llvm-svn: 187711
* Fix unexpected passes. These test do work with LTO on linux. I tested bothRafael Espindola2012-10-261-1/+1
| | | | | | a cmake and an autoconf build. llvm-svn: 166748
* Mark bugpoint tests with XFAIL when building with LTO. <rdar://problem/12473675>Bob Wilson2012-10-181-0/+1
| | | | | | | | 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
* test: Check the feature 'loadable_module' with load modules in %llvmshlibdir.NAKAMURA Takumi2010-11-291-3/+2
| | | | | | %llvmshlibdir should be 'bin' on Cygming. llvm-svn: 120282
* XFAIL for mingw that has no plugins.Rafael Espindola2010-08-091-0/+1
| | | | llvm-svn: 110574
* Use %shlibext instead of .soRafael Espindola2010-08-081-1/+1
| | | | llvm-svn: 110529
* Move the bugpoint test passes to a plugin in preparation for having bugpointRafael Espindola2010-08-071-1/+2
| | | | | | 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-071-1/+1
| | | | | | we don't race on them). llvm-svn: 81155
* Re-commit r67334 and r67349 with fix.Evan Cheng2009-03-211-1/+1
| | | | llvm-svn: 67451
* Revert r67334 and r37349 which break "make check" on Linux.Nick Lewycky2009-03-201-1/+1
| | | | llvm-svn: 67368
* More makefile changes to allow dejagnu tests to pass when system tools ↵Evan Cheng2009-03-191-1/+1
| | | | | | default to a different target from the llvm configuration (e.g. 64-bit gcc and 32-bit llvm). llvm-svn: 67334
* Pass -silence-passes to bugpoint in testcases, this makes two out of three ↵Matthijs Kooijman2008-06-121-1/+1
| | | | | | bugpoint testcases work again. llvm-svn: 52236
* Don't upgrade these.Reid Spencer2007-03-191-7/+8
| | | | llvm-svn: 35166
* Regression is gone, don't try to find it on clean target.Reid Spencer2007-01-171-0/+10
llvm-svn: 33296
OpenPOWER on IntegriCloud