[all-commits] [llvm/llvm-project] adc387: [CodeGen] Fixed undeclared MISchedCutoff in case o...

Dmitry Vasilyev via All-commits all-commits at lists.llvm.org
Sat Jul 30 09:25:25 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: adc387460d85a371d111bcd3e08fdc8d4f26ddd5
  Author: Dmitry Vassiliev <dvassiliev at accesssoftek.com>
  Date:   2022-07-30 (Sat, 30 Jul 2022)

  Changed paths:
    M llvm/lib/CodeGen/MachineScheduler.cpp

  Log Message:
  [CodeGen] Fixed undeclared MISchedCutoff in case of NDEBUG and LLVM_ENABLE_ABI_BREAKING_CHECKS

This patch fixes the error llvm/lib/CodeGen/MachineScheduler.cpp(755): error C2065: 'MISchedCutoff': undeclared identifier in case of NDEBUG and LLVM_ENABLE_ABI_BREAKING_CHECKS.
Note MISchedCutoff is declared under #ifndef NDEBUG.

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D130425

More information about the All-commits mailing list