[all-commits] [llvm/llvm-project] 16978d: [TableGen] Fix reporting from CodeGenSchedModels::...

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Tue Feb 1 09:34:39 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 16978d853bb820a73ce36ac736130f061d0a3edc
      https://github.com/llvm/llvm-project/commit/16978d853bb820a73ce36ac736130f061d0a3edc
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2022-02-01 (Tue, 01 Feb 2022)

  Changed paths:
    M llvm/utils/TableGen/CodeGenSchedule.cpp

  Log Message:
  -----------
  [TableGen] Fix reporting from CodeGenSchedModels::checkCompleteness().

Make the check for a complete SchedModel work as expected: report any
supported instruction not having scheduler info.

For unclear reasons there was a variable 'HadCompleteModel' that caused
e.g. new instructions for a new subtarget not to be reported. This variable
is now simply removed as all in-tree targets seem to build fine without it.

Review: Simon Pilgrim

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




More information about the All-commits mailing list