[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / ELF / bracket-exprs.s
blobe7299fde700920d1ffdd4a3d96fe09f348c4a3d9
1 // RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
3 // CHECK: .byte 1
4 .if [~0 >> 63] == 1
5 .byte 1
6 .else
7 .byte 2
8 .endif
10 // CHECK: .byte 3
11 .if 4 * [4 + (3 + [2 * 2] + 1)] == 48
12 .byte 3
13 .else
14 .byte 4
15 .endif