[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / RISCV / elf-flags.s
blob7e17377b34d519dba2c67600021eaced2ccea1cb
1 # RUN: llvm-mc -triple=riscv32 -filetype=obj < %s | llvm-readobj --file-headers - | FileCheck -check-prefixes=CHECK-RVI %s
2 # RUN: llvm-mc -triple=riscv64 -filetype=obj < %s | llvm-readobj --file-headers - | FileCheck -check-prefixes=CHECK-RVI %s
3 # RUN: llvm-mc -triple=riscv32 -mattr=+c -filetype=obj < %s | llvm-readobj --file-headers - | FileCheck -check-prefixes=CHECK-RVIC %s
4 # RUN: llvm-mc -triple=riscv64 -mattr=+c -filetype=obj < %s | llvm-readobj --file-headers - | FileCheck -check-prefixes=CHECK-RVIC %s
5 # RUN: llvm-mc -triple=riscv32 -mattr=+e -filetype=obj < %s \
6 # RUN: | llvm-readobj --file-headers - \
7 # RUN: | FileCheck -check-prefix=CHECK-RVE %s
9 # CHECK-RVI: Flags [ (0x0)
10 # CHECK-RVI-NEXT: ]
12 # CHECK-RVIC: Flags [ (0x1)
13 # CHECK-RVIC-NEXT: EF_RISCV_RVC (0x1)
14 # CHECK-RVIC-NEXT: ]
16 # CHECK-RVE: Flags [ (0x8)
17 # CHECK-RVE-NEXT: EF_RISCV_RVE (0x8)
18 # CHECK-RVE-NEXT: ]
20 nop