projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Disable Execution Engine tests not supported by Hexagon.
[oota-llvm.git]
/
test
/
TableGen
/
math.td
1
// RUN: llvm-tblgen %s | FileCheck %s
2
3
class Int<int value> {
4
int Value = value;
5
}
6
7
def v1024 : Int<1024>;
8
// CHECK: def v1024
9
// CHECK: Value = 1024
10
11
def v1025 : Int<!add(v1024.Value, 1)>;
12
// CHECK: def v1025
13
// CHECK: Value = 1025
14
15
def v2048 : Int<!add(v1024.Value, v1024.Value)>;
16
// CHECK: def v2048
17
// CHECK: Value = 2048
18