Re-land [openmp] Fix warnings when building on Windows with latest MSVC or Clang...
[llvm-project.git] / llvm / test / TableGen / usevalname.td
blobd85b98ac33e6438a5db008965d0c12f98ca93499
1 // RUN: llvm-tblgen %s | FileCheck %s
2 // XFAIL: vg_leak
4 class Instr<list<dag> pat> {
5   list<dag> Pattern = pat;
8 class Reg {
9   int a = 3;
12 def VR128 : Reg;
13 def mem_frag;
14 def set;
15 def addr;
16 def shufp : Reg;
18 multiclass shuffle<Reg RC> {
19   def rri : Instr<[(set RC:$dst, (shufp:$src3
20                                        RC:$src1, RC:$src2))]>;
23 // CHECK: shufp:src3
24 defm ADD : shuffle<VR128>;