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
/
ELF
/
bracket-exprs.s
blob
e7299fde700920d1ffdd4a3d96fe09f348c4a3d9
1
//
RUN
:
llvm-mc
-
triple i386-unknown-unknown
%
s | FileCheck
%
s
2
3
//
CHECK
:
.byte 1
4
.if [~0 >> 63] == 1
5
.byte 1
6
.else
7
.byte 2
8
.endif
9
10
//
CHECK
:
.byte 3
11
.if 4 * [4 + (3 + [2 * 2] + 1)] == 48
12
.byte 3
13
.else
14
.byte 4
15
.endif