llvm-for-llvmta/test/TableGen/pset-enum.td

12 lines
517 B
TableGen
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
// RUN: llvm-tblgen -gen-register-info -I %p/../../include -I %p/Common %s | FileCheck %s
// RUN: llvm-tblgen -gen-register-info -I %p/../../include -I %p/Common -DUSE_NAMESPACE %s | FileCheck --check-prefixes=CHECK,NAMESPACE %s
include "reg-with-subregs-common.td"
// CHECK-LABEL: // Register pressure sets enum.
// NAMESPACE-NEXT: namespace TestNamespace {
// CHECK-NEXT: enum RegisterPressureSets {
// CHECK-NEXT: GPR32 = 0,
// CHECK-NEXT: };
// NAMESPACE-NEXT: } // end namespace TestNamespace