projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[PM] Port SROA to the new pass manager.
[oota-llvm.git]
/
test
/
TableGen
/
eq.td
1
// RUN: llvm-tblgen %s | FileCheck %s
2
// XFAIL: vg_leak
3
// CHECK: Value = 0
4
// CHECK: Value = 1
5
6
class Base<int V> {
7
int Value = V;
8
}
9
10
class Derived<string Truth> :
11
Base<!if(!eq(Truth, "true"), 1, 0)>;
12
13
def TRUE : Derived<"true">;
14
def FALSE : Derived<"false">;