[SchedModel] Complete models shouldn't match against itineraries when they don't...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 5 Apr 2018 13:11:36 +0000 (13:11 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 5 Apr 2018 13:11:36 +0000 (13:11 +0000)
commit1d793b8ac545344265f6ec3fa58fc37e186833a7
treed5a6de96bf8f053801cced8ae5530e377bbeb4db
parent8eda4b0dc0ace4e77d781dc7d30771c256f51dbc
[SchedModel] Complete models shouldn't match against itineraries when they don't use them (PR35639)

For schedule models that don't use itineraries, checkCompleteness still checks that an instruction has a matching itinerary instead of skipping and going straight to matching the InstRWs. That doesn't seem to match what happens in TargetSchedule.cpp

This patch causes problems for a number of models that had been incorrectly flagged as complete.

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

llvm-svn: 329280
llvm/lib/Target/AMDGPU/SISchedule.td
llvm/lib/Target/Mips/MipsScheduleGeneric.td
llvm/lib/Target/Mips/MipsScheduleP5600.td
llvm/lib/Target/PowerPC/PPCScheduleP9.td
llvm/utils/TableGen/CodeGenSchedule.cpp