You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
545 B
19 lines
545 B
// RUN: not llvm-tblgen -gen-subtarget -I %p/../../include %s 2>&1 | FileCheck %s -DFILE=%s
|
|
|
|
include "llvm/Target/Target.td"
|
|
|
|
def TestTarget : Target;
|
|
|
|
// CHECK: [[FILE]]:[[@LINE+1]]:1: error: No schedule information for instruction 'TestInst' in SchedMachineModel 'TestSchedModel'
|
|
def TestInst : Instruction {
|
|
let OutOperandList = (outs);
|
|
let InOperandList = (ins);
|
|
bits<8> Inst = 0b00101010;
|
|
}
|
|
|
|
def TestSchedModel : SchedMachineModel {
|
|
let CompleteModel = 1;
|
|
}
|
|
|
|
def TestProcessor : ProcessorModel<"testprocessor", TestSchedModel, []>;
|