Commit 941f20c3 authored by Fangrui Song's avatar Fangrui Song
Browse files

[MachineVerifier] Simplify and delete LLVM_VERIFY_MACHINEINSTRS from a comment. NFC

The environment variable has been unused since r228079.
parent b780df05
Loading
Loading
Loading
Loading
+7 −11
Original line number Diff line number Diff line
@@ -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(
  isFunctionRegBankSelected = MF.getProperties().hasProperty(
      MachineFunctionProperties::Property::RegBankSelected);
  isFunctionSelected = !isFunctionFailedISel &&
                       MF.getProperties().hasProperty(
  isFunctionSelected = MF.getProperties().hasProperty(
      MachineFunctionProperties::Property::Selected);

  LiveVars = nullptr;
  LiveInts = nullptr;
  LiveStks = nullptr;