Remove a gross usage of environment variables in MachineVerifier, replacing it with...
authorOwen Anderson <resistor@mac.com>
Wed, 4 Feb 2015 00:02:59 +0000 (00:02 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 4 Feb 2015 00:02:59 +0000 (00:02 +0000)
commita657cab9eca2728fdfc87aee8255cb17273e35a5
tree51a6efe84e0b6d4646519b9bc276449deb0f0948
parentbf67bfe6bbe485cc90b74674cb3752c171bb3e4c
Remove a gross usage of environment variables in MachineVerifier, replacing it with support for setting the -verify-machineinstrs flag via an environment variable in LIT.

This preserves the handy functionality of force-enabling the MachineVerifier, without the need to embed usage of environment variables in LLVM client applications.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228079 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineVerifier.cpp
lib/CodeGen/Passes.cpp
test/lit.cfg