1 // RUN: not llvm-tblgen -gen-subtarget -I %p/../../include %s 2>&1 | FileCheck %s -DFILE=%s
3 include "llvm/Target/Target.td"
5 def TestTarget : Target;
7 // CHECK: [[FILE]]:[[@LINE+1]]:5: error: No schedule information for instruction 'TestInst' in SchedMachineModel 'TestSchedModel'
8 def TestInst : Instruction {
9 let OutOperandList = (outs);
10 let InOperandList = (ins);
11 bits<8> Inst = 0b00101010;
14 def TestSchedModel : SchedMachineModel {
15 let CompleteModel = 1;
18 def TestProcessor : ProcessorModel<"testprocessor", TestSchedModel, []>;