mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-18 18:42:46 +02:00
[MachineVerifier] Simplify and delete LLVM_VERIFY_MACHINEINSTRS from a comment. NFC
The environment variable has been unused since r228079.
This commit is contained in:
parent
0507f61bd2
commit
274a5fbacd
@ -16,10 +16,8 @@
|
||||
// Register live intervals: Registers must be defined only once, and must be
|
||||
// defined before use.
|
||||
//
|
||||
// The machine code verifier is enabled from LLVMTargetMachine.cpp with the
|
||||
// command-line option -verify-machineinstrs, or by defining the environment
|
||||
// variable LLVM_VERIFY_MACHINEINSTRS to the name of a file that will receive
|
||||
// the verifier errors.
|
||||
// The machine code verifier is enabled with the command-line option
|
||||
// -verify-machineinstrs.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/ADT/BitVector.h"
|
||||
@ -376,13 +374,11 @@ unsigned MachineVerifier::verify(MachineFunction &MF) {
|
||||
if (isFunctionFailedISel)
|
||||
return foundErrors;
|
||||
|
||||
isFunctionRegBankSelected =
|
||||
!isFunctionFailedISel &&
|
||||
MF.getProperties().hasProperty(
|
||||
MachineFunctionProperties::Property::RegBankSelected);
|
||||
isFunctionSelected = !isFunctionFailedISel &&
|
||||
MF.getProperties().hasProperty(
|
||||
MachineFunctionProperties::Property::Selected);
|
||||
isFunctionRegBankSelected = MF.getProperties().hasProperty(
|
||||
MachineFunctionProperties::Property::RegBankSelected);
|
||||
isFunctionSelected = MF.getProperties().hasProperty(
|
||||
MachineFunctionProperties::Property::Selected);
|
||||
|
||||
LiveVars = nullptr;
|
||||
LiveInts = nullptr;
|
||||
LiveStks = nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user