1 // RUN: not llvm-tblgen -gen-register-info -I %p/../../include -I %p/Common %s 2>&1 | FileCheck %s
3 // Negative test to check empty Psets for a target.
5 include "llvm/Target/Target.td"
9 def R_32 : RegisterClass<"MyTarget", [i32], 32, (add R)> {
10 let GeneratePressureSet = 0;
13 def MyTarget : Target;
15 // CHECK: error: RegUnitSets cannot be empty!