repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-core.git]
/
test
/
MC
/
AsmParser
/
ifb.s
blob
48d69f4fc2b3ea1ffbd4d92fa05e4699dff4cec5
1
# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
2
3
defined
:
4
5
# CHECK-NOT: .byte 0
6
# CHECK: .byte 1
7
.ifb
8
.byte 1
9
.else
10
.byte 0
11
.endif
12
13
# CHECK-NOT: .byte 0
14
# CHECK: .byte 1
15
.ifb defined
16
.byte 0
17
.else
18
.byte 1
19
.endif
20
21
# CHECK-NOT: .byte 0
22
# CHECK: .byte 1
23
.ifb undefined
24
.byte 0
25
.else
26
.byte 1
27
.endif
28
29
# CHECK-NOT: .byte 0
30
# CHECK: .byte 1
31
.ifb
""
32
.byte 0
33
.else
34
.byte 1
35
.endif
36
37
# CHECK-NOT: .byte 0
38
# CHECK: .byte 1
39
.ifnb
40
.byte 0
41
.else
42
.byte 1
43
.endif
44
45
# CHECK-NOT: .byte 0
46
# CHECK: .byte 1
47
.ifnb defined
48
.byte 1
49
.else
50
.byte 0
51
.endif
52
53
# CHECK-NOT: .byte 0
54
# CHECK: .byte 1
55
.ifnb undefined
56
.byte 1
57
.else
58
.byte 0
59
.endif
60
61
# CHECK-NOT: .byte 0
62
# CHECK: .byte 1
63
.ifnb
""
64
.byte 1
65
.else
66
.byte 0
67
.endif