[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / TableGen / rc-weight-override.td
blob0a71192ff8bd0890eb770d484c1e90d7ba180db0
1 // RUN: llvm-tblgen -gen-register-info -I %p/../../include -I %p/Common %s | FileCheck %s
3 include "reg-with-subregs-common.td"
5 // CHECK-LABEL: static const RegClassWeight RCWeightTable[] = {
6 // CHECK: {1, 256}, // GPR32
7 // CHECK: {2, 256}, // GPR_64
9 // CHECK: {0, 256}, // GPR_64_W0
10 def GPR_64_W0 : RegisterClass<"", [v2i32], 64, (add GPR64)> {
11   let Weight = 0;
14 // CHECK: {1, 256}, // GPR_64_W1
15 def GPR_64_W1 : RegisterClass<"", [v2i32], 64, (add GPR64)> {
16   let Weight = 1;
19 // CHECK: {8, 256}, // GPR_64_W8
20 def GPR_64_W8 : RegisterClass<"", [v2i32], 64, (add GPR64)> {
21   let Weight = 8;
24 // CHECK: {32, 256}, // GPR_1024