This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen] Fixed undeclared MISchedCutoff in case of NDEBUG and LLVM_ENABLE_ABI_BREAKING_CHECKS
ClosedPublic

Authored by slydiman on Jul 23 2022, 8:58 AM.

Details

Summary

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.

Diff Detail

Event Timeline

slydiman created this revision.Jul 23 2022, 8:58 AM
slydiman requested review of this revision.Jul 23 2022, 8:58 AM
slydiman updated this revision to Diff 447077.Jul 23 2022, 9:21 AM
slydiman retitled this revision from [CodeGen] Fixed undeclared MISchedCutoff to [CodeGen] Fixed undeclared MISchedCutoff in case of NDEBUG.Jul 23 2022, 9:33 AM
slydiman retitled this revision from [CodeGen] Fixed undeclared MISchedCutoff in case of NDEBUG to [CodeGen] Fixed undeclared MISchedCutoff in case of NDEBUG and LLVM_ENABLE_ABI_BREAKING_CHECKS.Jul 23 2022, 11:18 AM
slydiman edited the summary of this revision. (Show Details)
RKSimon accepted this revision.Jul 30 2022, 5:58 AM

LGTM

This revision is now accepted and ready to land.Jul 30 2022, 5:58 AM
This revision was landed with ongoing or failed builds.Jul 30 2022, 9:25 AM
This revision was automatically updated to reflect the committed changes.