repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ThinLTO] Add code comment. NFC
[llvm-complete.git]
/
test
/
TableGen
/
ClassInstanceValue.td
blob
b6c4c93cb09621a61fd352baffb19d258ad69c46
1
// RUN: llvm-tblgen %s | FileCheck %s
2
// XFAIL: vg_leak
3
4
class Struct<int i> {
5
int I = !shl(i, 1);
6
int J = !shl(I, 1);
7
}
8
9
class Class<Struct s> {
10
int Class_J = s.J;
11
}
12
13
multiclass MultiClass<int i> {
14
def Def : Class<Struct<i>>;
15
// CHECK: Class_J = 8
16
// CHECK-NOT: Class_J = !shl(I, 1)
17
}
18
19
defm Defm : MultiClass<2>;