repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Heuristic: If the number of operands in the alias are more than the number of
[llvm/stm8.git]
/
test
/
TableGen
/
usevalname.td
blob
1b31c8f15061eab61cc61300f9e13b8db6dd7604
1
// RUN: tblgen %s | FileCheck %s
2
// XFAIL: vg_leak
3
4
class Instr<list<dag> pat> {
5
list<dag> Pattern = pat;
6
}
7
8
class Reg {
9
int a = 3;
10
}
11
12
def VR128 : Reg;
13
def mem_frag;
14
def set;
15
def addr;
16
def shufp : Reg;
17
18
multiclass shuffle<Reg RC> {
19
def rri : Instr<[(set RC:$dst, (shufp:$src3
20
RC:$src1, RC:$src2))]>;
21
}
22
23
// CHECK: shufp:src3
24
defm ADD : shuffle<VR128>;