]> granicus.if.org Git - llvm/commit
Fix per-processor model scheduler definition completeness check
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Mon, 31 Oct 2016 18:59:52 +0000 (18:59 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Mon, 31 Oct 2016 18:59:52 +0000 (18:59 +0000)
commit96c7b397448508d26c731625bdd8a6dcf3bd5081
tree1800295041c806a1099e21fe694bdd3d40bad5b9
parent588bf7bf31fc3a89d95ba381136d78d79100b929
Fix per-processor model scheduler definition completeness check

The CodeGenSchedModels::checkCompleteness routine in TableGen/
CodeGenSchedule.cpp is supposed to verify for each processor
model that is marked as "complete" that it actually defines a
scheduling class for each instruction.

However, this did not work correctly due to an incorrect
check whether a scheduling class has an itinerary.

Reviewer: atrick
Differential revision: https://reviews.llvm.org/D26156

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285622 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/CodeGenSchedule.cpp