llvm-6502/tools
Duncan P. N. Exon Smith de89228dfb Verifier: Call verifyModule() from llc and opt
Change `llc` and `opt` to run `verifyModule()`.  This ensures that we
check the full module before `FunctionPass::doInitialization()` ever
gets called (I was getting crashes in `DwarfDebug` instead of verifier
failures when testing a WIP patch that checks operands of compile
units).  In `opt`, also move up debug-info-stripping so that it still
runs before verification.

There was a fair bit of broken code that was sitting in tree.
Interestingly, some were cases of a `select` that referred to itself in
`-instcombine` tests (apparently an intermediate result).  I split them
off to `*-noverify.ll` tests with RUN lines like this:

    opt < %s -S -disable-verify -instcombine | opt -S | FileCheck %s

This avoids verifying the input file (so we can get the broken code into
`-instcombine), but still verifies the output with a second call to
`opt` (to verify that `-instcombine` will clean it up like it should).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233432 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-27 22:04:28 +00:00
..
bugpoint bugpoint: Verify input files 2015-03-26 05:03:10 +00:00
bugpoint-passes
dsymutil Don't declare all text sections at the start of the .s 2015-03-20 20:00:01 +00:00
gold Work around pr23045 and make it easier to reproduce. 2015-03-27 15:55:06 +00:00
llc Verifier: Call verifyModule() from llc and opt 2015-03-27 22:04:28 +00:00
lli [Orc] Remove another unnecessary typedef. 2015-03-25 12:32:36 +00:00
llvm-ar Purge unused includes throughout libSupport. 2015-03-23 18:07:13 +00:00
llvm-as
llvm-bcanalyzer
llvm-c-test
llvm-config
llvm-cov llvm-cov: Require a subcommand when invoked as llvm-cov 2015-03-24 23:34:36 +00:00
llvm-cxxdump Purge unused includes throughout libSupport. 2015-03-23 18:07:13 +00:00
llvm-diff
llvm-dis
llvm-dwarfdump
llvm-extract
llvm-go
llvm-jitlistener llvm-jitlistener: Add missing include. 2015-03-25 17:12:36 +00:00
llvm-link Work around pr23045 and make it easier to reproduce. 2015-03-27 15:55:06 +00:00
llvm-lto
llvm-mc Don't declare all text sections at the start of the .s 2015-03-20 20:00:01 +00:00
llvm-mcmarkup
llvm-nm Cleanup else-after-return and add an early-return to llvm-nm 2015-03-23 21:17:43 +00:00
llvm-objdump [MCInstPrinter] Enable MCInstPrinter to change its behavior based on the 2015-03-27 20:36:02 +00:00
llvm-pdbdump
llvm-profdata Purge unused includes throughout libSupport. 2015-03-23 18:07:13 +00:00
llvm-readobj [llvm-readobj] add support for macho universal binary. 2015-03-24 20:26:55 +00:00
llvm-rtdyld
llvm-shlib Raising minimum required CMake version to 2.8.12.2. 2015-03-23 20:03:57 +00:00
llvm-size
llvm-stress
llvm-symbolizer Purge unused includes throughout libSupport. 2015-03-23 18:07:13 +00:00
lto
macho-dump
msbuild
obj2yaml
opt Verifier: Call verifyModule() from llc and opt 2015-03-27 22:04:28 +00:00
verify-uselistorder Purge unused includes throughout libSupport. 2015-03-23 18:07:13 +00:00
yaml2obj
CMakeLists.txt
LLVMBuild.txt
Makefile