repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
TableGen
/
ifbit.td
blob
18797cac11075aef1c4ac35ef4d6ff4422f48b88
1
// RUN: llvm-tblgen %s | FileCheck %s
2
// XFAIL: vg_leak
3
// CHECK: a = 6
4
// CHECK: a = 5
5
6
class A<bit b = 1> {
7
int a = !if(b, 5, 6);
8
bit c = !if(b, 0, 1);
9
bits<1> d = !if(b, 0, 1);
10
}
11
12
def X : A<0>;
13
def Y : A;